Bug 1373899

Summary: Sos openstack plugins to have --verify option
Product: Red Hat Enterprise Linux 7 Reporter: Pablo Iranzo Gómez <pablo.iranzo>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: agk, bmr, gavin, mhradile, pablo.iranzo, plambri, sbradley
Target Milestone: rc   
Target Release: 7.3   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/sosreport/sos/issues/871
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 20:19:58 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:

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.