Bug 2016004 - [RFE] RHCOS: help determining whether a user-provided image was already booted (Ignition provisioning already performed)
Summary: [RFE] RHCOS: help determining whether a user-provided image was already boote...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RHCOS
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.10.0
Assignee: Jonathan Lebon
QA Contact: HuijingHei
URL:
Whiteboard:
Depends On: 2016008
Blocks: 1977949
TreeView+ depends on / blocked
 
Reported: 2021-10-20 15:12 UTC by Jonathan Lebon
Modified: 2024-10-01 19:15 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This enhancement adds information on the terminal console describing when the machine was provisioned via Ignition and whether a user Ignition config was provided. This allows users to verify that Ignition ran when they expected it to.
Clone Of: 1977949
Environment:
Last Closed: 2022-03-10 16:21:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift os pull 658 0 None open fedora-coreos-config: bump to a1f89fa997e9ff7324017fedb8ba18af4165e64f 2021-10-20 15:13:14 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:21:28 UTC

Comment 1 HuijingHei 2021-10-29 13:33:38 UTC
As the PR merged, pre-verify with rhcos-410.84.202110272040-0-qemu.x86_64.qcow2

1) Test with no config and reboot
Red Hat Enterprise Linux CoreOS 410.84.202110272040-0 (Ootpa) 4.10
Ignition: ran on 2021/10/29 08:24:29 UTC (at least 1 boot ago)
Ignition: no config provided by user
SSH host key: SHA256:arNM3nvmmg+KF3yeua1/N4A8zU7SQkVlAZKcKt/T45M (ED25519)
SSH host key: SHA256:Z86QviaA7aWbxA8aRLQfRu1XBjorXNznb4CZ4vxYNtQ (ECDSA)
SSH host key: SHA256:aXX8cFG3MQPk/XjWKbSgXMylF73qBzlm8wl5yujncuU (RSA)
ens2: 192.168.122.117 fe80::1d0a:b642:25c7:4cfe
localhost login:

2) Test with config and reboot
Red Hat Enterprise Linux CoreOS 410.84.202110272040-0 (Ootpa) 4.10
Ignition: ran on 2021/10/29 13:26:40 UTC (at least 1 boot ago)
Ignition: user-provided config was applied
SSH host key: SHA256:FEvnio3mKfJSHbsJjzExkirCxO0m0w3DR1R9O1e6+ik (ED25519)
SSH host key: SHA256:pa3GgzXScYfAtaFmL65am5gQC1bB3Qb5H+rLpQF0XGk (ECDSA)
SSH host key: SHA256:taaynDMDFOHjOZHm6ETt6APiSNM5N6aHlzc9iUzFtLM (RSA)
ens4: 10.0.2.15 fe80::17e2:f826:32c4:6e86
cosa-devsh login: core (automatic login)

@jlebon, is the result expected? Thanks!

Comment 2 Jonathan Lebon 2021-10-29 13:45:31 UTC
Yes, it looks good. Thanks Huijing!

Comment 3 HuijingHei 2021-10-29 14:07:17 UTC
Thanks Jonathan, change Verified status to tested

Comment 4 RHCOS Bug Bot 2021-11-15 03:33:58 UTC
This bug has been reported fixed in a new RHCOS build and is ready for QE verification.  To mark the bug verified, set the Verified field to Tested.  This bug will automatically move to MODIFIED once the fix has landed in a new bootimage.

Comment 5 RHCOS Bug Bot 2021-11-15 03:35:03 UTC
The fix for this bug has landed in a bootimage bump, as tracked in bug 2016008 (now in status ON_QA).  Moving this bug to MODIFIED.

Comment 7 HuijingHei 2021-11-15 13:20:18 UTC
Verify passed with RHCOS 410.84.202111111322-0 qcow2 image

1) Test with no config using libvirt
Red Hat Enterprise Linux CoreOS 410.84.202111111322-0 (Ootpa) 4.10
Ignition: ran on 2021/11/15 13:05:22 UTC (this boot)
Ignition: no config provided by user
SSH host key: SHA256:5jmMnBumWgRcujpYlI+QdYwDmHR3Fkzm5Hp8OpwCf8o (ED25519)
SSH host key: SHA256:96QuhwX//yfv6hzbfix1weDdevD0SNPFENzHb1OidRM (ECDSA)
SSH host key: SHA256:s9mTK02DkurdfS1RlGfK22Y9rDo89ShcjBvd2dc6Pv0 (RSA)
localhost login:

2) Test with config and reboot 2 times
Red Hat Enterprise Linux CoreOS 410.84.202111111322-0 (Ootpa) 4.10
Ignition: ran on 2021/11/15 12:56:59 UTC (at least 2 boots ago)
Ignition: user-provided config was applied
SSH host key: SHA256:/yu+zKnd8jOTjyTGLeAGUpNW2vFEiK8G2ZNDIkvLZFs (ECDSA)
SSH host key: SHA256:Ce0/IEq3vVhy9gDjd97eJmig0yEnVJD477qWhUWepUk (ED25519)
SSH host key: SHA256:zxqg0QHQwAU8AQY87f6yZNXMUWmoxO+yM4TZVw+3qfM (RSA)
ens4: 10.0.2.15 fe80::acb7:e8c3:5321:594e
cosa-devsh login: core (automatic login)

Comment 11 errata-xmlrpc 2022-03-10 16:21:06 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 (Moderate: OpenShift Container Platform 4.10.3 security 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-2022:0056


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