Description of problem: Upgrading host from rhvh-4.4.1 to rhvh-4.4.2 fails if environment has block storage domain(s). Manually installing package shows block storage domain is detected wrongly as local storage domain. ~~~ Local storage domains were found on the same filesystem as / ! Please migrate the data to a new LV before upgrading, or you will lose the VMs See: https://bugzilla.redhat.com/show_bug.cgi?id=1550205#c3 Storage domains were found in: /rhev/data-center/mnt/blockSD/<uuid>/dom_md error: %prein(redhat-virtualization-host-image-update-4.4.2-20200930.0.el8_2.noarch) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package redhat-virtualization-host-image-update ~~~ Version-Release number of selected component (if applicable): rhvm-4.4.2.6-0.2.el8ev.noarch ovirt-host-4.4.1-4.el8ev.x86_64 How reproducible: Always Steps to Reproduce: 1. Upgrade host from RHV-M or manually after placing host in maintenance mode. 2. 3. Actual results: Host fails to upgrade. Expected results: Host should upgrade without any errors if there are no local storage domains on /. Additional info:
See also bug #1883157 which was reported upstream.
Marking as regression, upgrade with iSCSI storage must work.
The bug has been resolved on "redhat-virtualization-host-4.4.3-20201026.0.el8_3" Test Version: RHVH: redhat-virtualization-host-4.4.3-20201026.0.el8_3 RHVM: 4.4.3.7-0.22.el8ev Test Steps: 1. Install redhat-virtualization-host-4.4.2-20200930.0.el8_2 on an iSCSI machine 2. Setup local repos and point to "redhat-virtualization-host-4.4.3-20201026.0.el8_3" 3. Add host to RHVM 4. Add a iSCSI storage domain and wait for its status to become "Active" 5. Add a VM 6. Manage the host to maintenance mode 7. Upgrade the host # yum update # reboot 8. Activate the host via RHVM 9. Start the VM Actual results: Upgrade is successful. The status of the iSISI storage domain is "Active" and the VM can start up successful after the upgrade. Also checked Bug 1852721, this fix has no effect on it. Move the bug status to "VERIFIED".
QE tested the latest build(redhat-virtualization-host-4.4.3-20201105.1.el8_3) in a host with FC storage domains,it works. Test Version: RHVH: redhat-virtualization-host-4.4.3-20201105.1.el8_3 redhat-virtualization-host-4.4.1-20200722.0.el8_2 RHVM: 4.4.3.9-0.1.el8ev Test environment: A machine with one local disk and one RemoteStorage FC. Test Steps: 1. Install redhat-virtualization-host-4.4.1-20200722.0.el8_2 on the local disk 2. Setup local repos and point to "redhat-virtualization-host-4.4.3-20201105.1.el8_3" 3. Add host to RHVM 4. Add a FC storage domain and wait for its status to become "Active" 5. Add a VM 6. Manage the host to maintenance mode 7. Upgrade the host # yum update # reboot 8. Activate the host via RHVM 9. Start the VM Actual results: Upgrade is successful. The status of the FC storage domain is "Active" and the VM can start up successful after the upgrade.
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 (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), 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/RHSA-2020:5218