]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: add info to 'ceph orch upgrade status' in cephadm
authorAdam King <adking@redhat.com>
Fri, 5 Mar 2021 22:01:12 +0000 (17:01 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Mar 2021 21:22:22 +0000 (16:22 -0500)
commitd4001860d997ef30b92d27bcf8e54474c8cf7ad2
treebafb6676c66407ddda9740776234031e19f406f3
parent08ab4ae8836f18f5631f6d91fdac3d264a7027ea
mgr/cephadm: add info to 'ceph orch upgrade status' in cephadm

properly fills in 'services_complete' field, adds info messages to 'message' field
such as what daemon type is being upgraded or if we're pulling an image and adds
'progress' field that shows how many daemons have been upgraded so far.

Fixes: https://tracker.ceph.com/issues/49235
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 1527b3a527c45deb689f3d7b5aff02e517357584)
src/pybind/mgr/cephadm/upgrade.py
src/pybind/mgr/orchestrator/_interface.py
src/pybind/mgr/orchestrator/module.py