diff options
author | Lee Yarwood <lyarwood@redhat.com> | 2021-03-08 17:19:37 +0000 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-03-16 12:24:32 -0400 |
commit | eeb61825a31aca8575edeb45b643d609843743f3 (patch) | |
tree | 2fc9e01f9a1cd3aaf888fdce32eb602e4d300e7a | |
parent | 4fb834ec862228afb276ccbd45aa86c66044ea66 (diff) | |
download | sos-eeb61825a31aca8575edeb45b643d609843743f3.tar.gz |
[openstack_nova] Add nova-status upgrade check output
nova-status upgrade check [1] is a tool that preforms release specific
checks ahead of an upgrade.
[1] https://docs.openstack.org/nova/latest/cli/nova-status.html
Resolves: #2438
Signed-off-by: Lee Yarwood <lyarwood@redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/openstack_nova.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/report/plugins/openstack_nova.py b/sos/report/plugins/openstack_nova.py index 88586515..a1177c70 100644 --- a/sos/report/plugins/openstack_nova.py +++ b/sos/report/plugins/openstack_nova.py @@ -51,6 +51,10 @@ class OpenStackNova(Plugin): "nova-manage " + nova_config + " floating list", suggest_filename="nova-manage_floating_list" ) + self.add_cmd_output( + "nova-status " + nova_config + " upgrade check", + suggest_filename="nova-status_upgrade_check" + ) vars_all = [p in os.environ for p in [ 'OS_USERNAME', 'OS_PASSWORD']] |