Backport the fix for bug 1945274 to 4.7.
RHCOS 47.84.202201071525-0 built on Jan 7 2022 includes `ostree-2020.7-6.el8_4`. This version of RHCOS should appear in an OCP 4.7.z release in the near future.
Verified on RHCOS - 47.84.202201101903-0 [core@localhost ~]$ rpm -q ostree strace ostree-2020.7-6.el8_4.x86_64 strace-5.7-2.1.el8_4.x86_64 [core@localhost ~]$ sudo rpm-ostree override replace strace-5.13-2.el8.x86_64.rpm Checking out tree 3caac84... done No enabled rpm-md repositories. Importing rpm-md... done Resolving dependencies... done Applying 1 override Processing packages... done Running pre scripts... done Running post scripts... done Running posttrans scripts... done Writing rpmdb... done Writing OSTree commit... done Staging deployment... done Upgraded: strace 5.7-2.1.el8_4 -> 5.13-2.el8 Run "systemctl reboot" to start a reboot [core@localhost ~]$ sudo reboot Connection to 192.168.122.84 closed by remote host. Connection to 192.168.122.84 closed. [aaradhak@aaradhak ~]$ ssh core.122.84 Red Hat Enterprise Linux CoreOS 47.84.202201101903-0 Part of OpenShift 4.7, RHCOS is a Kubernetes native operating system managed by the Machine Config Operator (`clusteroperator/machine-config`). WARNING: Direct SSH access to machines is not recommended; instead, make configuration changes via `machineconfig` objects: https://docs.openshift.com/container-platform/4.7/architecture/architecture-rhcos.html --- Last login: Thu Jan 13 22:59:36 2022 from 192.168.122.1 [core@localhost ~]$ rpm -q strace strace-5.13-2.el8.x86_64 [core@localhost ~]$ ls strace-5.13-2.el8.x86_64.rpm [core@localhost ~]$ journalctl -b "-1" -u ostree-finalize-staged.service -- Logs begin at Thu 2022-01-13 22:48:48 UTC, end at Thu 2022-01-13 23:04:14 UT> Jan 13 23:03:01 localhost systemd[1]: Started OSTree Finalize Staged Deployment. Jan 13 23:03:23 localhost systemd[1]: Stopping OSTree Finalize Staged Deploymen> Jan 13 23:03:23 localhost ostree[1639]: Finalizing staged deployment Jan 13 23:03:24 localhost ostree[1639]: Copying /etc changes: 8 modified, 0 rem> Jan 13 23:03:24 localhost ostree[1639]: Copying /etc changes: 8 modified, 0 rem> Jan 13 23:03:25 localhost ostree[1639]: Bootloader updated; bootconfig swap: ye> Jan 13 23:03:25 localhost ostree[1639]: Bootloader updated; bootconfig swap: ye> Jan 13 23:03:25 localhost systemd[1]: ostree-finalize-staged.service: Succeeded. Jan 13 23:03:25 localhost systemd[1]: Stopped OSTree Finalize Staged Deployment. lines 1-10/10 (END)
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 (OpenShift Container Platform 4.7.41 bug fix 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/RHBA-2022:0117