]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fix REFRESHED column of orch ps being unpopulated
authorAdam King <adking@redhat.com>
Fri, 22 Sep 2023 22:34:59 +0000 (18:34 -0400)
committerAdam King <adking@redhat.com>
Mon, 9 Oct 2023 13:30:13 +0000 (09:30 -0400)
commit37af9b9243cd3dbba9dc7eec37f1c33876af0478
treeceefb5b5c9ad8c7a02a22d5abea4d39e88ccc5cc
parent397de1b00315bb75e0223a151a92f7620830cd2a
mgr/cephadm: fix REFRESHED column of orch ps being unpopulated

The way the daemon ls data was processed was changed in
https://github.com/ceph/ceph/commit/1fd4132c7c03602719f29230732b12c8afa04779
and it seems that commit removed a line that set the
last_refresh field. This commit just adds it back
in the new location after the change.

Without this in "ceph orch ps" the REFRESHED column
for every daemon just reports "-"

Fixes: https://tracker.ceph.com/issues/62954
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 06cf5bb95205965ab6b625b9069a11fa89ed4fb9)
src/pybind/mgr/cephadm/module.py