Bug 2023334

Summary: [cephadm]5.0 - Ceph orch ls status for ports is seen with ?:port number instead of *:port number after upgrading from 5.0 to 5.1
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: CephadmAssignee: Adam King <adking>
Status: POST --- QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: medium Docs Contact: Karen Norteman <knortema>
Priority: medium    
Version: 5.0CC: saraut
Target Milestone: ---   
Target Release: 7.0   
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: 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 2021-11-15 12:37:32 UTC
Description of problem:[cephadm]5.0 - Ceph orch ls status for ports is seen with ?:port number instead of *:port number after upgrading from 5.0 to 5.1


Version-Release number of selected component (if applicable):

ceph version 16.2.6-20.el8cp (d8f09f665f2f4f981086ef006832a9251eb28322) pacific (stable)
[ceph: root@magna031 /]# 

How reproducible:


Steps to Reproduce:
1. Perform upgrade from 5.0 to 5.1 having mon,mgr,osd,rbd-mirron,iscsirgw services
2. observe ceph orch ls status once upgrade is successful

Actual results: We saw MON and MGR crash after upgrade was successful and we are tracking the issues in the BZ https://bugzilla.redhat.com/show_bug.cgi?id=1984881

post upgrade was done, we see status as below under PORT status as ? instead of *. Before upgrade we see the status as *:portnumber. Ceph orch ps reports as *:portnumber for each services.

[ceph: root@magna031 /]# ceph orch ls
NAME               PORTS        RUNNING  REFRESHED  AGE  PLACEMENT                                     
alertmanager       ?:9093,9094      1/1  88s ago    9w   count:1                                       
crash                               9/9  2m ago     9w   *                                             
grafana            ?:3000           1/1  88s ago    9w   count:1                                       
iscsi.iscsi                         4/4  2m ago     5w   depressa001;depressa002;depressa003;magna006  
mds.backup                          2/2  90s ago    5w   magna031;magna032;count:2                     
mgr                                 3/3  2m ago     9w   magna031;magna032;magna006;count:3            
mon                                 3/3  2m ago     9w   magna031;magna032;magna006;count:3            
node-exporter      ?:9100           9/9  2m ago     9w   *                                             
osd                               15/15  2m ago     -    <unmanaged>                                   
osd.osd_with_nvme                 12/15  2m ago     4w   depressa00[4-6].ceph.redhat.com               
prometheus         ?:9095           1/1  88s ago    9w   count:1                                       
rbd-mirror                          1/1  88s ago    8w   magna031                                      
rgw.foo            ?:80             2/2  2m ago     4w   count:2                                       
[ceph: root@magna031 /]# 





Expected results: We should see * instead of ? in port status for placeholder.


Additional info: magna031