Bug 1550149

Summary: [UPDATES]Failed to on dependencies if collectd sub-packages are installed
Product: Red Hat OpenStack Reporter: Mike Burns <mburns>
Component: collectdAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: urgent    
Version: 10.0 (Newton)CC: apannu, branto, gmeno, jbadiapa, lars, lnatapov, markmc, mburns, mmagr, mrunge, pkilambi, rbartal, rmccabe, srevivo, yprokule
Target Milestone: z8Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: collectd-5.7.2-3.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1549129 Environment:
Last Closed: 2018-05-17 15:26:16 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:

Description Mike Burns 2018-02-28 16:13:27 UTC
Similar, but images aren't impacted.  If a subpackage of collectd is installed, a similar error as below would occur since OSP 10 optools includes 5.5.2-2.



+++ This bug was initially created as a clone of Bug #1549129 +++

Description of problem:
When trying to update overcloud images the command fail with dependencies error
(see attached log)
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install osp 11 build: z2
2. try to update the overcloud images (virt-customize -a overcloud-full.qcow2 --update)

3. command fails 

Actual results:
--> Finished Dependency Resolution
Error: Package: collectd-curl_json-5.7.0-4.el7ost.x86_64 (@rhos-11.0-optools-puddle)
           Requires: collectd(x86-64) = 5.7.0-4.el7ost
           Removing: collectd-5.7.0-4.el7ost.x86_64 (@rhos-11.0-optools-puddle)
               collectd(x86-64) = 5.7.0-4.el7ost
           Updated By: collectd-5.7.2-1.el7cp.x86_64 (rhelosp-ceph-2.0-mon)
               collectd(x86-64) = 5.7.2-1.el7cp
Error: Package: collectd-write_http-5.7.0-4.el7ost.x86_64 (@rhos-11.0-optools-puddle)
           Requires: collectd(x86-64) = 5.7.0-4.el7ost
           Removing: collectd-5.7.0-4.el7ost.x86_64 (@rhos-11.0-optools-puddle)

Expected results:


Additional info:
(see attached log)
More details can be found here:
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/upgrades/view/update/job/DFG-upgrades-updates-11_director-rhel-7.4-virthost-3cont_2comp_3ceph-ipv4-vxlan/77/artifact/.sh/

--- Additional comment from Mike Burns on 2018-02-27 11:09:15 EST ---

This was introduced because ceph shipped a newer collectd package but not all the sub-packages that we ship.  

Can we update to the 5.7.2-1 collectd package?

--- Additional comment from Matthias Runge on 2018-02-27 11:45:41 EST ---

Yes, sure. I don't know why and how 5.7.0 was included. iirc. there is even a cve in 5.7.0-...

--- Additional comment from Matthias Runge on 2018-02-28 04:21:10 EST ---

To iterate on this, I'm not sure why collectd-5.8.0-4 (or later) was not pushed to osp11, there is a bug in modified for OSP11: https://bugzilla.redhat.com/show_bug.cgi?id=1543840

--- Additional comment from Mike Burns on 2018-02-28 11:04:36 EST ---

After further review, I'm not sure how this could happen.  Latest test repos included 5.7.2-3 which is >= 5.7.2-1 from ceph.

Can you provide your repo files?  Is this reproducible?

Comment 4 Leonid Natapov 2018-05-14 13:56:51 UTC
verified with collectd-5.8.0-8.el7ost.x86_64
update succeeded

Comment 7 errata-xmlrpc 2018-05-17 15:26:16 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://access.redhat.com/errata/RHSA-2018:1605