mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
mgr/cephadm: make upgrade progress bar mention target version, not repo digest
The repo digest is super long and meaningless for a human user. Instead, use the target version (as soon as we know what it is--until then, use the target image name). Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
0772593632
commit
521cb8ab22
@ -295,7 +295,9 @@ class CephadmUpgrade:
|
||||
self.upgrade_state.progress_id = str(uuid.uuid4())
|
||||
self._save_upgrade_state()
|
||||
self.mgr.remote('progress', 'update', self.upgrade_state.progress_id,
|
||||
ev_msg='Upgrade to %s' % self.target_image,
|
||||
ev_msg='Upgrade to %s' % (
|
||||
self.upgrade_state.target_version or self.target_image
|
||||
),
|
||||
ev_progress=progress,
|
||||
add_to_ceph_s=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user