Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: libvirtError: Domain not found: no domain with matching uuid 'xxxx' Version-Release number of selected component (if applicable): virt-manager-1.4.3-3.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Prepare a guest, keep it in shutdown status. 2. Open virt-manager and connect to the connection which has the guest. 3. Clone the guest with "--replace" argument. # virt-clone -o test --name test -f /var/lib/libvirt/images/e.img --debug --replace Actual results: libvirtError: Domain not found: no domain with matching uuid 'xxxx' displays. Expected results: No libvirtError displays and the guest should be opened successfully. Additional info:
Created attachment 1402961 [details] virt-manager debug log
Moving to upstream, this is corner case where you need to clone guest to the same name, which is almost never done by users, and you need to have virt-manager GUI running.
In my testing with current git this doesn't seem to happen, so I guess it's fixed nowadays