| Summary: | Adding new virtual disk creates virtural disk linked to file of previous virtual disk. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ľuboš Kardoš <lkardos> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | berrange, crobinso, hbrock, jforbes, jorton, virt-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-manager-0.9.1-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-14 08:57:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Upstream now: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=d692ea652dc17e15a90ea2ae7dff517b2db43f14 Actually there is already another bug tracking this, closing as dup *** This bug has been marked as a duplicate of bug 684150 *** Gah nevermind, that is a RHEL bug. virt-manager-0.9.1-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/virt-manager-0.9.1-1.fc15 Package virt-manager-0.9.1-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing virt-manager-0.9.1-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1173/virt-manager-0.9.1-1.fc15 then log in and leave karma (feedback). virt-manager-0.9.1-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: In virt-manager, install a new guest, then customize the configuration, Select Add Hardware->Storage, Create disk image on the computer's hard drive. It makes link to previous disk. Steps to Reproduce: 1. Launch virt-manager,Create a new guest 2. Tick 'Customize configuration before install', click Finish 3. Add Hardware->Storage. 4. Tick 'Create disk image on the computer's hard drive', click Finish. Actual results: Two virtual disk with same source path. Expected results: Two virtual disk with different source path. Additional info: cat virt-manager.log [St, 13 júl 2011 13:05:49 virt-manager 23142] INFO (virt-manager:175) Application startup [St, 13 júl 2011 13:05:49 virt-manager 23142] DEBUG (virt-manager:363) Launched as: /usr/share/virt-manager/virt-manager.py [St, 13 júl 2011 13:05:49 virt-manager 23142] DEBUG (virt-manager:364) GTK version: (2, 24, 4) [St, 13 júl 2011 13:05:50 virt-manager 23144] DEBUG (engine:338) About to connect to uris ['qemu:///system'] [St, 13 júl 2011 13:05:50 virt-manager 23144] DEBUG (engine:464) window counter incremented to 1 [St, 13 júl 2011 13:05:50 virt-manager 23144] DEBUG (connection:905) Scheduling background open thread for qemu:///system [St, 13 júl 2011 13:05:50 virt-manager 23144] DEBUG (connection:1065) Background thread is running [St, 13 júl 2011 13:05:57 virt-manager 23144] DEBUG (connection:1093) Background open thread complete, scheduling notify [St, 13 júl 2011 13:05:57 virt-manager 23144] DEBUG (connection:1098) Notifying open result [St, 13 júl 2011 13:05:58 virt-manager 23144] DEBUG (connection:1105) qemu:///system capabilities: <capabilities> <host> <uuid>817b83d3-7b50-cb11-be3a-87752660104c</uuid> <cpu> <arch>x86_64</arch> <model>Westmere</model> <vendor>Intel</vendor> <topology sockets='1' cores='2' threads='2'/> <feature name='rdtscp'/> <feature name='x2apic'/> <feature name='xtpr'/> <feature name='tm2'/> <feature name='est'/> <feature name='vmx'/> <feature name='ds_cpl'/> <feature name='monitor'/> <feature name='pbe'/> <feature name='tm'/> <feature name='ht'/> <feature name='ss'/> <feature name='acpi'/> <feature name='ds'/> <feature name='vme'/> </cpu> <migration_features> <live/> <uri_transports> <uri_transport>tcp</uri_transport> </uri_transports> </migration_features> <topology> <cells num='1'> <cell id='0'> <cpus num='4'> <cpu id='0'/> <cpu id='1'/> <cpu id='2'/> <cpu id='3'/> </cpus> </cell> </cells> </topology> <secmodel> <model>selinux</model> <doi>0</doi> </secmodel> </host> <guest> <os_type>hvm</os_type> <arch name='i686'> <wordsize>32</wordsize> <emulator>/usr/bin/qemu</emulator> <machine>pc-0.14</machine> <machine canonical='pc-0.14'>pc</machine> <machine>fedora-13</machine> <machine>pc-0.13</machine> <machine>pc-0.12</machine> <machine>pc-0.11</machine> <machine>pc-0.10</machine> <machine>isapc</machine> <domain type='qemu'> </domain> <domain type='kvm'> <emulator>/usr/bin/qemu-kvm</emulator> <machine>pc-0.14</machine> <machine canonical='pc-0.14'>pc</machine> <machine>fedora-13</machine> <machine>pc-0.13</machine> <machine>pc-0.12</machine> <machine>pc-0.11</machine> <machine>pc-0.10</machine> <machine>isapc</machine> </domain> </arch> <features> <cpuselection/> <deviceboot/> <pae/> <nonpae/> <acpi default='on' toggle='yes'/> <apic default='on' toggle='no'/> </features> </guest> <guest> <os_type>hvm</os_type> <arch name='x86_64'> <wordsize>64</wordsize> <emulator>/usr/bin/qemu-system-x86_64</emulator> <machine>pc-0.14</machine> <machine canonical='pc-0.14'>pc</machine> <machine>fedora-13</machine> <machine>pc-0.13</machine> <machine>pc-0.12</machine> <machine>pc-0.11</machine> <machine>pc-0.10</machine> <machine>isapc</machine> <domain type='qemu'> </domain> <domain type='kvm'> <emulator>/usr/bin/qemu-kvm</emulator> <machine>pc-0.14</machine> <machine canonical='pc-0.14'>pc</machine> <machine>fedora-13</machine> <machine>pc-0.13</machine> <machine>pc-0.12</machine> <machine>pc-0.11</machine> <machine>pc-0.10</machine> <machine>isapc</machine> </domain> </arch> <features> <cpuselection/> <deviceboot/> <acpi default='on' toggle='yes'/> <apic default='on' toggle='no'/> </features> </guest> </capabilities> [St, 13 júl 2011 13:05:58 virt-manager 23144] DEBUG (connection:205) Using libvirt API for netdev enumeration [St, 13 júl 2011 13:05:58 virt-manager 23144] DEBUG (connection:244) Using libvirt API for mediadev enumeration [St, 13 júl 2011 13:06:03 virt-manager 23144] DEBUG (create:743) Guest type set to os_type=hvm, arch=x86_64, dom_type=kvm [St, 13 júl 2011 13:06:12 virt-manager 23144] DEBUG (create:1780) Starting OS detection thread for media=http://download.englab.brq.redhat.com/released/F-15/GOLD/Fedora/x86_64/os/ [St, 13 júl 2011 13:06:12 virt-manager 23144] DEBUG (DistroInstaller:120) DistroInstaller location is a network source. [St, 13 júl 2011 13:06:12 virt-manager 23144] DEBUG (OSDistro:65) Attempting to detect distro: [St, 13 júl 2011 13:06:12 virt-manager 23144] DEBUG (ImageFetcher:83) Fetching URI: http://download.englab.brq.redhat.com/released/F-15/GOLD/Fedora/x86_64/os/.treeinfo [St, 13 júl 2011 13:06:12 virt-manager 23144] DEBUG (ImageFetcher:94) Saved file to /var/tmp/virtinst-.treeinfo.7yWfIP [St, 13 júl 2011 13:06:13 virt-manager 23144] DEBUG (create:1807) Leaving OS detection thread. [St, 13 júl 2011 13:06:14 virt-manager 23144] DEBUG (DistroInstaller:120) DistroInstaller location is a network source. [St, 13 júl 2011 13:06:20 virt-manager 23144] DEBUG (create:885) Default storage path is: /var/lib/libvirt/images/bugtes.img [St, 13 júl 2011 13:06:20 virt-manager 23144] DEBUG (VirtualDisk:224) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'bugtes.img'. [St, 13 júl 2011 13:06:24 virt-manager 23144] DEBUG (create:1551) Creating a VM bugtes Type: kvm,hvm UUID: fdc43370-1495-3306-686b-fcfae11ca1b8 Install Source: http://download.englab.brq.redhat.com/released/F-15/GOLD/Fedora/x86_64/os/ OS: linux:fedora15 Kernel args: None Memory: 512 Max Memory: 512 # VCPUs: 1 Filesize: 2.0 [St, 13 júl 2011 13:06:25 virt-manager 23144] DEBUG (engine:464) window counter incremented to 2 [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (addhardware:538) Default storage path is: /var/lib/libvirt/images/bugtes.img [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (VirtualDisk:224) Path '/var/lib/libvirt/images' is target for pool 'default'. Creating volume 'bugtes.img'. [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (addhardware:902) Starting background file allocate process [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (Storage:1138) Creating storage volume 'bugtes.img' with xml: <volume> <name>bugtes.img</name> <capacity>2147483648</capacity> <allocation>2147483648</allocation> <target> <format type='raw'/> </target> </volume> [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (Storage:1161) Storage volume 'bugtes.img' install complete. [St, 13 júl 2011 13:06:32 virt-manager 23144] DEBUG (addhardware:904) Allocation completed [St, 13 júl 2011 13:06:33 virt-manager 23144] DEBUG (addhardware:922) Adding device: <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/images/bugtes.img'/> <target dev='hda' bus='ide'/> </disk> [St, 13 júl 2011 13:06:33 virt-manager 23144] DEBUG (libvirtobject:140) Redefining 'bugtes' with XML diff: --- Original XML +++ New XML @@ -22,6 +22,11 @@ <source file="/var/lib/libvirt/images/bugtes.img"/> <target dev="vda" bus="virtio"/> </disk> + <disk type="file" device="disk"> + <driver name="qemu" type="raw"/> + <source file="/var/lib/libvirt/images/bugtes.img"/> + <target dev="hda" bus="ide"/> + </disk> <interface type="network"> <source network="default"/> <mac address="52:54:00:65:84:f4"/> [St, 13 júl 2011 13:06:33 virt-manager 23144] DEBUG (Storage:1195) Couldn't lookup storage volume in prog thread.