RHOSP10: R3.2.9: openstack-analytics installation failed due to dependency python-net-snmp

Bug #1754765 reported by shajuvk
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Arvind
R4.0
Fix Committed
High
Arvind
R4.1
Fix Committed
High
Arvind
Trunk
Fix Committed
High
Arvind

Bug Description

Since the upstream is supplying higher version of net-snmp, provisioning of analytics nodes are failing.

yum install contrail-openstack-analytics

--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for net-snmp-libs which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of net-snmp-libs of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude net-snmp-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of net-snmp-libs installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of net-snmp-libs installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: 1:net-snmp-libs-5.7.2-28.el7.i686 != 1:net-snmp-libs-5.7.2-28.el7_4.1.x86_64

workaround:

update the contrail repo with below packages and run createrepo command.

-rw-r--r--. 1 root root 78700 Mar 9 12:30 net-snmp-python-5.7.2-31.el7.x86_64.rpm
-rw-r--r--. 1 root root 766248 Mar 9 12:35 net-snmp-libs-5.7.2-31.el7.x86_64.rpm
-rw-r--r--. 1 root root 721332 Mar 9 12:55 net-snmp-agent-libs-5.7.2-31.el7.x86_64.rpm
-rw-r--r--. 1 root root 338020 Mar 9 13:05 net-snmp-5.7.2-31.el7.x86_64.rpm
-rw-r--r--. 1 root root 202908 Mar 9 13:09 net-snmp-utils-5.7.2-31.el7.x86_64.rpm
[stack@undercloud ~]$

shajuvk (shajuvk)
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
summary: - RHOSP: R3.2.9: openstack-analytics installation failed due to dependency
- python-net-snmp
+ RHOSP10: R3.2.9: openstack-analytics installation failed due to
+ dependency python-net-snmp
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/40964
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/40965
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/40966
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/40965
Committed: http://github.com/Juniper/contrail-packaging/commit/498c82c22dffce9ee58cbf16e7960e8fa7f2d877
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 498c82c22dffce9ee58cbf16e7960e8fa7f2d877
Author: arvindvis <email address hidden>
Date: Thu Mar 22 13:40:11 2018 -0700

Adding new net-snmp-python packages to redhat SKU'
Closes-Bug: 1754765

Change-Id: Id8c6858be3b38bf641776c693d84779c0670d901

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/40966
Committed: http://github.com/Juniper/contrail-packaging/commit/470a409ea4a15dbc37cf2c9fb983626e228ac619
Submitter: Vinay Vithal Mahuli (<email address hidden>)
Branch: R4.1

commit 470a409ea4a15dbc37cf2c9fb983626e228ac619
Author: arvindvis <email address hidden>
Date: Thu Mar 22 13:40:11 2018 -0700

Adding new net-snmp-python packages to redhat SKU'
Closes-Bug: 1754765

Change-Id: Id8c6858be3b38bf641776c693d84779c0670d901

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/40964
Committed: http://github.com/Juniper/contrail-packaging/commit/8eb1e6bd90a4b3b44fef985954ebae3c4d92ca77
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 8eb1e6bd90a4b3b44fef985954ebae3c4d92ca77
Author: arvindvis <email address hidden>
Date: Thu Mar 22 13:40:11 2018 -0700

Adding new net-snmp-python packages to redhat SKU'
Closes-Bug: 1754765

Change-Id: Id8c6858be3b38bf641776c693d84779c0670d901

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/41342
Committed: http://github.com/Juniper/contrail-packages/commit/d6a140258eaf04e3c45e21af6c5a94a82a54a080
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit d6a140258eaf04e3c45e21af6c5a94a82a54a080
Author: arvindvis <email address hidden>
Date: Tue Apr 3 23:11:51 2018 -0700

Adding new net-snmp-python packages to redhat SKU

Change-Id: I69e7dac0b35d55a71ee18d22c5b86524adedf333
Closes-Bug: 1754765

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.