Created attachment 1749005 [details] /var/log/imgbased.log Description of problem: Upgrade RHVH from 4.4.4 to the latest 4.4.5-1, it will fail with FileNotFoundError Version-Release number of selected component (if applicable): redhat-virtualization-host-4.4.5-20210119.0.el8_3 How reproducible: 100% Steps to Reproduce: 1. Install redhat-virtualization-host-4.4.4-20210106.0.el8_3 2. Setup local repos and point to "redhat-virtualization-host-4.4.5-20210119.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-20 16:18:04,710 [DEBUG] (migrate_etc) Traceback (most recent call last): File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1519, in run self._function(*self._func_args, **self._func_kwargs) File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 856, in run_rpm_perms new_fs.path("/etc/crypto-policies/back-ends/"), 0o644 File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 902, in change_dir_perms os.chmod(os.path.join(root, f), mode) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/mnt.ITJT2//etc/crypto-policies/back-ends/bind.config' 2021-01-20 16:18:04,710 [DEBUG] (migrate_etc) Traceback (most recent call last): File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1543, in thread_group_handler t.join_with_exceptions() File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1534, in join_with_exceptions raise exc[1] File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/utils.py", line 1519, in run self._function(*self._func_args, **self._func_kwargs) File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 856, in run_rpm_perms new_fs.path("/etc/crypto-policies/back-ends/"), 0o644 File "/tmp/tmp.mNFbRiSiq5/usr/lib/python3.6/site-packages/imgbased/plugins/osupdater.py", line 902, in change_dir_perms os.chmod(os.path.join(root, f), mode) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/mnt.ITJT2//etc/crypto-policies/back-ends/bind.config' ~~~~~~
This issue has been solved on the latest build "redhat-virtualization-host-4.4.5-20210204.0.el8_3". Will move the bug status to "VERIFIED", after "ON_QA".
Move the bug Status to "VERIFIED" according to Comment 3.
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 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-2021:1189