diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-09-24 17:15:14 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-10-08 15:54:29 +0100 |
commit | bff0d7010597dacc45f6275d6e35eb75b6279cb2 (patch) | |
tree | 9144fd2f76bdd92e0f8401264dfd6f2ffbf09272 | |
parent | e6a0570794682d424dafffa8da13ac288b08436e (diff) | |
download | sos-bff0d7010597dacc45f6275d6e35eb75b6279cb2.tar.gz |
[vdsm] Use add_service_status()
Updates the vdsm plugin to use add_service_status() for vdsmd and
supervdsmd.
Resolves: #1799
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/vdsm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/plugins/vdsm.py b/sos/plugins/vdsm.py index c4e2af5f..26a3e264 100644 --- a/sos/plugins/vdsm.py +++ b/sos/plugins/vdsm.py @@ -64,8 +64,7 @@ class Vdsm(Plugin, RedHatPlugin): self.add_forbidden_path('/etc/pki/vdsm/libvirt-spice/*-key.*') self.add_forbidden_path('/etc/pki/libvirt/private/*') - self.add_cmd_output('service vdsmd status') - self.add_cmd_output('service supervdsmd status') + self.add_service_status(['vdsmd', 'supervdsmd']) self.add_copy_spec([ '/tmp/vds_installer*', |