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 2129529

Summary: Unable to eject iso image
Product: Red Hat Enterprise Linux 9 Reporter: g.danti
Component: cockpit-machinesAssignee: Simon Kobyda <skobyda>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.0CC: g.danti, kkoukiou, mmarusak, mpitt, qzhang, redhat-bugzilla, wshi, xchen, ymao, yunyang
Target Milestone: rcKeywords: Triaged
Target Release: 9.2Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-machines-280-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:34:03 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 g.danti 2022-09-24 12:46:29 UTC
Description of problem:
cockpit-machines is unable to eject an iso file from its virtual cdrom. To free the iso file, one had to poweroff the machine and detaching the cdrom drive itself.

Note that such simple operation (eject a virtual cdrom/iso file) is supported by virt-manager.

Version-Release number of selected component (if applicable):
cockpit-machines 263

How reproducible:
Always

Steps to Reproduce:
1. attach an iso file as a virtual cdrom drive
2. poweron the machine
3. no methods exist to eject iso file.

Actual results:
Can not free an iso file unless poweroff the machine and detaching the virtual cdrom drive itself.

Expected results:
Able to eject a virtual cdrom

Additional info:
None

Comment 10 YunmingYang 2023-01-20 14:14:33 UTC
Test Versions:
cockpit-283-1.el8.x86_64
cockpit-machines-283-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.8.0+16781+9f4724c2.x86_64

Test Steps:
1 Create a closed VM
2 Attach a CDROM disk
3 Run the VM, click "Eject" of the CDROM 

Test Results:
1 After step 2, there will be an "Eject" button for the CDROM disk
2 After step 3, the source of the CDROM disk is ejected

According to the results, move status to VERIFIED.

Comment 12 errata-xmlrpc 2023-05-09 07:34:03 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-machines 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-2023:2211

Comment 13 Red Hat Bugzilla 2023-09-19 04:27:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days