Bug 1106423

Summary: The openstack sos plugin collects the entire contents of /var/lib/nova
Product: Red Hat Enterprise Linux 7 Reporter: Lee Yarwood <lyarwood>
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.0CC: agk, apevec, bmr, dmaley
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1148554 (view as bug list) Environment:
Last Closed: 2015-03-05 11:23:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1148554    

Description Lee Yarwood 2014-06-09 10:12:44 UTC
Description of problem:

The openstack sos plugin currently shipped by sos is incorrectly collecting the entire contents of /var/lib/nova including instance images. This obviously leads to bloated sosreports and needs to be corrected ASAP.

https://github.com/sosreport/sos/blob/fdfa635e9435809b23f8ac7d78e89728950ba096/sos/plugins/openstack.py#L184

Speaking to bmr about this the best course of action here is to remove this older openstack plugin and replace it with the plugins shipped in the sos-plugins-openstack.noarch package.

Version-Release number of selected component (if applicable):
sos-3.0-23.el7.noarch.rpm

How reproducible:
Always.

Steps to Reproduce:
1. Run sosreport on a compute node with instances running.


Actual results:
Collected sosreport is bloated due to the contents on /var/lib/nova being collected.

Expected results:
Collected sosreport is not bloated and does not collect any instance images.

Additional info:

Comment 1 Bryn M. Reeves 2014-06-09 10:22:55 UTC
We need to update the openstack plugin in the sos-3.0 package to the 3.1  split-out versions and then drop the separate sos-plugins-openstack package for RHEL7.

Comment 2 Lee Yarwood 2014-07-09 10:33:14 UTC
(In reply to Bryn M. Reeves from comment #1)
> We need to update the openstack plugin in the sos-3.0 package to the 3.1 
> split-out versions and then drop the separate sos-plugins-openstack package
> for RHEL7.

Bryn, as discussed offline can we just rm -rf the legacy openstack plugin from sos in 7.0.z and discuss the future of the sos-plugins-openstack package separately?

Comment 3 Bryn M. Reeves 2014-07-09 11:54:05 UTC
Not sure we can separate them that way - if we go ahead with the planned rebase in 7.1 we'll be pulling in all the new broken-out OpenStack plugins to the RHEL sos package so we do need to figure out what we're going to do before we get there.

Comment 11 errata-xmlrpc 2015-03-05 11:23:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0532.html