Bug 2037908 - [4.7] ostree-finalize-staged.service failed while upgrading a rhcos node to 4.6.17
Summary: [4.7] ostree-finalize-staged.service failed while upgrading a rhcos node to 4...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.7.z
Assignee: Colin Walters
QA Contact: Aashish Radhakrishnan
URL:
Whiteboard:
Depends On: 2037907
Blocks: 2037909
TreeView+ depends on / blocked
 
Reported: 2022-01-06 19:39 UTC by RHCOS Bug Bot
Modified: 2022-01-19 13:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2037907
: 2037909 (view as bug list)
Environment:
Last Closed: 2022-01-19 13:30:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2029576 1 urgent CLOSED backport https://github.com/ostreedev/ostree/pull/2453 [rhel-8.2.0.z] 2022-02-22 15:24:51 UTC
Red Hat Product Errata RHBA-2022:0117 0 None None None 2022-01-19 13:30:55 UTC

Internal Links: 2029576

Description RHCOS Bug Bot 2022-01-06 19:39:22 UTC
Backport the fix for bug 1945274 to 4.7.

Comment 1 Micah Abbott 2022-01-07 17:02:06 UTC
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.

Comment 4 Aashish Radhakrishnan 2022-01-13 23:11:51 UTC
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)

Comment 6 errata-xmlrpc 2022-01-19 13:30:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.