Actions
Bug #44513
closedmgr/cephadm: `orch ps --refresh` returns no results
Status:
Resolved
Priority:
High
Assignee:
-
Category:
cephadm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Steps to reproduce¶
- Create services and list daemons
# bin/ceph orch ps NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID mgr.mgr0.dsnrnd mgr0 running (34m) 2m ago 34m 15.1.0-1789-g8a84dde 172.17.0.1:5001/ceph/daemon-base:latest-master-devel 33849b8becbf a08543529754
- List daemons with --refresh flag on and get an empty result
# bin/ceph orch ps --refresh No daemons reported
Updated by Sebastian Wagner about 4 years ago
- Priority changed from Normal to High
Updated by Sage Weil about 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 34182
Updated by Sage Weil about 4 years ago
(pretty sure i'm fixing the same bug... it would happen if you had 2 hosts in your test cluster above and the last one wasn't mgr0)
Updated by Michael Fritch about 4 years ago
Confirmed PR 34182 fixes this.
Saw a similar thing with 3 hosts and only the last host was shown during refersh:
# bin/ceph orch ps NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID crash.host1 host1 running (20h) 26s ago 20h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 02d171ca479e crash.host2 host2 running (19h) 41s ago 19h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 15a281ff278f crash.host3 host3 running (18h) 16s ago 18h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 e34be1a8b470 mds.a.host1.bambmv host1 running (20h) 26s ago 20h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 7c4ef85e0712 mds.a.host2.azzrwh host2 running (19h) 41s ago 19h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 f478a92c1625 mds.a.host3.nbnvgd host3 running (18h) 16s ago 18h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 7ec0b038f60b nfs.foo.host1 host1 running (16h) 26s ago 16h 4 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 81c628b838dc nfs.foo.host3 host3 running (16h) 16s ago 16h 4 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 15683e95f9f5 # bin/ceph orch ps --refresh NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID crash.host3 host3 running (18h) 0s ago 18h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 e34be1a8b470 mds.a.host3.nbnvgd host3 running (18h) 0s ago 18h 15.1.1-170-gf64de8f475 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 7ec0b038f60b nfs.foo.host3 host3 running (16h) 0s ago 16h 4 quay.io/ceph-ci/ceph:octopus d57b3cf8bb74 15683e95f9f5
Updated by Sage Weil about 4 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to octopus
Updated by Sebastian Wagner about 4 years ago
- Status changed from Pending Backport to Resolved
Actions