From: Sage Weil Date: Fri, 9 Apr 2021 19:35:17 +0000 (-0400) Subject: mgr/orchestrator: remove IMAGE ID from 'orch ls' X-Git-Tag: v17.1.0~2281^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2b63ae25c9af576b8cbab80b17af013b2868f7a2;p=ceph.git mgr/orchestrator: remove IMAGE ID from 'orch ls' This is not very useful at this level: - we see it from 'orch ps' - it can be a mix of ids during upgrade - some services may have multiple images at steady state (e.g., ingress) Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 2e9e1f2574a..f24177064e4 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -562,14 +562,13 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, now = datetime_now() table = PrettyTable( ['NAME', 'RUNNING', 'REFRESHED', 'AGE', - 'PLACEMENT', 'IMAGE ID' + 'PLACEMENT', ], border=False) table.align['NAME'] = 'l' table.align['RUNNING'] = 'r' table.align['REFRESHED'] = 'l' table.align['AGE'] = 'l' - table.align['IMAGE ID'] = 'l' table.align['PLACEMENT'] = 'l' table.left_padding_width = 0 table.right_padding_width = 2 @@ -591,7 +590,6 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, refreshed, nice_delta(now, s.created), pl, - ukn(s.container_image_id)[0:12], )) return HandleCommandResult(stdout=table.get_string())