Bug 1415126
Summary: | virt-manager cannot show correct size and format for qcow2 image which not managed by dir-pool | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | zhoujunqin <juzhou> | ||||||
Component: | virt-manager | Assignee: | Pavel Hrdina <phrdina> | ||||||
Status: | CLOSED CANTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.9 | CC: | crobinso, kuwei, mxie, rbalakri, tzheng, xiaodwan | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-03-02 19:39:31 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: | |||||||||
Attachments: |
|
Created attachment 1242715 [details]
screenshot-1
Thanks for the report, but this is not something that we can realistically 'fix' in RHEL6. The way this works upstream is that we will automatically create a storage pool for the parent directory, so that we can leverage libvirt's storage knowledge to introspect the selected disk image. This work can not be backported and can not easily be worked around. So this is CANTFIX for RHEL6 |
Created attachment 1242714 [details] screenshot-2 Description of problem: virt-manager cannot show correct size and format for qcow2 image which not managed by dir-pool Version-Release number of selected component (if applicable): virt-manager-0.9.0-34.el6.x86_64 libvirt-0.10.2-62.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.501.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Make sure there is no dir pool using path: /var/test1/ 2. Create a new qcow2 image under path: /var/test1/ # qemu-img create -f qcow2 /var/test1/testjuzhou.img +6G Formatting '/var/test1/testjuzhou.img', fmt=qcow2 size=6442450944 encryption=off cluster_size=65536 # qemu-img info /var/test1/testjuzhou.img image: /var/test1/testjuzhou.img file format: qcow2 virtual size: 6.0G (6442450944 bytes) disk size: 196K cluster_size: 65536 3. Then launch virt-manager to install a guest on this existing qcow2 image. # virt-manager In "step 4 of 5", choose "Select managed or other existing storage", input "/var/test1/testjuzhou.img", then click "Forward". In "step 5 of 5" page, it shows: Storage: 0.0 GB /var/test1/testjuzhou.img->screenshot-1 Tick "Customize configuration before install" and click "Finish". In last page check disk information->screenshot-2. Storage size: 0.19M Storage format: raw And after installation starting, it will also failed at disk partitioning page. Actual results: As above. Expected results: Show qcow2 disk size correctly. Additional info: After i create a new dir pool using path "/var/test1/", then do above step again, virt-manager will show disk size and format correctly.