Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2230111

Summary: Backport https://github.com/ostreedev/ostree/pull/2969/commits/402e04280b54c058ad47be99fe6a9326caf2ae00 [rhel-9.2.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: ostreeAssignee: Joseph Marrero <jmarrero>
Status: CLOSED ERRATA QA Contact: RHCOS SST QE <rhcos-sst-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: aaradhak, bstinson, dornelas, hhei, jmarrero, jwboyer
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ostree-2023.1-7.el9_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2230059 Environment:
Last Closed: 2023-09-12 10:13:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2221997, 2230059    
Bug Blocks:    

Comment 1 HuijingHei 2023-08-23 08:03:41 UTC
Verify passed with ostree-2023.1-7.el9_2.x86_64 on 4.13.0-0.nightly-2023-08-11-101506 as this the latest accepted version, thanks Joseph and Colin for the guidance.

Create cluster using OCP 4.13.0-0.nightly-2023-08-11-101506 on gcp, exec steps according to the video of Colin (see https://issues.redhat.com/browse/OCPBUGS-15917?focusedId=22747033&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-22747033), and run `ip link set ens4 down; sleep 5; reboot`, check the node is down, when node is back after waiting about 30min, check that we have kernel parameter `test=1`.

Steps:

$ oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.13.0-0.nightly-2023-08-11-101506   True        False         14m     Cluster version is 4.13.0-0.nightly-2023-08-11-101506

[root@ci-ln-n858y12-72292-tjkhq-worker-a-cp22b /]# rpm -q ostree
ostree-2023.1-7.el9_2.x86_64

[root@ci-ln-n858y12-72292-tjkhq-worker-a-cp22b /]# cat /proc/cmdline 
... test=1

[root@ci-ln-n858y12-72292-tjkhq-worker-a-cp22b /]# journalctl -b 1 -u ostree-finalize-staged.service | cat
Aug 23 07:05:42 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b systemd[1]: Finished OSTree Finalize Staged Deployment.
Aug 23 07:05:46 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b systemd[1]: Stopping OSTree Finalize Staged Deployment...
Aug 23 07:05:46 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2525]: Finalizing staged deployment
Aug 23 07:05:48 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2525]: Copying /etc changes: 13 modified, 0 removed, 121 added
Aug 23 07:05:48 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2525]: Copying /etc changes: 13 modified, 0 removed, 121 added
Aug 23 07:05:48 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2534]: The --rebuild-if-modules-changed option is deprecated. Use --refresh instead.
Aug 23 07:05:50 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2525]: Bootloader updated; bootconfig swap: yes; bootversion: boot.0.1, deployment count change: 1
Aug 23 07:05:50 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b ostree[2525]: Bootloader updated; bootconfig swap: yes; bootversion: boot.0.1, deployment count change: 1
Aug 23 07:05:50 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b systemd[1]: ostree-finalize-staged.service: Deactivated successfully.
Aug 23 07:05:50 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b systemd[1]: Stopped OSTree Finalize Staged Deployment.
Aug 23 07:05:50 ci-ln-n858y12-72292-tjkhq-worker-a-cp22b systemd[1]: ostree-finalize-staged.service: Consumed 2.013s CPU time.

Comment 4 HuijingHei 2023-08-24 08:23:24 UTC
Change status to verified according to result in Comment 1

Comment 10 errata-xmlrpc 2023-09-12 10:13:38 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 (ostree 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-2023:5087