Bug 1921553
Summary: | RHVH upgrade to the latest 4.4.4-1 build will fail due to FileNotFoundError | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | peyu | ||||
Component: | redhat-virtualization-host | Assignee: | Nir Levy <nlevy> | ||||
Status: | CLOSED ERRATA | QA Contact: | peyu | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.4.4 | CC: | cshao, lsvaty, mavital, mtessun, nlevy, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang | ||||
Target Milestone: | ovirt-4.4.4-1 | Keywords: | Regression, TestBlocker | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-03 16:13:15 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This issue has been resolved on "redhat-virtualization-host-4.4.4-20210131.0.el8_3" Test 1: 1. Install redhat-virtualization-host-4.4.3-20201210.0.el8_3 2. Setup local repos and point to "redhat-virtualization-host-4.4.4-20210131.0.el8_3" 3. Upgrade the host # yum update # reboot 4. Enter the new layer and check /var/log/imgbased.log Test result: Upgrade was successful. Test 2: 1. Install redhat-virtualization-host-4.4.3-20201210.0.el8_3 2. Setup local repos and point to "redhat-virtualization-host-4.4.4-20210131.0.el8_3" 3. Add the host to RHVM 4. Upgrade the host via RHVM Test result: Upgrade was successful. Additional info: Select the STIG profile during the installation of RHVH. Then upgrade RHVH to the latest build(redhat-virtualization-host-4.4.4-20210131.0.el8_3). After upgrade, the system will halt, when entering the new layer. Upgrade seems ok and there are no errors in /var/log/imgbased.log Please refer to Bug 1907746 Will move the bug 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 (Important: Red Hat Virtualization Host security bug fix and enhancement update [ovirt-4.4.4]), 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-2021:0401 |
Created attachment 1751587 [details] /var/log/imgbased.log Description of problem: Upgrade RHVH from 4.4.3-2 to the latest build "redhat-virtualization-host-4.4.4-20210127.0.el8_3", it will fail with FileNotFoundError. Version-Release number of selected component (if applicable): redhat-virtualization-host-4.4.4-20210127.0.el8_3 How reproducible: 100% Steps to Reproduce: 1. Install redhat-virtualization-host-4.4.3-20201210.0.el8_3 2. Setup local repos and point to "redhat-virtualization-host-4.4.4-20210127.0.el8_3" 3. Upgrade the host # yum update Actual results: Upgrade will fail. Expected results: RHVH upgrade successfully. Additional info: The error in imgbased.log is as follows: ~~~~~~ 2021-01-28 13:59:28,250 [DEBUG] (migrate_etc) Traceback (most recent call last): File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1510, in run self._function(*self._func_args, **self._func_kwargs) File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 848, in run_rpm_perms new_fs.path("/etc/crypto-policies/back-ends/"), 0o644 File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 894, in change_dir_perms os.chmod(os.path.join(root, f), mode) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/mnt.BUBfh//etc/crypto-policies/back-ends/openssh.config' 2021-01-28 13:59:28,251 [DEBUG] (migrate_etc) Traceback (most recent call last): File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1534, in thread_group_handler t.join_with_exceptions() File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1525, in join_with_exceptions raise exc[1] File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1510, in run self._function(*self._func_args, **self._func_kwargs) File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 848, in run_rpm_perms new_fs.path("/etc/crypto-policies/back-ends/"), 0o644 File "/tmp/tmp.69sLEgMtmJ/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 894, in change_dir_perms os.chmod(os.path.join(root, f), mode) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/mnt.BUBfh//etc/crypto-policies/back-ends/openssh.config' ~~~~~~ This issue did not occur when testing the build "redhat-virtualization-host-4.4.4-20210125.0.el8_3".