Hi again Eric, I think I need to rephrase what I'm trying to achieve as you seem to be pointing me to things which are on a higher level of complexity. What I'm really trying to do is clone a machine *from* and *to* the same host. I am not migrating a machine to another host. I only have one host at the moment. So the source and destination are the same machine and instance. What I do have is two other machines on which I use virt-manager to *remotely* manage this host and which are giving me different outputs. On these two client machines, I open virt-manager, I connect via ssh to the host and try to clone a machine (again, source and destination are the same host). When doing this on one machine (Debian) it works, but on the other (Gentoo) it fails with the error from before. And as stated on the previous message, I tried to create the default pool on both machines but it made no difference. Thanks, Renato Quoting Eric Blake on 06-09-2012 22:56: > On 09/06/2012 03:49 PM, Renato Alves wrote: >> Hi Eric, >> >> Thanks for the feedback. >> >> I don't quite understand why I need a storage pool on the client if I'm >> cloning from and to the remote server, but here is the output. > > You don't need it on the client, but on the source and destination. > >> >> This is what I get on all 3 machines: the host (Ubuntu) and 2 clients >> (Debian and Gentoo) > > I guess I wasn't quite sure of your setup. I will _also_ caution you > that if your source and destination hosts are not using identical qemu > versions, you risk the migration failing for other reasons (for example, > you cannot migrate between Fedora and CentOS hosts, because the two > distros have slightly diverged on the set of patches applied to qemu). > >> >> Then on the Debian machine which has no virtual machine running, if I >> run the above commands as the user I use with virt-manager I get: >> >> # virsh pool-list >> Name State Autostart >> ----------------------------------------- > > There's your problem. Debian isn't auto-installing a 'default' pool, > and without a pool, libvirt can't clone the file from the source. >
Attachment:
signature.asc
Description: OpenPGP digital signature