Bug 1910114

Summary: [RFE] [ceph-dashboard] Host status is blank in the dashboard in the host table
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: Ceph-DashboardAssignee: Ernesto Puerta <epuertat>
Status: CLOSED NOTABUG QA Contact: Sunil Angadi <sangadi>
Severity: low Docs Contact: Anjana Suparna Sriram <asriram>
Priority: medium    
Version: 5.0CC: adking, ceph-eng-bugs, ceph-qe-bugs, sangadi, vereddy
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: 6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-06 12:34:51 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 Preethi 2020-12-22 17:42:44 UTC
Description of problem:[cephadm] 5.0 - Host status is blank in "ceph orch host ls" option 


Version-Release number of selected component (if applicable):
[root@magna106 ubuntu]# sudo cephadm version
Using recent ceph image registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest
ceph version 16.0.0-7953.el8cp (aac7c5c7d5f82d2973c366730f65255afd66e515) pacific (dev)


How reproducible:
1. Install 5.0 cluster with dashboard enabled
2. go to cephadm shell
3. verify host details and its status using ceph orch ls option
4. observe the behaviour


Actual results: Host status is blank for all the nodes in the cluster

[ceph: root@magna094 /]# ceph orch host ls
HOST      ADDR         LABELS     STATUS  
magna067  magna067     mon1               
magna073  magna073                        
magna075  magna075                        
magna076  magna076                        
magna077  magna077     mon3               
magna079  magna079                        
magna092  magna092                        
magna093  magna093     mon2               
magna094  10.8.128.94  bootstrap          
[ceph: root@magna094 /]# 

magna094
root/q





Additional info:

Comment 1 Veera Raghava Reddy 2020-12-22 19:29:15 UTC
Also ADDR shows hostname instead of IP Address for all the nodes except one.

Comment 3 Sebastian Wagner 2021-07-06 10:42:03 UTC
I think I'm not yet following you. We have to assess, whether this is worth investing the effort here.

Comment 4 Preethi 2021-07-09 08:12:31 UTC
@Sebastian, I think its good to have this.We have status option and it doesn't return any message there. We expect OK/Good instead of returning blank

[ceph: root@ceph-threetest-1624873245298-node1-installer-mon-mgr-osd-node-e /]# ceph orch host ls

HOST                                                             ADDR          LABELS                                                                     STATUS  
ceph-threetest-1624873245298-node1-installer-mon-mgr-osd-node-e  10.0.210.248  installer mon mgr osd node-exporter alertmanager grafana prometheus crash          
ceph-threetest-1624873245298-node2-osd-mon-mgr-mds-node-exporte  10.0.211.58   osd mon mgr mds node-exporter alertmanager crash rgw                               
ceph-threetest-1624873245298-node3-mon-osd-node-exporter-crash   10.0.208.62   mon osd node-exporter crash rgw mds                                                
[ceph: root@ceph-threetest-1624873245298-node1-installer-mon-mgr-osd-node-e /]#

Comment 5 Sebastian Wagner 2021-08-17 12:38:17 UTC
I think the current behavior is good as it is.

Comment 8 Sebastian Wagner 2022-01-21 11:12:38 UTC
from a ceph orchestrator perspective, having an empty status field is fine. Moving this to dashboard.