Actions
Bug #50805
closedReplacement of OSDs not working in hosts with FQDN host name
% Done:
50%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
In a host with FQDN name:
#hostname
test1.lab.com
#ceph orch osd rm 4 --replace
- ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
...5 0.03407 host test1 <-------------------The host name in the CRUSH map appears with only the bare name
1 hdd 0.01459 osd.1 up 1.00000 1.00000
4 hdd 0.01949 osd.4 destroyed 0 1.00000
- ceph orch daemon add osd test1.lab.com:/dev/vdd
Created osd(s) 5 on host 'test1.lab.com' <--------------------------- The OSD id must be "4" not "5"
This happens because the host name in the CRUSH map appears with only the bare name, and the osd id claims pending to use are searched using the FQDN name.
Updated by Juan Miguel Olmo Martínez almost 3 years ago
- % Done changed from 0 to 50
- Pull request ID set to 41328
Actions