RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1106423 - The openstack sos plugin collects the entire contents of /var/lib/nova
Summary: The openstack sos plugin collects the entire contents of /var/lib/nova
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Bryn M. Reeves
QA Contact: David Kutálek
URL:
Whiteboard:
Depends On:
Blocks: 1148554
TreeView+ depends on / blocked
 
Reported: 2014-06-09 10:12 UTC by Lee Yarwood
Modified: 2019-02-15 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1148554 (view as bug list)
Environment:
Last Closed: 2015-03-05 11:23:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0532 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2015-03-05 16:12:44 UTC

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


Note You need to log in before you can comment on or make changes to this bug.