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 1765491

Summary: [7.8][machines] Storage pool deletion issue when it's volume is attached to a VM
Product: Red Hat Enterprise Linux 7 Reporter: YunmingYang <yunyang>
Component: cockpitAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.8CC: kkoukiou, mpitt, mtessun, skobyda, wshi, xchen, ymao
Target Milestone: rcKeywords: Extras, Rebase
Target Release: 7.8   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1731865 Environment:
Last Closed: 2020-04-01 00:24:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1731865    
Bug Blocks:    

Comment 2 Xianghua Chen 2019-11-06 07:57:58 UTC
Please help to check and give pm_ack+ if we are going to fix it in rhel7.8.0, thanks.

Comment 4 Xianghua Chen 2019-11-11 06:11:57 UTC
Thanks for the quick fix.
I think we still need the pm_ack+ flag according to the bug process, could you help to check  and set the flag? Thanks a lot.

Comment 5 YunmingYang 2019-11-15 08:56:01 UTC
Test Versions:
cockpit-machines-195.5-2.el7.x86_64
libvirt-dbus-1.3.0-1.el7.x86_64


Test Steps:
1.Create a VM, a storage pool whose type is 'filesystem' and a storage pool whose type is ISCSI
2.Create a volume in the filesystem storage pool, then attach this disk to the VM.
3.Try to delete the filesystem storage pool with checking 'Delete the Volumes inside this Pool' through page
4.Attach the disk in ISCSI storage pool to the VM, then check the ISCSI storage pool on page


Test Results:
1.after step3, the 'Delete' button in the confirming dialog is grey and unclickable with a notification which is 'Pool's volumes are used by ${VM} test. Detach the disks using this pool from any VMs before attempting deletion.'
2.After step 4, the button of the storage pool row is gray and unclickable with a notification which is 'Pool's volumes are used by ${VM} test. Detach the disks using this pool from any VMs before attempting deletion.'

According to the results, move the status to VERIFIED.

Comment 7 errata-xmlrpc 2020-04-01 00:24:32 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-2020:1219