Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1339003 - Upgrade failing with kmod-cnic dependencies (specifically kmod-bnx2x)
Upgrade failing with kmod-cnic dependencies (specifically kmod-bnx2x)
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: Driver Update Disk (Show other bugs)
6.7
x86_64 Linux
medium Severity medium
: rc
: ---
Assigned To: Stanislav Kozina
Red Hat Kernel QE team
:
: 1514491 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-23 18:22 EDT by Camry Fedei
Modified: 2017-11-29 05:34 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-09 10:22:26 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Camry Fedei 2016-05-23 18:22:08 EDT
Description of problem:
 - yum update fails on updating kmod-bnx2x as I believe kmod-cnic does not have an upgraded package, despite kmod-bnx2x having an update.

-----------------------------------------------------------------------------------------------------------
Customer's results below (Note: custom repo's are newest released errata added each month. We've replicated it on a system not on a satellite to confirm the same issue exists outside of this environment):
-----------------------------------------------------------------------------------------------------------

Error: Package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64 (@rhel6.7-x86_64)
           Requires: kmod-bnx2x = 1.72.00_0.32.269
           Removing: kmod-bnx2x-1.72.00_0.32.269-1.el6_2.x86_64 (@rhel6.7-x86_64)
               kmod-bnx2x = 1.72.00_0.32.269-1.el6_2
           Updated By: kmod-bnx2x-1.712.30_0-1.el6_7.x86_64 (rhel6-June2016security-x86_64)
               kmod-bnx2x = 1.712.30_0-1.el6_7
           Available: kmod-bnx2x-1.70.00_0.1-9.el6_1.x86_64 (rhel6-June2016security-x86_64)
               kmod-bnx2x = 1.70.00_0.1-9.el6_1
           Available: kmod-bnx2x-1.72.00_0-1.el6_2.x86_64 (rhel6-June2016security-x86_64)
               kmod-bnx2x = 1.72.00_0-1.el6_2
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

-----------------------------------------------------------------------------------------------------------



Version-Release number of selected component (if applicable):
 - Customer ran into it on a 6.7-6.8 upgrade, but replicated on a 6.7 box just simply installing kmod-bnx2x (see below)




How reproducible:
 - yum install of kmod-cnic the first time pulls in old versions of kmod-bnx2x, however trying to install kmod-bnx2x straight out tries to install the newest release of the package which fails




Steps to Reproduce:
Successful install of kmod-cnic:
-----------------------------------------------------------------------------------------------------------
# yum install kmod-cnic
Loaded plugins: auto-update-debuginfo, product-id, refresh-packagekit, security, subscription-manager, versionlock
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kmod-cnic.x86_64 0:2.5.10.32.269-1.el6_2 will be installed
--> Processing Dependency: kmod-bnx2x = 1.72.00_0.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Processing Dependency: kmod-bnx2 = 2.2.1.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Running transaction check
---> Package kmod-bnx2.x86_64 0:2.2.1.32.269-1.el6_2 will be installed

--> Processing Dependency: firmware(bnx2) = 2.2.1 for package: kmod-bnx2-2.2.1.32.269-1.el6_2.x86_64
---> Package kmod-bnx2x.x86_64 0:1.72.00_0.32.269-1.el6_2 will be installed
--> Processing Dependency: firmware(bnx2x) = 7.2.16.0 for package: kmod-bnx2x-1.72.00_0.32.269-1.el6_2.x86_64
--> Running transaction check
---> Package kmod-bnx2-firmware.x86_64 0:2.2.1.32.269-1.el6_2 will be installed
---> Package kmod-bnx2x-firmware.x86_64 0:1.72.00_0.32.269-1.el6_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================
 Package                     Arch    Version                  Repository            Size
=========================================================================================
Installing:
 kmod-cnic                   x86_64  2.5.10.32.269-1.el6_2    rhel-6-server-rpms   222 k
Installing for dependencies:
 kmod-bnx2                   x86_64  2.2.1.32.269-1.el6_2     rhel-6-server-rpms   246 k
 kmod-bnx2-firmware          x86_64  2.2.1.32.269-1.el6_2     rhel-6-server-rpms    91 k
 kmod-bnx2x                  x86_64  1.72.00_0.32.269-1.el6_2 rhel-6-server-rpms   1.1 M         <----- Older version (1.72.xxx)
 kmod-bnx2x-firmware         x86_64  1.72.00_0.32.269-1.el6_2 rhel-6-server-rpms   539 k

Transaction Summary
=========================================================================================
Install       5 Package(s)

Total download size: 2.1 M
Installed size: 8.9 M
Is this ok [y/N]: n
-----------------------------------------------------------------------------------------------------------


While just installing kmod-bnx2x will indeed bring in it's latest versions:
-----------------------------------------------------------------------------------------------------------
# yum install kmod-bnx2x                                                                                                                                             
 [...]
============================================================================================
 Package                    Arch    Version              Repository                    Size
