Support #45270
closedafter reboot osd move to localhost
0%
Description
if my host retrieve hostname from DNS server PTR line, not set from hostnamectl set-hostname node01, i have next problem
ceph osd create
ceph osd crush add 0 5.82100 host=node01
#another work to create and start OSD... After this i can see something like this
ceph osd tree
................
-3 5.82100 host node01
0 ssd 5.82100 osd.0 up 1.00000 1.00000
.................
but if in /etc/hostname stay localhost.localdomain after reboot my osd move to other place
ceph osd tree
................
-6 5.82100 host localhost
0 ssd 5.82100 osd.0 up 1.00000 1.00000
-3 0.00000 host node01
.................
and ceph start massive migrate data.
Updated by Greg Farnum almost 4 years ago
- Tracker changed from Bug to Support
- Project changed from Ceph to RADOS
- Category deleted (
OSDMap) - Status changed from New to Resolved
I believe this has been discussed several times on the mailing list. If your OSDs don't get reliably told what their network name is, you probably want to disable the osd_crush_update_on_start config option. But fixing things up so their hostname is accurate is probably a better solution.