Hide Forgot
Description of problem: Refresh volumes button does not recognize the changed format of volumes. Version-Release number of selected component (if applicable): virt-manager-0.9.0-7.el6 libvirt-0.9.4-20.el6 python-virtinst-0.600.0-5.el6 qemu-kvm-0.12.1.2-2.204.el6.x86_64 # uname -a Linux wjw.nay.redhat.com 2.6.32-214.el6.x86_64 #1 SMP Tue Oct 25 19:48:00 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux How reproducible: always Steps to Reproduce: 1. Launch the virt-manager. 2. Install a guest and make sure the img format is raw: # qemu-img info 6.1demo.img image: 6.1demo.img file format: raw virtual size: 8.0G (8589934592 bytes) disk size: 8.0G 3. Prepare a qcow2 img: # qemu-img create 6.1demo-clone.img -f qcow2 8G Formatting '6.1demo-clone.img', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 # qemu-img info 6.1demo-clone.img image: 6.1demo-clone.img file format: qcow2 virtual size: 8.0G (8589934592 bytes) disk size: 136K cluster_size: 65536 4. Showdown the guest. 5. Clone the guest 6.1demo with the prepared qcow2 img, the qcow2 img will be changed to raw img after clone: # virt-clone -o 6.1demo -n 6.1demo-clone --file=/var/lib/libvirt/images/6.1demo-clone.img ERROR This will overwrite the existing path '/var/lib/libvirt/images/6.1demo-clone.img' (Use --prompt or --force to override) # virt-clone -o 6.1demo -n 6.1demo-clone --file=/var/lib/libvirt/images/6.1demo-clone.img --force Cloning 6.1demo.img | 6.1 GB 01:28 ... Clone '6.1demo-clone' created successfully. 6. Check that the format of 6.1demo-clone.img is changed to raw. # qemu-img info 6.1demo-clone.img image: 6.1demo-clone.img file format: raw virtual size: 6.1G (6578503680 bytes) disk size: 6.1G 7. Click the "Refresh volumes list" button of storage: Edit->Connection details-> Storage->select the pool which contain 6.1demo-clone.img-> click "Refresh volumes list" button 8. Check the format of 6.1demo-clone.img. Actual results: The format info of 6.1demo-clone.img still be displayed qcow2. Expected results: The format of 6.1demo-clone.img should refresh to raw. Additional info: If re-launch the virt-manager, the format info will be refreshed.
Not urgent, and given reduced capacity for virt-manager/virtinst, just moving this to the upstream tracker. We probably just aren't changing the format UI field when volume details change.
Fixed upstream: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=ce694fc76e0527999e40e645d7b1280eb91dd2a5