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 1916120 - [machines] The VM detail page turns white when installing
Summary: [machines] The VM detail page turns white when installing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.4
Assignee: Katerina Koukiou
QA Contact: YunmingYang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-14 09:23 UTC by YunmingYang
Modified: 2021-05-18 15:53 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:53:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description YunmingYang 2021-01-14 09:23:47 UTC
Description of problem:
If 'default' network is inactive, then create a VM with "Local install media" and without checking "Immediately start VM", go to the detail page and click "Install" button, the detail page will turn white.

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

How reproducible:
100%

Steps to Reproduce:
1 Make sure default network status is inactive
2 Create a VM with "Local install media" and without checking "Immediately start VM"
3 Go to the detail page of the VM
4 Click "Install" button

Actual results:
1 After step 4, the VM detail page turns white

Expected results: 
1 After step 4, VM detail page will be redirected to VM list page correctly, and there will be an error shown, which is "network 'default' is not active"

Additional info:

Comment 1 Katerina Koukiou 2021-01-15 11:40:31 UTC
PR posted upstream https://github.com/cockpit-project/cockpit/pull/15154

The only point I would like to make here, is that the expected behavior when the user is in the VM details and clicks the 'Install' button is IMO slightly different.

* the user should remain in the VM details page,
* the 'Install' button should get disabled
* the 'Install' button should get marked with an spinner to show indicate the in progress operation
* in the case of failure there will indeed be a alert present in the same page

Comment 2 YunmingYang 2021-02-04 05:24:29 UTC
Pre-verified Versions:
cockpit-machines-236-1.el8.noarch
cockpit-236-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64

Pre-verified Steps:
1 Make sure default network status is inactive
2 Create a VM with "Local install media" and without checking "Immediately start VM"
3 Go to the detail page of the VM
4 Click "Install" button

Pre-verified Results:
1 After clicking the 'Install' button, the button is disabled, and get marked with an spinner to indicate the in progress operation. Then, after some seconds, the "Install" button is enabled. There will be an error shown under the VM name,the error message is "network 'default' is not active". The error can be closed. The VM still exists.

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

Comment 5 YunmingYang 2021-02-07 05:37:11 UTC
Test Versions:
cockpit-machines-237-1.el8.noarch
cockpit-236-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.3.0+6423+e4cb6418.x86_64


Test Steps:
1 Make sure default network status is inactive
2 Create a VM with "Local install media" and without checking "Immediately start VM"
3 Go to the detail page of the VM
4 Click "Install" button

Test Results:
1 After clicking the 'Install' button, the button is disabled, and get marked with an spinner to indicate the in progress operation. Then, after some seconds, the "Install" button is enabled. There will be an error shown under the VM name,the error message is "network 'default' is not active". The error can be closed. The VM still exists.

According to the results, move the status to VERIFIED.

Comment 7 errata-xmlrpc 2021-05-18 15:53:30 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


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