kolla tries to install python2-cffi but latest version is python-cffi in base

Bug #1728915 reported by Alfredo Moralejo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Alfredo Moralejo

Bug Description

When trying to build containers with RDO/CentOS and binary type, it fails to build openstack-base with error [1]:

INFO:kolla.image.build.openstack-base: * updates: denver.gaminghost.co
INFO:kolla.image.build.openstack-base:1 packages excluded due to repository priority protections
INFO:kolla.image.build.openstack-base:Package libyaml-0.1.4-11.el7_0.x86_64 already installed and latest version
INFO:kolla.image.build.openstack-base:Package pyOpenSSL is obsoleted by python2-pyOpenSSL, trying to install python2-pyOpenSSL-16.2.0-3.el7.noarch instead
INFO:kolla.image.build.openstack-base:No package python2-cffi available.
INFO:kolla.image.build.openstack-base:Error: Not tolerating missing names on install, stopping.
INFO:kolla.image.build.openstack-base:

Note that latest version of python-cffi is provided from CentOS base and is python-cffi instead of python2-cffi.

According to CentOS/RDO packaging rules, all python2-XXX packages has a provides on python-XXX, so when installing it, python-XXX should always be used as it will install the right package.

[1] https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-centos-7-master-containers-build/c17d3a1/kolla/logs/openstack-base.log

Revision history for this message
Alan Pevec (apevec) wrote :
Changed in kolla:
status: New → In Progress
Changed in kolla:
assignee: nobody → Alfredo Moralejo (amoralej)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/516643
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=8d024ff4000aaffd7841ef76f010e211cb457f79
Submitter: Zuul
Branch: master

commit 8d024ff4000aaffd7841ef76f010e211cb457f79
Author: Alfredo Moralejo <email address hidden>
Date: Tue Oct 31 13:06:31 2017 +0100

    Switch to python-cffi for rpm based distros

    Note that latest version of python-cffi is provided
    from CentOS base and is python-cffi instead of python2-cffi.

    According to CentOS/RDO packaging rules, all python2-XXX
    packages has a provides on python-XXX, so when installing
    it, python-XXX should always be used as it will install the
    right package.

    Change-Id: Ie30901c64993a6031278812e5072046a50371b3d
    Closes-Bug: #1728915

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 6.0.0.0b2

This issue was fixed in the openstack/kolla 6.0.0.0b2 development milestone.

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.