Bug 1652970

Summary: [machines] cockpit unable to remove disks from remove VM
Product: Red Hat Enterprise Linux 8 Reporter: Sterling Alexander <stalexan>
Component: cockpit-appstreamAssignee: Katerina Koukiou <kkoukiou>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: stalexan
Target Milestone: rc   
Target Release: 8.0   
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: 2018-11-26 12:36:29 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 Sterling Alexander 2018-11-23 18:21:25 UTC
Description of problem:  When adding a disk using the cockpit-machines UI, it is not possible to remove the disk.  The machine needs to be destroyed or the XML edited manually


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


How reproducible:  100% of the time, every time


Steps to Reproduce:
1.  Add a disk using cockpit-machines
2.  Shut down the VM
3.  There is no way to remove the disk

Actual results:  Disk is not removable using the UI


Expected results:  The disk can be removed


Additional info:

Comment 1 Katerina Koukiou 2018-11-26 08:19:29 UTC
Alexander which version of cockpit are you using? The feature to detach disks was introduced in cockpit 179. Also it's only available if libvirt-dbus package is installed.

Comment 2 Sterling Alexander 2018-11-26 12:36:29 UTC
Katerina,

Thanks for the pointer, I had been unable to find anything in the beta documentation regarding the need for that specific package.  I will write an article for the knowledge base.

After installation, I tested the feature and it works.

Sterling

Comment 3 Katerina Koukiou 2018-11-26 12:46:19 UTC
@Alexander So in rhel-beta there is cockpit-machines-180 and at that version we were not requiring the libvirt-dbus package. From 181 release and afterwards it's a required dependency for cockpit-machines, so user should not be bothered to installed it separately.

Comment 4 Sterling Alexander 2018-11-26 12:52:58 UTC
Katerina,

Thanks for that, no need for an additional knowledge article then.

Sterling