Actions
Bug #55654
closedcephadm: adoption of osds from cluster with custom names is broken
% Done:
0%
Source:
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When trying to adopt osds from clusters with custom names the osd's old files aren't properly transferred over. This results in the osd failing with something like
May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-1/keyring: (2)> May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 AuthRegistry(0x5590d63eca40) no keyring found at /var/lib/ceph/osd/ceph> May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-1/keyring: (2)> May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 AuthRegistry(0x7ffe6cfb9dd0) no keyring found at /var/lib/ceph/osd/ceph> May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: failed to fetch mon config (--no-mon-config to skip)
This seems to be an issue with which directory in the container we mount our new data directory to.
Actions