Bug 2069506
| Summary: | Error message not present while adding OSD with the bare hostname when node name is a FQDN | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | skanta |
| Component: | Ceph-Volume | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | CLOSED DUPLICATE | QA Contact: | Vivek Das <vdas> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.1 | CC: | adking, ceph-eng-bugs |
| Target Milestone: | --- | ||
| Target Release: | 6.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-27 03:06:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: If an OSD is added with the bare hostname when the node name is FQDN then the output does not show any message that OSD is not added to the cluster. This causes ambiguity for the customers. To check whether OSD is added or not customers need to execute one more command. Version-Release number of selected component (if applicable): [ceph: root@bruuni006 /]# ceph -v ceph version 16.2.7-95.el8cp (7d44ccc238d248069a1b7070d24b6d9e8d80367a) pacific (stable) [ceph: root@bruuni006 /]# How reproducible: Steps to Reproduce: 1. Configure a cluster without adding OSD's 2. On the cephadm shell execute "ceph orch apply osd --all-available-devices --unmanaged=true" 3. If the hostname is FQDN try to add the OSD with the bare name or if the hostname is FQDN then try to add OSD with the bare name Actual results: No message Expected results: The command should provide proper output that the OSD is not added and trye with bare name if the node name is FQDN or vice versa Additional info: The output of the command: [ceph: root@bruuni006 /]# ceph orch daemon add osd bruuni006.ceph.redhat.com:/dev/sdb Created osd(s) 0 on host 'bruuni006.ceph.redhat.com' [ceph: root@bruuni006 /]# ceph orch daemon add osd bruuni006:/dev/sdc [ceph: root@bruuni006 /]#