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 1692707

Summary: [machines]There is a Oops when use url to create the VMs with EDGE
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.0CC: leiwang, mpitt, qiyuan, wshi, xchen
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 20:41:55 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 2019-03-26 09:37:41 UTC
Description of problem:
When use EDGE to create VMs with url, there is a Oops on UI. The machine created by url isn't shown on UI, but it can be listed out by virsh cmd.


Version-Release number of selected component (if applicable):
cockpit-machines-184.1-1.el8.noarch
libvirt-dbus-1.2.0-2.module+el8+2704+d2eddeb5.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Use EDGE and log in the cockpit
2.Create a machine with url on Virtual Machines page 

Actual results:
1.There is an Oops on UI.
2.The machine isn't shown on UI.
3.The virsh cmd `virsh list --all` can get the information of the machine.

Expected results:
User can create the VMs wth url on EDGE

Additional info:
The information of Oops:
Cockpit had an unexpected internal error.You can try restarting Cockpit by pressing refresh your browser.

the information of javascript console:
SCRIPT5007: SCRIPT5007: Unable to get property 'nodeValue' of undefined or null reference       machines.js(67140,455)

Comment 1 Martin Pitt 2019-04-02 11:03:33 UTC
I tried to reproduce this with trying to create a VM with this URL: https://dl.fedoraproject.org/pub/fedora/linux/development/30/Server/x86_64/os/

I also get an Oops, but it looks different first: "SCRIPT5: SCRIPT5: Access is denied". But a few seconds later I get the same oops as you. So this reproduces fine on our Windows 10 test image.

Thanks!

Comment 2 Martin Pitt 2019-04-19 21:10:00 UTC
Fixed in https://github.com/cockpit-project/cockpit/pull/11639

Yunming, can you please QA ack?

Comment 4 YunmingYang 2019-05-29 06:30:58 UTC
Test Versions:
cockpit-machines-193-1.el8.noarch
libvirt-dbus-1.2.0-2.module+el8.1.0+2983+b2ae9c0a.x86_64

Test Steps:
1.Use the browser which is 'EDGE' and login the cockpit
2.Create a machine with url on Virtual Machines page 

Test Results:
The creation is successful and the installation is also successful. 


According to the results, The creation by using url on the EDGE is successful.So move the status to VERIFIED.

Comment 6 errata-xmlrpc 2019-11-05 20:41:55 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, 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-2019:3325