Bug 1266327 - yum_update.sh fails due to incomplete --excludes list
Summary: yum_update.sh fails due to incomplete --excludes list
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: y1
: 7.0 (Kilo)
Assignee: Steve Baker
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks: 1264203
TreeView+ depends on / blocked
 
Reported: 2015-09-25 04:03 UTC by Steve Baker
Modified: 2015-10-08 12:19 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-0.8.6-70.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-08 12:19:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Steve Baker 2015-09-25 04:03:34 UTC
jprovazn experienced the following while doing an openstack overcloud update:
http://paste.openstack.org/show/473919/

...
++ yum -y update --exclude libvirt-daemon-config-nwfilter --exclude libvirt-daemon-kvm --exclude net-snmp --exclude openstack-ceilometer-common --exclude openstack-ceilometer-compute --exclude openstack-neutron --exclude openstack-neutron-ml2 --exclude openstack-neutron-openvswitch --exclude openstack-nova-common --exclude openstack-nova-compute --exclude openvswitch --exclude pm-utils --exclude python-greenlet --exclude python-nova
Error: Package: libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.4.x86_64 (@rhos-7.0-pmgr-rhel-7-signed)
           Requires: libvirt-daemon = 1.2.8-16.el7_1.4
           Removing: libvirt-daemon-1.2.8-16.el7_1.4.x86_64 (@rhos-7.0-pmgr-rhel-7-signed)
               libvirt-daemon = 1.2.8-16.el7_1.4
           Updated By: libvirt-daemon-1.2.17-9.el7.x86_64 (rhel-7-server-htb-rpms)
               libvirt-daemon = 1.2.17-9.el7
           Available: libvirt-daemon-1.1.1-29.el7.x86_64 (rhel-7-server-eus-rpms)
               libvirt-daemon = 1.1.1-29.el7
...

Comment 2 Steve Baker 2015-09-25 04:08:23 UTC
I think adding --skip-broken to the yum update command will do the job here. They will be "broken" due to the excludes, and the puppet package update will update those packages so everything will end up updated in the correct place.

I'll do this in the same change as the pacemaker package update fix https://code.engineering.redhat.com/gerrit/#/c/58013/

Comment 5 Alexander Chuzhoy 2015-10-01 15:30:09 UTC
Verified:

Environment:
openstack-tripleo-heat-templates-0.8.6-70.el7ost.noarch

"openstack overcloud update" completes successfully now:

...

IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
COMPLETE
update finished with status COMPLETE

Comment 7 Alexander Chuzhoy 2015-10-01 16:08:27 UTC
Verified:

Environment:
openstack-tripleo-heat-templates-0.8.6-70.el7ost.noarch

"openstack overcloud update" completes successfully now:

...

IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
IN_PROGRESS
COMPLETE
update finished with status COMPLETE

Comment 9 errata-xmlrpc 2015-10-08 12:19:47 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-2015:1862


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