diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-07-25 19:05:59 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-07-25 19:05:59 +0100 |
commit | 8b2af7f9123b22aa139b8d1e0221f5c82a99bc90 (patch) | |
tree | e565f7dea8d97f79d1e93a4f675013ec50228931 | |
parent | 8b10cb00ab44239e9f11d8e9ab766908f9f92e16 (diff) | |
download | sos-8b2af7f9123b22aa139b8d1e0221f5c82a99bc90.tar.gz |
Delete bogus dist checks from RedHatOpenStack
We already know we are running on RHEL or Fedora if we are
executing a plug-in class tagged with RedHatPlugin. Do not check
for /etc/*-release.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/openstack.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sos/plugins/openstack.py b/sos/plugins/openstack.py index 9c209e63..10ed59f3 100644 --- a/sos/plugins/openstack.py +++ b/sos/plugins/openstack.py @@ -186,11 +186,6 @@ class RedHatOpenStack(OpenStack, RedHatPlugin): 'python-quantumclient') def setup(self): - # If RHEL or Fedora then invoke script for openstack-status - if (os.path.isfile('/etc/redhat-release') - or os.path.isfile('/etc/fedora-release')): - self.add_cmd_output("openstack-status") - # Nova self.add_copy_specs(["/var/lib/nova/", "/etc/polkit-1/localauthority/50-local.d/50-nova.pkla", |