aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Angel Ajo <majopela@redhat.com>2018-10-01 18:02:32 +0200
committerBryn M. Reeves <bmr@redhat.com>2019-03-18 11:59:15 +0000
commitd9e7d4c2c57c18b75bbe65dd15de6ee16da5396f (patch)
tree0fe8bd6f0bd95ff09723f9b1c736669525f9dfab
parentf5d7c67b6e2050abf22d2f9141f5938cd16c993d (diff)
downloadsos-d9e7d4c2c57c18b75bbe65dd15de6ee16da5396f.tar.gz
[openstack_nova] list all non-admin instances too
The current command in the openstack_nova.py plugin $ nova list Returns an incomplete list of instances when called as administrator, which results in incomplete sosreports. The right command to use to get a complete list of instances is: $ nova list --all-tenants Closes: #1439 Resolves: #1440 Signed-off-by: Miguel Angel Ajo Pelayo <majopela@redhat.com> Signed-off-by: Assaf Muller <amuller@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/openstack_nova.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py
index 427331e2..e91b56e9 100644
--- a/sos/plugins/openstack_nova.py
+++ b/sos/plugins/openstack_nova.py
@@ -70,7 +70,7 @@ class OpenStackNova(Plugin):
self.add_cmd_output("nova service-list")
self.add_cmd_output("openstack flavor list --long")
self.add_cmd_output("nova network-list")
- self.add_cmd_output("nova list")
+ self.add_cmd_output("nova list --all-tenants")
self.add_cmd_output("nova agent-list")
self.add_cmd_output("nova version-list")
self.add_cmd_output("nova hypervisor-list")