aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Yarwood <lyarwood@redhat.com>2021-03-08 17:19:37 +0000
committerJake Hunsaker <jhunsake@redhat.com>2021-03-16 12:24:32 -0400
commiteeb61825a31aca8575edeb45b643d609843743f3 (patch)
tree2fc9e01f9a1cd3aaf888fdce32eb602e4d300e7a
parent4fb834ec862228afb276ccbd45aa86c66044ea66 (diff)
downloadsos-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.py4
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']]