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 1862106

Summary: [machines] Failed to detect os info with Local install media and there will be an Ooops when clicking the os textbox
Product: Red Hat Enterprise Linux 8 Reporter: Xianghua Chen <xchen>
Component: cockpit-appstreamAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: Xianghua Chen <xchen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.3CC: mmarusak, mpitt, wshi, ymao, yunyang
Target Milestone: rcKeywords: Rebase, Regression
Target Release: 8.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:09:57 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 Xianghua Chen 2020-07-30 13:29:05 UTC
Description of problem: 
Failed to detect os info with Local install media and there will be an Ooops when clicking the os textbox

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

How reproducible:
100%

Steps to Reproduce:
1. On host, prepare an RHEL8.2 iso
2. Click "Create VM", choose "Local Install Media", input the installation source with the iso in step 1.
3. Click the textbox in "Operating System" line
 
 
Actual results:
In step 2, failed to auto-detect the os info into  "Operating System" ,and the value is "[object Object]".
In step 3, Page crashed with an Ooops  on top right corner.

Expected results:
Os info should be detected correctly.

Additional info:

Comment 1 Katerina Koukiou 2020-07-30 13:48:43 UTC
This is fixed upstream and cherry-picked to rhel-8-3 branch
https://github.com/cockpit-project/cockpit/commit/5830bfd69d9b683fc393410ff424b4b54f34f45a

We will release in the following days 224-2 which will contain this fix.

Comment 4 Xianghua Chen 2020-08-11 07:57:48 UTC
Verified with package:
cockpit-machines-224.1-1.el8.noarch

Steps :
1. On host, prepare an RHEL8.2 iso
2. Click "Create VM", choose "Local Install Media", input the installation source with the iso in step 1.
3. Click the textbox in "Operating System" line
 
 
The os info can be detected into  "Operating System" .
So verified.

Comment 7 errata-xmlrpc 2020-11-04 03:09:57 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-2020:4705