aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/openstack_instack.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sos/plugins/openstack_instack.py b/sos/plugins/openstack_instack.py
index 4fa21699..564cc4cc 100644
--- a/sos/plugins/openstack_instack.py
+++ b/sos/plugins/openstack_instack.py
@@ -69,9 +69,10 @@ class OpenStackInstack(Plugin):
stack_ids = re.findall(r'(\s(\w+-\w+)+\s)', stacks)
# get status of overcloud stack and resources
for sid in stack_ids:
- self.add_cmd_output("openstack stack show %s" % sid[0])
- self.add_cmd_output(
- "openstack stack resource list -n 10 %s" % sid[0])
+ self.add_cmd_output([
+ "openstack stack show %s" % sid[0],
+ "openstack stack resource list -n 10 %s" % sid[0]
+ ])
# get details on failed deployments
cmd = "openstack stack resource list -f value -n 5 %s" % sid[0]