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 1859008

Summary: [machines] 'Disk' is not the first of boot order after 'PXE' installation
Product: Red Hat Enterprise Linux 8 Reporter: YunmingYang <yunyang>
Component: cockpit-appstreamAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.3CC: leiwang, mmarusak, mpitt, wshi, xchen, ymao
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 233.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:53:08 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 YunmingYang 2020-07-21 04:42:51 UTC
Description of problem:
In past versions, after 'PXE' installation, 'disk' will be the first of boot order. For now, after 'PXE' installation, 'network' will be the first.

Version-Release number of selected components (if applicable):
cockpit-machines-223-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with 'PXE' for its 'Installation Type', follow installation steps, then finish the installation for restarting or shutting off the VM

Actual results:
1. After step 1, 'network' will be the first boot order.

Expected results: 
1. After step 1, 'disk' will be the first boot order. Or we need a notification, like 'You maybe need to change boot order manually after PXE installation', to let users know this point.

Comment 2 Katerina Koukiou 2020-11-23 16:15:00 UTC
This seems to have been fixed with commit: 

commit 26cdd533d3634efc4208a5940c7374a13447900a
Author: Katerina Koukiou <kkoukiou>
Date:   Tue Jul 21 16:39:21 2020 +0200

    machines:  add --wait -1 option to virt-install for all installation types

$ git describe  26cdd533d3
223-41-g26cdd533d

So available in 224.

Comment 3 YunmingYang 2020-12-04 05:30:32 UTC
Pre-verified Versions:
cockpit-machines-233.1-1.el8.noarch
cockpit-224.2-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

Pre-verified Steps:
1 Create a VM with 'PXE' for its 'Installation Type', follow installation steps, then finish the installation by restarting or shutting off the VM

Pre-verified Results:
1 The VM can be run correctly, and after restarting or shutting off, 'disk' is the first boot option and also the only checked boot options.

According to the results, change ‘Verified’ status to ‘TESTED’.

Comment 6 YunmingYang 2020-12-13 17:52:12 UTC
Verified Versions:
cockpit-machines-233.1-1.el8.noarch
cockpit-224.2-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

Verified Steps:
1 Create a VM with 'PXE' for its 'Installation Type', follow installation steps, then finish the installation by restarting or shutting off the VM

Pre-verified Results:
1 The VM can be run correctly, and after restarting or shutting off, 'disk' is the first boot option and also the only checked boot options.

According to the results, move the status to ‘VERIFIED’.

Comment 8 errata-xmlrpc 2021-05-18 15:53:08 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 (cockpit-appstream 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-2021:1875