aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoornima <pkshiras@redhat.com>2015-09-08 16:04:42 +0530
committerBryn M. Reeves <bmr@redhat.com>2015-10-15 11:52:24 +0100
commitca0463f36cd6ab02bd27f5ef9682660a0d212dcd (patch)
tree15ed5577b3a303c6a4d1b1c2b583a1376253c6d9
parent12d0d5f5f0fa69a103364ddf61149a1552a888b5 (diff)
downloadsos-ca0463f36cd6ab02bd27f5ef9682660a0d212dcd.tar.gz
[openstack_sahara] capture logs and packages in split mode
Adding two services openstack-sahara-api and openstack-sahara-engine with required "-api + -engine" RPM package. Fixes: #641. Signed-off-by: Poornima M. Kshirsagar pkshiras@redhat.com
-rw-r--r--sos/plugins/openstack_sahara.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/openstack_sahara.py b/sos/plugins/openstack_sahara.py
index b084241b..9ec910b0 100644
--- a/sos/plugins/openstack_sahara.py
+++ b/sos/plugins/openstack_sahara.py
@@ -27,6 +27,8 @@ class OpenStackSahara(Plugin):
def setup(self):
self.add_copy_spec("/etc/sahara/")
self.add_cmd_output("journalctl -u openstack-sahara-all")
+ self.add_cmd_output("journalctl -u openstack-sahara-api")
+ self.add_cmd_output("journalctl -u openstack-sahara-engine")
if self.get_option("log"):
self.add_copy_spec("/var/log/sahara/")
@@ -62,6 +64,8 @@ class RedHatSahara(OpenStackSahara, RedHatPlugin):
packages = (
'openstack-sahara',
+ 'openstack-sahara-api',
+ 'openstack-sahara-engine',
'python-saharaclient'
)