Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: backport of cephadm: fix osd adoption with custom cluster name #46552

Merged
merged 1 commit into from Jun 8, 2022

Conversation

guits
Copy link
Contributor

@guits guits commented Jun 7, 2022

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 e720a65)

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 e720a65)
@guits guits requested a review from a team as a code owner June 7, 2022 13:41
@guits guits changed the title cephadm: fix osd adoption with custom cluster name pacific: backport of cephadm: fix osd adoption with custom cluster name Jun 7, 2022
@github-actions github-actions bot added this to the pacific milestone Jun 7, 2022
@adk3798 adk3798 merged commit ddad3f3 into ceph:pacific Jun 8, 2022
8 checks passed
@guits guits deleted the bkp-pacific-46481 branch June 13, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants