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 2179028 - Update rust-coreos-installer to latest upstream version 0.17.0 [rhel-9.3.0]
Summary: Update rust-coreos-installer to latest upstream version 0.17.0 [rhel-9.3.0]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rust-coreos-installer
Version: 9.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: RHCOS SST
QA Contact: HuijingHei
URL:
Whiteboard:
Depends On: 2177324
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-16 13:39 UTC by RHEL Program Management Team
Modified: 2023-11-07 10:09 UTC (History)
6 users (show)

Fixed In Version: rust-coreos-installer-0.17.0-1.el9
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Rebase package(s) to version: 0.17.0 Highlights, important fixes, or notable enhancements: - Support Ignition config spec 3.4.0 in `iso customize` and `pxe customize` - Support ISO Ignition embedding on s390x architecture - Avoid disabling ISO autologin in `iso customize` when only changing live kernel arguments - Avoid network fetch timeout when low-level formatting ECKD DASD
Clone Of: 2177324
Environment:
Last Closed: 2023-11-07 08:37:41 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-152077 0 None None None 2023-03-16 13:42:04 UTC
Red Hat Product Errata RHBA-2023:6579 0 None None None 2023-11-07 08:37:48 UTC

Comment 4 HuijingHei 2023-03-17 10:10:03 UTC
Start rhel9.3 image, install coreos-installer-0.17.0-1.el9.x86_64, using coreos-installer to install on another disk, by default it will install Fedora CoreOS stable image, finally can boot the installed disk.

Steps:
1) Start rhel9.3 VM with empty disk
$ qemu-img create -f qcow2 test.qcow2 10G

$ virt-install --import --name rhel9 --ram 2048 --disk path=/home/fedora/data/rhel-guest-image-9.3-20230317.27.x86_64.qcow2,format=raw --disk path=/home/fedora/data/test.qcow2 --os-variant rhel9-unknown --graphics none --network bridge=virbr0 


2) Install coreos-installer
[root@localhost ~]# dnf install -y coreos-installer-0.17.0-1.el9.x86_64.rpm coreos-installer-bootinfra-0.17.0-1.el9.x86_64.rpm
[root@localhost ~]# rpm -qa | grep coreos-installer
coreos-installer-0.17.0-1.el9.x86_64
coreos-installer-bootinfra-0.17.0-1.el9.x86_64

[root@localhost ~]# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
vda    252:0    0   10G  0 disk 
├─vda1 252:1    0    1M  0 part 
├─vda2 252:2    0  200M  0 part /boot/efi
├─vda3 252:3    0  500M  0 part /boot
└─vda4 252:4    0  9.3G  0 part /
vdb    252:16   0   10G  0 disk


3) By default it will install Fedora CoreOS stable image on the empty disk
[root@localhost ~]# coreos-installer install /dev/vdb \
--insecure-ignition \
--ignition-url http://192.168.122.1:8088/login.ign \
--console tty0 \
--console ttyS0,115200n8
Downloading Fedora CoreOS stable x86_64 metal image (raw.xz) and signature
> Read disk 628.7 MiB/628.7 MiB (100%)   
gpg: Signature made Mon Mar  6 16:56:30 2023 EST
gpg:                using RSA key ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
gpg: Good signature from "Fedora (37) <fedora-37-primary>" [ultimate]
[  493.039296] GPT:Primary header thinks Alt. header is not at the end of the disk.
[  493.039299] GPT:4911103 != 20971519
[  493.039300] GPT:Alternate GPT header not at the end of the disk.
[  493.039301] GPT:4911103 != 20971519
[  493.039301] GPT: Use GNU Parted to correct GPT errors.
[  493.039307]  vdb: vdb1 vdb2 vdb3 vdb4
Writing Ignition config
[  493.393500] EXT4-fs (vdb3): mounted filesystem with ordered data mode. Quota mode: none.
[  493.448690] EXT4-fs (vdb3): unmounting filesystem.


Note: detected other devices with a filesystem labeled `boot`:
  - /dev/vda3
The installed OS may not work correctly if there are multiple boot filesystems.
Before rebooting, investigate whether these filesystems are needed and consider
wiping them with `wipefs -a`.

Install complete.


4) Finally boot the installed disk
$ virt-install --import --name fcos --ram 2048 --disk path=/home/fedora/data/test.qcow2 --check all=off --os-variant rhel9-unknown --graphics none --network bridge=virbr0

...
Fedora CoreOS 37.20230218.3.0
[core@localhost ~]$ rpm-ostree status
State: idle
AutomaticUpdatesDriver: Zincati
  DriverState: active; periodically polling for updates (last checked Fri 2023-03-17 09:55:55 UTC)
Deployments:
● fedora:fedora/x86_64/coreos/stable
                  Version: 37.20230218.3.0 (2023-03-06T20:02:24Z)
                   Commit: d34ff10be925c01aad7d088fa2dcc18aaa3e9d7ead12081a18fb6883a94385d7
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A

Comment 5 HuijingHei 2023-03-17 10:14:28 UTC
> [root@localhost ~]# coreos-installer install /dev/vdb \
> --insecure-ignition \
> --ignition-url http://192.168.122.1:8088/login.ign \
> --console tty0 \
> --console ttyS0,115200n8
> Downloading Fedora CoreOS stable x86_64 metal image (raw.xz) and signature
...
> [  493.039296] GPT:Primary header thinks Alt. header is not at the end of the disk.
> [  493.039299] GPT:4911103 != 20971519

Just one minor question, when install Fedora CoreOS, get above logs, maybe it is harmless, but still want to confirm. Thanks!

Comment 6 Benjamin Gilbert 2023-03-17 10:15:41 UTC
Yes, those messages are normal and harmless.

Comment 7 HuijingHei 2023-04-03 05:26:06 UTC
(In reply to Benjamin Gilbert from comment #6)
> Yes, those messages are normal and harmless.

Thanks Benjamin for the confirmation. Change status to verified according to comment #4

Comment 13 errata-xmlrpc 2023-11-07 08:37: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 (rust-coreos-installer bug fix and enhancement 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:6579


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