============================================================================================
Installing:
 kmod-bnx2x                 x86_64  1.712.30_0-1.el6_7   rhel-6-server-optional-rpms  288 k       <----- Newest verion that's failing on next step (1.712.xxx)
Installing for dependencies:
 kmod-bnx2x-firmware        x86_64  1.712.30_0-1.el6_7   rhel-6-server-optional-rpms  580 k

Transaction Summary
============================================================================================
Install       2 Package(s)

Total download size: 868 k
Installed size: 1.6 M
Is this ok [y/N]:
-----------------------------------------------------------------------------------------------------------

Installing both (equivalent to an updating both) runs into the conflict:
-----------------------------------------------------------------------------------------------------------
# yum install kmod-cnic kmod-bnx2x
Resolving Dependencies
--> Running transaction check
---> Package kmod-bnx2x.x86_64 0:1.712.30_0-1.el6_7 will be installed
--> Processing Dependency: firmware(bnx2x) = 7.13.1 for package: kmod-bnx2x-1.712.30_0-1.el6_7.x86_64
---> Package kmod-cnic.x86_64 0:2.5.10.32.269-1.el6_2 will be installed
--> Processing Dependency: kmod-bnx2x = 1.72.00_0.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Processing Dependency: kmod-bnx2 = 2.2.1.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Running transaction check
---> Package kmod-bnx2.x86_64 0:2.2.1.32.269-1.el6_2 will be installed
--> Processing Dependency: firmware(bnx2) = 2.2.1 for package: kmod-bnx2-2.2.1.32.269-1.el6_2.x86_64
---> Package kmod-bnx2x-firmware.x86_64 0:1.712.30_0-1.el6_7 will be installed
---> Package kmod-cnic.x86_64 0:2.5.10.32.269-1.el6_2 will be installed
--> Processing Dependency: kmod-bnx2x = 1.72.00_0.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Running transaction check
---> Package kmod-bnx2-firmware.x86_64 0:2.2.1.32.269-1.el6_2 will be installed
---> Package kmod-cnic.x86_64 0:2.5.10.32.269-1.el6_2 will be installed
--> Processing Dependency: kmod-bnx2x = 1.72.00_0.32.269 for package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64
--> Finished Dependency Resolution
Error: Package: kmod-cnic-2.5.10.32.269-1.el6_2.x86_64 (rhel-6-server-rpms)
           Requires: kmod-bnx2x = 1.72.00_0.32.269
           Available: kmod-bnx2x-1.70.00_0.1-9.el6_1.x86_64 (rhel-6-server-rpms)
               kmod-bnx2x = 1.70.00_0.1-9.el6_1
           Available: kmod-bnx2x-1.72.00_0-1.el6_2.x86_64 (rhel-6-server-rpms)
               kmod-bnx2x = 1.72.00_0-1.el6_2
           Available: kmod-bnx2x-1.72.00_0.32.269-1.el6_2.x86_64 (rhel-6-server-rpms)
               kmod-bnx2x = 1.72.00_0.32.269-1.el6_2
           Installing: kmod-bnx2x-1.712.30_0-1.el6_7.x86_64 (rhel-6-server-optional-rpms)
               kmod-bnx2x = 1.712.30_0-1.el6_7
 You could try using --skip-broken to work around the problem
-----------------------------------------------------------------------------------------------------------



Additional info:
Removing the kmod-bnx2x-1.712.30_0-1.el6_7.x86_64 package from their repo before updating their client completes successfully with no dependency issues, as it's no longer attempting to update anything.
Comment 3 Denys Vlasenko 2016-06-09 09:30:21 EDT
This is a Driver Update Disk problem.
Comment 4 Stanislav Kozina 2016-06-09 10:22:26 EDT
Hello,

The kmod-bnx2x and kmod-cnic are part of the Driver Update Program. These two packages:
kmod-cnic-2.5.10.32.269-1.el6_2.x86_64 (@rhel6.7-x86_64)
kmod-bnx2x-1.72.00_0.32.269
have been released during RHEL-6.2 lifecycle to support a new version of bnx2x cards. Those drivers have been included in a RHEL-6.3 GA kernel directly, so with RHEL-6.3 GA those should have been uninstalled.

With RHEL-6.7 GA another version of kmod-bnx2x was released:
https://access.redhat.com/downloads/content/rhel---6/x86_64/168/kmod-bnx2x/1.712.30_0-1.el6_7/x86_64/fd431d51/package

This package does not require kmod-cnic to be installed.

This 6.7 kmod-bnx2x release was solely to support following devices:

HPE Synergy  3820C 10/20Gb Converged Network Adapter	
57840s (Kilimanjaro)	
VID – 14E4h
DID – 16A2h
SVID – 103ch
SDID – 2231h

If the customer system doesn't have the device listed above it's absolutely safe to uninstall both kmod-bnx2x and kmod-cnic on RHEL-6.7.

That said, closing this bug. Feel free to re-open. Thanks!
Comment 6 Valentina Mukhamedzhanova 2017-11-29 05:34:49 EST
*** Bug 1514491 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.