Bug 2085478 - [RFE] cephadm - ceph orch ps - STATUS - Display time since even for `stopped` daemon
Summary: [RFE] cephadm - ceph orch ps - STATUS - Display time since even for `stopped`...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Sunil Kumar Nagaraju
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-13 12:56 UTC by Vasishta
Modified: 2023-07-05 14:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-4305 0 None None None 2022-05-13 13:08:41 UTC

Description Vasishta 2022-05-13 12:56:07 UTC
Description of problem:
Currently ceph orch ps displays time for daemons with status as running, not stopped.
It would be nice if users get to know since when it was reported as stopped also.

Version-Release number of selected component (if applicable):
16.2.7-112.el8cp

Steps to Reproduce:
1. Configure a ceph cluster.
2. observe ceph orch ps - status column - for a daemon.
3. stop the daemon.
4. observe ceph orch ps - status column.

Actual results:
[ubuntu@argo010 ~]$  sudo ceph orch ps --service-name rbd-mirror --refresh
NAME                       HOST     PORTS  STATUS   REFRESHED  AGE  MEM USE  MEM LIM  VERSION    IMAGE ID   
rbd-mirror.argo014.krgycd  argo014         stopped     3m ago  13d        -        -  <unknown>  <unknown>  


Expected results:
Display time since the status even for stopped daemon

Additional info:
[root@pluto008 ubuntu]#  sudo ceph orch ps --service-name rbd-mirror
NAME                       HOST     PORTS  STATUS         REFRESHED  AGE  MEM USE  MEM LIM  VERSION           IMAGE ID      CONTAINER ID  
rbd-mirror.argo023.uzryxo  argo023         running (25m)     4m ago  13d     331M        -  16.2.7-112.el8cp  cf1c8f1da91f  2234862f5389


Note You need to log in before you can comment on or make changes to this bug.