Bug 1373899 - Sos openstack plugins to have --verify option
Summary: Sos openstack plugins to have --verify option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.3
Assignee: Pavel Moravec
QA Contact: BaseOS QE - Apps
URL: https://github.com/sosreport/sos/issu...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 11:52 UTC by Pablo Iranzo Gómez
Modified: 2017-08-10 20:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 20:19:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Pablo Iranzo Gómez 2016-09-07 11:52:43 UTC
Description of problem:

User decided to modify some important libraries (AMQP) on the system (BZ 1373146), so until it was found that the libraries were manually modified, the issue and the configuration status was not reproducible and made no sense.

Having identified that the libraries were modified, could have sched light on this, allowing to solve it faster.

Upstream report for sos is at https://github.com/sosreport/sos/issues/871

Comment 1 Bryn M. Reeves 2016-09-07 13:38:21 UTC
Gigantic NACK from my side, sorry :-)

There are ways that we can make this work for specific use-cases but we will not re-introduce a default "rpm -Va" collection for any reason.

Plugins have for some time now been able to add their own "--verify" hooks and this is what plugin authors should be doing now.

There are ways we can refine that to make this even easier for developers but throwing in a command that could run for 20-30m, and that generates a huge volume of IO, is not acceptable as a default setting for the places that sos finds itself in use today.

Comment 2 Pavel Moravec 2016-12-14 21:11:57 UTC
From the upstream discussion in https://github.com/sosreport/sos/issues/871 :

openstack_* plugins shall implement --verify option to call "rpm -V (relevant_OSP_packages)" - that's acceptable.

Comment 3 Pavel Moravec 2017-03-12 21:26:37 UTC
(In reply to Pavel Moravec from comment #2)
> From the upstream discussion in https://github.com/sosreport/sos/issues/871 :
> 
> openstack_* plugins shall implement --verify option to call "rpm -V
> (relevant_OSP_packages)" - that's acceptable.

Hi Pablo,
could you pls. comment if the proposal at:

https://github.com/sosreport/sos/issues/871#issuecomment-285977997

is sufficient/acceptable?

Comment 4 Pablo Iranzo Gómez 2017-03-13 06:46:50 UTC
Hi Pavel,

If we have the *verify* enabled always for OSP that would be great, the problem is that we don't want to have reask customers for  rpm -Va (for OSP packages and python dependencies)

Thanks!,
Pablo

Comment 5 Pavel Moravec 2017-08-10 20:19:58 UTC
This bug shall be fixed in package:

sos-3.4-6.el7.noarch.rpm

available via errata:

https://access.redhat.com/errata/RHBA-2017:2331


Thus I am closing this bug report.


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