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 1918156 - [machines] The page will be turned white if deleting the cdrom by "rm -rf" before installation
Summary: [machines] The page will be turned white if deleting the cdrom by "rm -rf" be...
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-20 08:19 UTC by YunmingYang
Modified: 2021-05-18 15:53 UTC (History)
6 users (show)

Fixed In Version: 236
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-20 08:19:58 UTC
Description of problem:
Create a VM which is not installed. Then delete the cdrom by "rm -rf $vol_path". After that, go to the VM detail page, and click the "Install" button, the page will be turned 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 Create a VM which is not installed
2 delete the cdrom by "rm -rf $vol_path"
3 Go the VM detail page, and click "Install" button

Actual results:
1 The page will be turned white

Expected results: 
1 There will be an error shown on the page, and the page will not be turned white

Additional info:

Comment 1 Katerina Koukiou 2021-01-21 17:51:10 UTC
This was fixed upstream by https://github.com/cockpit-project/cockpit/pull/15154.

Comment 2 YunmingYang 2021-02-04 05:33:44 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 Create a VM which is not installed
2 Delete the cdrom by "rm -rf $vol_path"
3 Go the VM detail page, and 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 again. And the page won't be turned white. There will be also an error under the VM name, and the error can be closed. The VM also still exists.

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

Comment 5 YunmingYang 2021-02-07 06:11:55 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 Create a VM which is not installed
2 Delete the cdrom by "rm -rf $vol_path"
3 Go the VM detail page, and 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 again. And the page won't be turned white. There will be also an error under the VM name, and the error can be closed. The VM also 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.