RHEL7: Upgrade from RHEL7.2 to RHEL7.3

Bug #1659345 reported by Nagendra Prasath
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
New
High
Vinay Mahuli
R3.0.2.x
New
High
Vinay Mahuli
R3.0.3.x
In Progress
High
Vinay Mahuli
R3.1
New
High
Vinay Mahuli
R3.1.1.x
New
High
Vinay Mahuli
Trunk
Invalid
High
Nagendra Prasath

Bug Description

Build: R3.0.2.0/51/Liberty

During the upgrade from RHEL7.2 to RHEL7.3, below failure is seen when applying "yum update". In this update, python version gets updated from python-2.7.5-34 to python-2.7.5-48.

Error: Package: contrail-config-3.0.2.0-51.el7.noarch (@contrail_install_repo)
           Requires: /bin/python
           Removing: python-2.7.5-34.el7.x86_64 (installed)
               Not found
           Updated By: python-2.7.5-48.el7.x86_64 (rhel-7-server-rpms)
               Not found
Error: Package: contrail-analytics-3.0.2.0-51.el7.x86_64 (@contrail_install_repo)
           Requires: /bin/python
           Removing: python-2.7.5-34.el7.x86_64 (installed)
               Not found
           Updated By: python-2.7.5-48.el7.x86_64 (rhel-7-server-rpms)
               Not found
Error: Package: contrail-config-openstack-3.0.2.0-51.el7.x86_64 (@contrail_install_repo)
           Requires: /bin/python
           Removing: python-2.7.5-34.el7.x86_64 (installed)
               Not found
           Updated By: python-2.7.5-48.el7.x86_64 (rhel-7-server-rpms)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Package dependency at 3.0.2.0-51:

-bash-4.1$ ls contrail-config-3.0.2.0-51.el7.noarch.rpm
contrail-config-3.0.2.0-51.el7.noarch.rpm
-bash-4.1$ rpm -qipR contrail-config-3.0.2.0-51.el7.noarch.rpm
Name : contrail-config Relocations: (not relocatable)
Version : 3.0.2.0 Vendor: OpenContrail Project.
Release : 51.el7 Build Date: Sun 05 Jun 2016 09:31:03 PM PDT
Install Date: (not installed) Build Host: contrail-ec-build12.juniper.net
Group : Applications/System Source RPM: contrail-3.0.2.0-51.el7.src.rpm
Size : 30420407 License: ASL 2.0
Signature : (none)
URL : www.opencontrail.org
Summary : Contrail Config
Description :
Contrail Config package
Configuration nodes are responsible for the management layer. The
 configuration nodes provide a north-bound Representational State Transfer (REST) Application Programming Interface (API) that can be used to configure the system or extract operational status of the system. The instantiated services are represented by objects in a horizontally scalable database that is described by a formal service data model (more about data models later on). The configuration nodes also contain a transformation engine (sometimes referred to as a compiler) that transforms the objects in the high-level service data model into corresponding more lower-level objects in the technology data model. Whereas the high-level service data model describes what services need to be implemented, the low-level technology data model describes how those services need to be implemented.
The configuration nodes publish the contents of the low-level technology data model to the control nodes using the Interface for Metadata Access Points (IF-MAP) protocol.
Configuration nodes keep a persistent copy of the intended configuration state and translate the high-level data model into the lower level model suitable for interacting with network elements. Both these are kept in a NoSQL database.
/bin/python
/bin/sh
/bin/sh
/usr/bin/env
config(contrail-config) = 3.0.2.0-51.el7
python(abi) = 2.7
python-amqp
python-bitarray >= 0.8.0
python-contrail >= 3.0.2.0-51
python-gevent >= 1.0
python-geventhttpclient
python-jsonpickle
python-kazoo >= 1.3.1
python-keystone
python-lxml >= 2.3.2
python-ncclient >= 0.3.2
python-psutil >= 0.6.0
python-pycassa
python-requests
python-thrift >= 0.9.1
python-zope-interface
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
xmltodict >= 0.7.0
rpmlib(PayloadIsXz) <= 5.2-1
-bash-4.1$

Tags: packaging
information type: Proprietary → Public
Revision history for this message
Nagendra Prasath (npchandran) wrote :

The executables which use /bin/python are listed below. Because it use /bin/python below packages adds
 a dependency for /bin/python. However python-2.7.5-48 provides /usr/bin/python

contrail-analytics-3.0.2.0-51.el7.x86_64.rpm
contrail-config-3.0.2.0-51.el7.noarch.rpm
contrail-config-openstack-3.0.2.0-51.el7.x86_64.rpm

[root@contrail-controller-0 python-compat-1.0]# rpm -qa | grep contrail | xargs rpm -ql | xargs grep '#!/bin/python' 2> /dev/null
/usr/bin/contrail-api:#!/bin/python
/usr/bin/contrail-device-manager:#!/bin/python
/usr/bin/contrail-discovery:#!/bin/python
/usr/bin/contrail-schema:#!/bin/python
/usr/bin/ifmap-view:#!/bin/python
/usr/bin/contrail-alarm-gen:#!/bin/python
/usr/bin/contrail-alarm-notify:#!/bin/python
/usr/bin/contrail-analytics-api:#!/bin/python
/usr/bin/contrail-db:#!/bin/python
/usr/bin/contrail-flows:#!/bin/python
/usr/bin/contrail-logs:#!/bin/python
/usr/bin/contrail-logs-api-audit:#!/bin/python
/usr/bin/contrail-snmp-collector:#!/bin/python
/usr/bin/contrail-snmp-scanner:#!/bin/python
/usr/bin/contrail-stats:#!/bin/python
/usr/bin/contrail-topology:#!/bin/python
/usr/bin/contrail-svc-monitor:#!/bin/python
[root@contrail-controller-0 python-compat-1.0]#

Revision history for this message
Nagendra Prasath (npchandran) wrote :

Workaround: Install attached package before upgrade
python-compat-1contrail1.0-1.noarch.rpm

no longer affects: juniperopenstack/r3.2
Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r3.0.3.x
Revision history for this message
Nagendra Prasath (npchandran) wrote :

Its a build machine issue. Build machine has python set to /bin/python. Update the build machine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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