Project

General

Profile

Actions

Bug #50805

closed

Replacement of OSDs not working in hosts with FQDN host name

Added by Juan Miguel Olmo Martínez almost 3 years ago. Updated almost 3 years ago.

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

50%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In a host with FQDN name:

#hostname
test1.lab.com

#ceph orch osd rm 4 --replace

  1. 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
  1. 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.

Actions #1

Updated by Juan Miguel Olmo Martínez almost 3 years ago

  • % Done changed from 0 to 50
  • Pull request ID set to 41328
Actions #2

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF