Bug 1662213
Summary: | When adding a disk to a VM via cockpit, qcow2 is added as 'raw' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Marcus West <mwest> | ||||
Component: | cockpit-appstream | Assignee: | Katerina Koukiou <kkoukiou> | ||||
Status: | CLOSED ERRATA | QA Contact: | YunmingYang <yunyang> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 8.0 | CC: | kkoukiou, mpitt, mtessun, qiyuan | ||||
Target Milestone: | rc | ||||||
Target Release: | 8.1 | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
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: | |||||||
Attachments: |
|
Description
Marcus West
2018-12-27 05:28:43 UTC
Created attachment 1516984 [details]
disk attach screen
In this screenshot, 'vdc' is the incorrect disk (qcow2 added as 'raw')
Fix landed upstream: https://github.com/cockpit-project/cockpit/pull/10897 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 VM and add a qcow2 disk for it 2.Check the disk type by using command which is 'virsh dumpxml ${vmname}' 3.Use command to check the disk(eg:df -h /dev/vd*) 4.Use command to write something into the disk(eg:dd if=/dev/zero of=${filename} bs=1M count=1000) Test Results: The xml results from command 'virsh dumpxml ${vmnamd}': <disk type='volume' device='disk'> <driver name='qemu' type='qcow2'/> <source pool='default' volume='dddd'/> <backingStore/> <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> The information of the disk is correct, and the disk can be also wrote. According to the results, the qcow2 disk can be added correctly through page.So move the status to VERIFIED. 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 |