Bug 1565106
Summary: | Error creating virtual machine clone 'xxx': missing source information for device xxx | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaodai Wang <xiaodwan> | ||||
Component: | virt-manager | Assignee: | Pavel Hrdina <phrdina> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.5 | CC: | juzhou, meili, mxie, mzhan, phrdina, tzheng, xuzhang | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | virt-manager-1.5.0-2.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-08-06 13:07:59 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: |
|
Description
Xiaodai Wang
2018-04-09 12:08:04 UTC
Created attachment 1419199 [details]
virt-manager debug log
Upstream commit: commit a02fc0d02272ade8aea851be4e0f7c7ec38de2fe Author: Pavel Hrdina <phrdina> Date: Tue Mar 5 10:16:06 2019 +0100 virtManager: clone: build default clone path if we know how I can reproduce this issue with package: virt-manager-1.4.3-3.el7.noarch Then try to verify this bug with new build: virt-manager-1.5.0-3.el7.noarch virt-install-1.5.0-3.el7.noarch libvirt-4.5.0-12.el7.x86_64 qemu-kvm-rhev-2.12.0-26.el7.x86_64 libvirt-python-4.5.0-1.el7.x86_64 Steps: 1. Prepare a guest has two disks, one of them is readonly. <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/rhel7.6-1.qcow2'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/rhel7.6-bios.qcow2'/> <target dev='vdb' bus='virtio'/> <readonly/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </disk> 1.1. Open virt-manager to clone the guest. 1.1.1 Launch virt-manager. 1.1.2 Choose the shutdown guest you want to clone and right click to choose 'clone'. 1.3. In Clone virtual machine dialog, choose 'Clone this disk' for the readonly disk. 1.4. Click 'clone' button. Result: Clone is success,then start the new guest to check. 1.5 Check disk's configuration in guest's xml file #virsh dumpxml rhel7.6-bios-clone <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/rhel7.6-bios-clone.qcow2'/> <backingStore/> <target dev='vdb' bus='virtio'/> <readonly/> <alias name='virtio-disk1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </disk> Result:Virt-clone can prepare the default path for user when they want to clone ReadOnly disk. Clone is success and the newly cloned guest can start successfully. I move this bug from ON_QA to VERIFIED based on above testing. 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:2232 |