Bug 2144801
| Summary: | rebuild to include usb installation fix (growfs) and ignition injection support | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Antonio Murdaca <amurdaca> |
| Component: | rust-coreos-installer | Assignee: | idiez |
| Status: | CLOSED ERRATA | QA Contact: | Xiaofeng Wang <xiaofwan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.2 | CC: | amurdaca, idiez, perobins, xiaofwan, yih |
| Target Milestone: | rc | Keywords: | Rebase, Triaged |
| Target Release: | 9.2 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rust-coreos-installer-0.16.1-2.el9 | Doc Type: | Rebase: Bug Fixes and Enhancements |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:46:33 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: | |||
|
Description
Antonio Murdaca
2022-11-22 11:08:00 UTC
Tested the latest coreos-installer build https://kojihub.stream.rdu2.redhat.com/koji/buildinfo?buildID=27846, everything looks good, just one more step needed:to use that USB to boot a bare-metal machine. My steps: 1. create a local repo with coreos-installer rpm files. 2. add this local repo in osbuild-composer. 3. build a container image and serve it over httpd. 4. build a simplified-installer image. 5. run this command to provision edge vm: [root@yih-rhel91-core osbuild-composer]# sudo virt-install --name=add-usb --disk path="${LIBVIRT_IMAGE_PATH}",format=qcow2 --disk path="${LIBVIRT_FAKE_USB_PATH}",format=qcow2 --ram 3072 --vcpus 2 --network network=integration,mac=34:49:22:B0:83:32 --os-type linux --os-variant ${OS_VARIANT} --cdrom /var/lib/libvirt/images/0af3d8ad-83fd-4628-afea-28cf6523a27d-simplified-installer.iso --boot uefi,loader_ro=yes,loader_type=pflash,nvram_template=/usr/share/edk2/ovmf/OVMF_VARS.fd,loader_secure=no --nographics --noautoconsole --wait=15 --noreboot 6. after provision completed, boot the vm, and run this command: [admin@vm-uefi-02 ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sr0 11:0 1 1024M 0 rom vda 252:0 0 20G 0 disk ├─vda1 252:1 0 1M 0 part ├─vda2 252:2 0 127M 0 part /boot/efi ├─vda3 252:3 0 384M 0 part /boot └─vda4 252:4 0 19.5G 0 part └─luks-ef368bc7-3e2d-460a-a0ab-2978898411a1 253:0 0 19.5G 0 crypt └─rootvg-rootlv 253:1 0 9G 0 lvm /var /sysroot/ostree/deploy/redhat/var /usr /etc / /sysroot vdb 252:16 0 20G 0 disk Verified on coreos-installer-0.16.1-2.el9.x86_64.rpm. 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/RHEA-2023:2329 |