requirements-rpm.txt: inconsistent dependencies

Bug #1418913 reported by Igor Yozhikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Alexei Sheplyakov
6.0.x
Invalid
Undecided
Alexei Sheplyakov

Bug Description

job url - http://jenkins-product.srt.mirantis.net:8080/job/6.1.staging.centos.bvt_1/72/console
from job log:
...
2015-02-05 19:06:05,629 - INFO regenerate_repo.py:307 -- Check puppet logs for packages with unmet dependences.
2015-02-05 19:06:05,854 - INFO regenerate_repo.py:315 -- Error: Package: avahi-0.6.25-12.el6.x86_64 (2014.2-6.1)
 has unmet dependencies:
2015-02-05 19:06:05,855 - INFO regenerate_repo.py:317 -- Requires: avahi-libs = 0.6.25-12.el6
2015-02-05 19:06:05,855 - INFO regenerate_repo.py:318 -- Check puppet logs completed.
2015-02-05 19:06:06,029 - INFO fuel_web_client.py:625 -- Wait for task {u'status': u'running', u'name': u'dump', u'cluster': None, u'result': {}, u'progress': 0, u'message': None, u'id': 8, u'uuid': u'343a0739-5d8a-43d4-9c6c-93f315fadd55'} 300 seconds
...

Snippet from puppet log from node:
Fri Feb 06 10:21:07 +0000 2015 /Stage[main]/Openstack::Compute/Package[avahi]/ensure (err): change from absent to 0.6.25-12.el6 failed: Could not update: Execution of '/usr/bin/yum
 -d 0 -e 0 -y install avahi-0.6.25-12.el6' returned 1: Error: Package: avahi-0.6.25-12.el6.x86_64 (2014.2-6.1)
           Requires: avahi-libs = 0.6.25-12.el6
           Installed: avahi-libs-0.6.25-12.el6_5.1.x86_64 (@2014.2-6.1)
               avahi-libs = 0.6.25-12.el6_5.1
           Available: avahi-libs-0.6.25-12.el6.x86_64 (2014.2-6.1)
               avahi-libs = 0.6.25-12.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: none → 6.1
status: New → Triaged
assignee: Fuel OSCI Team (fuel-osci) → Alexei Sheplyakov (asheplyakov)
Revision history for this message
Dmitry Burmistrov (dburmistrov) wrote :

avahi-libs is an upstrean package and exists in fwm repo (look at http://fuel-repository.mirantis.com/fwm/6.1/centos/os/x86_64/Packages/ } and testing iso (look at 6.1.build_staging_mirror/89 jenkins-product job console):

created directory /fwm/files/6.1-2015-02-05-152117
...
centos/os/x86_64/Packages/avahi-libs-0.6.25-12.el6_5.1.x86_64.rpm

Changed in fuel:
assignee: Alexei Sheplyakov (asheplyakov) → Dmitry Burmistrov (dburmistrov)
milestone: 6.1 → none
status: Triaged → Invalid
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

It looks like avahi-* packages get actually downloaded:

ls -l local_mirror/centos/os/x86_64/Packages/avahi-*
-rw-rw-r-- 1 stack stack 221692 Feb 23 2013 local_mirror/centos/os/x86_64/Packages/avahi-0.6.25-12.el6.x86_64.rpm
-rw-rw-r-- 1 stack stack 55744 Jun 23 2014 local_mirror/centos/os/x86_64/Packages/avahi-libs-0.6.25-12.el6_5.1.x86_64.rpm
-rw-rw-r-- 1 stack stack 55584 Feb 23 2013 local_mirror/centos/os/x86_64/Packages/avahi-libs-0.6.25-12.el6.x86_64.rpm

The only strange thing is that there are two different revisions of avahi-libs (not sure if yum/rpm can handle this,
apt/dpkg are certainly unhappy about such a situation).

Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

cman, erlang, nagios-plugins-os-libvirt, openstack-ceilometer-common, openstack-nova-compute,
and so on depend on avahi-libs-0.6.25-12.el6_5.1. On the other hand requirements-rpm.txt insists
on using avahi-0.6.25-12, which depends on avahi-libs-0.6.25-12.el6. As a result avahi can not be
installed along with cman, erlang, nagios-plugins-os-libvirt, openstack-ceilometer-common, hence
the error

Changed in fuel:
status: Invalid → Confirmed
assignee: Dmitry Burmistrov (dburmistrov) → Alexei Sheplyakov (asheplyakov)
ruhe (ruhe)
description: updated
summary: - avahi-libs as dependent package absent
+ requirements-rpm.txt: inconsistent dependencies
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/153530

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/153530
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=49254074988a6ff1e8585cf64311169abf24a853
Submitter: Jenkins
Branch: master

commit 49254074988a6ff1e8585cf64311169abf24a853
Author: Alexei Sheplyakov <email address hidden>
Date: Fri Feb 6 14:53:25 2015 +0300

    requirements-rpm.txt: remove versioned dependence on avahi

    cman, erlang, nagios-plugins-os-libvirt, openstack-ceilometer-common,
    openstack-nova-compute, and many other packages depend on avahi-libs
    version 0.6.25-12.el6_5.1 On the other hand requirements-rpm.txt insists
    on using avahi-0.6.25-12, which depends on avahi-libs version 0.6.25-12.el6.
    As a result avahi can not be installed along with nova (or rabbitmq)
    which breaks OpenStack deployment. Therefore use unversioned dependency
    on avahi

    Closes-Bug: #1418913
    Change-Id: Ie79bfa5631d4e06e592b54c0d38040cdcc89ffa4

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
milestone: none → 6.1
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.