]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix osd adoption with custom cluster name 46552/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 1 Jun 2022 11:24:50 +0000 (13:24 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Jun 2022 13:41:12 +0000 (15:41 +0200)
commit3c76ccc403fbe4f275bb9bfa5904e2b980a66eab
tree846b760d900f1e086e0a77733edb26387c71a804
parent273eda282c780cfb0185a9a923d1700fb0dac8dc
cephadm: fix osd adoption with custom cluster name

When adopting Ceph OSD containers from a Ceph cluster with a custom name, it fails
because the name isn't propagated in unit.run.
The idea here is to change the lvm metadata and enforce 'ceph.cluster_name=ceph'
given that cephadm doesn't support custom names anyway.

Fixes: https://tracker.ceph.com/issues/55654
Signed-off-by: Adam King <adking@redhat.com>
Co-authored-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e720a658d6a1582c0497bdf709ef4bd26bb5bb73)
src/cephadm/cephadm