Bug 1668882

Summary: [machines] Cannot delete storage volumes that are in the storage pools.
Product: Red Hat Enterprise Linux 8 Reporter: Bimal Chollera <bcholler>
Component: cockpit-appstreamAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: mpitt, mtessun, qiyuan, usurse, xchen
Target Milestone: rcKeywords: Rebase
Target Release: 8.1Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
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:35 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:
Bug Depends On: 1678935    
Bug Blocks:    

Description Bimal Chollera 2019-01-23 19:43:58 UTC
Description of problem:

From the cockpit UI - Virtual Machines -> Storage Pools -> Storage Volumes.
There is no option to delete a volume.


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

cockpit-system-184-1.el8.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Pitt 2019-01-29 10:58:46 UTC
This is being worked on in https://github.com/cockpit-project/cockpit/pull/10944

Comment 2 Martin Pitt 2019-02-12 20:23:09 UTC
This landed in upstream release 187, thus on track for RHEL 8.1.

Comment 5 YunmingYang 2019-05-29 06:55:41 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.Create a storage pool through the page, and create a volume by command which is 'virsh vol-create-as ${poolname} ${volname} --capacity 50M --format qcow2'
2.Refresh the pool by command which is 'virsh pool-refresh ${poolname}', and check the volume on the page.
3.check the checkbox of the new volume through and click 'Delete 1 volume' button
4.Make sure with command which is 'virsh vol-list default'

Test Results:
The volume can be deleted through page


According to the results, the volume can be deleted through page.So move the status to VERIFIED.

Comment 7 errata-xmlrpc 2019-11-05 20:41:35 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