Red Hat Bugzilla – Bug 1266327
yum_update.sh fails due to incomplete --excludes list
Last modified: 2015-10-08 08:19:47 EDT
jprovazn experienced the following while doing an openstack overcloud update:
++ 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
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/
"openstack overcloud update" completes successfully now:
update finished with status COMPLETE
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.