Project

General

Profile

Actions

Support #45270

closed

after reboot osd move to localhost

Added by Ilia Seleznev almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

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.

Actions #1

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.

Actions

Also available in: Atom PDF