Bug 1804772
| Summary: | rpm-ostree should support --append and --delete of kernel args simultaneously | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Marc Sluiter <msluiter> |
| Component: | RHCOS | Assignee: | Colin Walters <walters> |
| Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.4 | CC: | bbreard, dshchedr, dustymabe, fsimonce, imcleod, jligon, markmc, miabbott, nstielau, perobins, smilner, walters |
| Target Milestone: | --- | ||
| Target Release: | 4.4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rpm-ostree-2019.6-8.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-04 11:37:45 UTC | Type: | Bug |
| 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: | 1807487 | ||
| Bug Blocks: | 1771572 | ||
|
Description
Marc Sluiter
2020-02-19 15:30:13 UTC
The KNI folks would like this fix as part of 4.4, ahead of the RHEL 8.2 release. Colin, can we get a fixed version of `rpm-ostree` built and included in the RHAOS 4.4 puddle? So that's only in 2019.7, but the latest errata https://errata.devel.redhat.com/advisory/47351 is for 2019.6. The tracker bug for that is: https://bugzilla.redhat.com/show_bug.cgi?id=1756192 I think at this point we need an exception or something to do another build? OK I filed a new bug https://bugzilla.redhat.com/show_bug.cgi?id=1807487 The fixed package landed in RHCOS 44.81.202003062006-0; all subsequent builds should have the fix. This can be moved to VERIFIED once it hits ON_QA ``` Red Hat Enterprise Linux CoreOS 44.81.202003110830-0 Part of OpenShift 4.4, 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.4/architecture/architecture-rhcos.html --- Last login: Thu Mar 12 14:15:36 2020 from 192.168.124.1 [core@localhost ~]$ rpm-ostree kargs rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard $ignition_firstboot ostree=/ostree/boot.0/rhcos/8e33da004cf9c41250a7fb2f8f125e9767bfe7343252ae5d2488b08a858f8d8a/0 foo=bar bar=foo pizza=life [core@localhost ~]$ sudo rpm-ostree kargs --delete pizza=life --append beer=life Staging deployment... done Kernel arguments updated. Run "systemctl reboot" to start a reboot [core@localhost ~]$ rpm-ostree kargs rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard $ignition_firstboot ostree=/ostree/boot.0/rhcos/8e33da004cf9c41250a7fb2f8f125e9767bfe7343252ae5d2488b08a858f8d8a/0 foo=bar bar=foo beer=life [core@localhost ~]$ sudo systemctl reboot ... Warning: Permanently added '192.168.124.105' (ECDSA) to the list of known hosts. Red Hat Enterprise Linux CoreOS 44.81.202003110830-0 Part of OpenShift 4.4, 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.4/architecture/architecture-rhcos.html --- Last login: Thu Mar 12 14:21:22 2020 from 192.168.124.1 [core@localhost ~]$ rpm-ostree kargs rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard $ignition_firstboot ostree=/ostree/boot.1/rhcos/8e33da004cf9c41250a7fb2f8f125e9767bfe7343252ae5d2488b08a858f8d8a/0 foo=bar bar=foo beer=life [core@localhost ~]$ cat /proc/cmdline BOOT_IMAGE=(hd0,gpt1)/ostree/rhcos-8e33da004cf9c41250a7fb2f8f125e9767bfe7343252ae5d2488b08a858f8d8a/vmlinuz-4.18.0-147.5.1.el8_1.x86_64 rhcos.root=crypt_rootfs console=tty0 console=ttyS0,115200n8 ignition.platform.id=qemu rd.luks.options=discard ostree=/ostree/boot.1/rhcos/8e33da004cf9c41250a7fb2f8f125e9767bfe7343252ae5d2488b08a858f8d8a/0 foo=bar bar=foo beer=life ``` Marking VERIFIED per comment #13 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, 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-2020:0581 |