Description of problem: A customer installs a third-party driver into their RHEV-H ISOs via 'edit-node'. This worked fine up to and including 'rhevh-7.2-20160105.1.el7'. However, with the more recent versions, e.g. 'rhevh-7.2-20160328.0.el7', installation fails with "Found more than one kernel version". Version-Release number of selected component (if applicable): RHEV-H 7.2 20160328.0 onwards How reproducible: Every time with 'rhevh-7.2-20160328.0.el7' onwards. Steps to Reproduce: 1. edit-node --install-kmod=<kmod_name>.rpm rhevh-7.2-20160328.0.el7ev.iso 2. Upgrade a host with this ISO image 3. Installation should fail. Actual results: Expected results: Additional info:
Hi Gordon, As we discussed over irc, the main issue is that the module provided by HP differs from the kernel we provide in the rhev-h. Instead of doing workarounds or patches for such, the best would have HP providing the kernel modules that matches the RHEV-H OS kernel. # rpm2cpio kmod-hpvsa-1.2.14-113.rhel7u2.x86_64.rpm | cpio -div ./etc/depmod.d/hpvsa.conf ./lib/modules/3.10.0-327.el7.x86_64 ./lib/modules/3.10.0-327.el7.x86_64/extra ./lib/modules/3.10.0-327.el7.x86_64/extra/hpvsa cpio: ./lib/modules/3.10.0-327.el7.x86_64/extra/hpvsa/hpvsa.ko not created: newer or same age version exists ./lib/modules/3.10.0-327.el7.x86_64/extra/hpvsa/hpvsa.ko 5227 blocks # mount -o loop rhev-hypervisor7-7.2-20160328.0.iso /mnt/ mount: /dev/loop1 is write-protected, mounting read-only # grep kernel /mnt/isolinux/manifest-rpm.txt kernel-3.10.0-327.10.1.el7.x86_64 (RSA/SHA256, Wed Jan 27 13:34:54 2016, Key ID 199e2f91fd431d51) Is HP available to talk and request such change? Moving back to assigned. Thanks!
RHEV-H QE can reproduce this issue. Versions: ovirt-node-tools-3.6.1-9.0.el7ev.noarch rhevh-7.2-20160328.0.el7ev.iso kmod-hpvsa-1.2.14-113.rhel7u2.x86_64.rpm Steps: 1. edit-node --install-kmod=kmod-hpvsa-1.2.14-113.rhel7u2.x86_64.rpm rhevh-7.2-20160328.0.el7ev.iso 2. Upgrade a host with this ISO image 3. Installation failed Result: "Exception: RuntimeError('Found more than one kernel version')" is displayed during installation
This patch is affecting the installation and upgrade path, please ensure to check especially both upgrade paths (through Engine and through media).
Versions: ovirt-node-tools-3.6.1-13.0.el7ev.noarch.rpm rhev-hypervisor7-7.2-20160606.0.iso kmod-hpvsa-1.2.14-113.rhel7u2.x86_64.rpm Steps: 1. edit-node --install-kmod=kmod-hpvsa-1.2.14-113.rhel7u2.x86_64.rpm rhev-hypervisor7-7.2-20160606.0.iso 2. Install a host with an early RHEV-H version 3. a) Install vm with this iso(rhev-hypervisor7-7.2-20160606.0-kmod-hpvsa.iso) 3. b) Upgrade a host with this ISO(rhev-hypervisor7-7.2-20160606.0-kmod-hpvsa.iso) in USB disk 3. c) Upgrade host with this ISO(rhev-hypervisor7-7.2-20160606.0-kmod-hpvsa.iso) through RHEVM Result: After step 1: ISO with kmod-hpvsa is created as rhev-hypervisor7-7.2-20160606.0-kmod-hpvsa.iso After step 3: a) Install rhev-hypervisor7-7.2-20160606.0-kmod-hpvsa.iso on vm successfully, and login with admin account,check in bash shell #rpm -qa|grep kmod-hpvsa kmod-hpvsa-1.2.14-113.rhel7u2.x86_64 b), c) Upgrade successfully, login and check in bash shell #rpm -qa|grep kmod-hpvsa kmod-hpvsa-1.2.14-113.rhel7u2.x86_64 So the bug is verified, I will change the status to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1369