[DNG] libvirt - can't create snapshot
Hi, I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian 7.11. I would like to create snapshot but when I type as root: 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1 --description "clear system" error: failed to get domain 'devuan_jessie' error: An error occurred, but the cause is unknown". 2) "virsh list --all" command return empty list. Has anyone had this problem before? Regards, Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] libvirt - can't create snapshot
On 08/08/16 00:37, Paweł Cholewiński wrote: Hi, I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian 7.11. I would like to create snapshot but when I type as root: 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1 --description "clear system" error: failed to get domain 'devuan_jessie' error: An error occurred, but the cause is unknown". 2) "virsh list --all" command return empty list. Has anyone had this problem before? Only when the machine(s) were created as non-root. Ralph. Regards, Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] libvirt - can't create snapshot
W dniu 07.08.2016 o 16:46, Ralph Ronnquist pisze: On 08/08/16 00:37, Paweł Cholewiński wrote: Hi, I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian 7.11. I would like to create snapshot but when I type as root: 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1 --description "clear system" error: failed to get domain 'devuan_jessie' error: An error occurred, but the cause is unknown". 2) "virsh list --all" command return empty list. Has anyone had this problem before? Only when the machine(s) were created as non-root. Ralph. Regards, Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng Thanks Ralph. I read that I must add "--connect qemu:///system" parameter to be able to create snapshot. Regards Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] libvirt - can't create snapshot
In my experience, there's no need to be root for creating and running libvirt VM's. I needed to be root only to set up the VDE host-only network for them to attach to, and then all else can be done non-root. Ralph. On 08/08/16 04:52, Paweł Cholewiński wrote: W dniu 07.08.2016 o 16:46, Ralph Ronnquist pisze: On 08/08/16 00:37, Paweł Cholewiński wrote: Hi, I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian 7.11. I would like to create snapshot but when I type as root: 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1 --description "clear system" error: failed to get domain 'devuan_jessie' error: An error occurred, but the cause is unknown". 2) "virsh list --all" command return empty list. Has anyone had this problem before? Only when the machine(s) were created as non-root. Ralph. Regards, Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng Thanks Ralph. I read that I must add "--connect qemu:///system" parameter to be able to create snapshot. Regards Paweł ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] libvirt - can't create snapshot
On Mon, 8 Aug 2016 07:37:54 +1000, Ralph wrote in message <5d50b9d2-8420-138b-525f-b19ab51f8...@gmail.com>: > In my experience, there's no need to be root for creating and running > libvirt VM's. I needed to be root only to set up the VDE host-only > network for them to attach to, and then all else can be done non-root. > > Ralph. ..could this be the SystemD guys targetting https://www.qubes-os.org/? > On 08/08/16 04:52, Paweł Cholewiński wrote: > > W dniu 07.08.2016 o 16:46, Ralph Ronnquist pisze: > >> On 08/08/16 00:37, Paweł Cholewiński wrote: > >>> Hi, > >>> > >>> I test devuan with libvirt (Virtual Machine Manager 0.9.1) on > >>> Debian 7.11. I would like to create snapshot but when I type as > >>> root: 1) "virsh snapshot-create-as --domain devuan_jessie --name > >>> snapshot1 --description "clear system" > >>> error: failed to get domain 'devuan_jessie' > >>> error: An error occurred, but the cause is unknown". > >>> > >>> 2) "virsh list --all" > >>> command return empty list. > >>> > >>> > >>> Has anyone had this problem before? > >> > >> Only when the machine(s) were created as non-root. > >> > >> Ralph. -- ..med vennlig hilsen = with Kind Regards from Arnt Karlsen ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] libvirt - can't create snapshot
mmm... I'm fairly sure I don't grasp the full depth of your note, but certainly I don't want to be taken for a SystemD guy. Ralph. On 08/08/16 18:33, Arnt Karlsen wrote: On Mon, 8 Aug 2016 07:37:54 +1000, Ralph wrote in message <5d50b9d2-8420-138b-525f-b19ab51f8...@gmail.com>: In my experience, there's no need to be root for creating and running libvirt VM's. I needed to be root only to set up the VDE host-only network for them to attach to, and then all else can be done non-root. Ralph. ..could this be the SystemD guys targetting https://www.qubes-os.org/? On 08/08/16 04:52, Paweł Cholewiński wrote: W dniu 07.08.2016 o 16:46, Ralph Ronnquist pisze: On 08/08/16 00:37, Paweł Cholewiński wrote: Hi, I test devuan with libvirt (Virtual Machine Manager 0.9.1) on Debian 7.11. I would like to create snapshot but when I type as root: 1) "virsh snapshot-create-as --domain devuan_jessie --name snapshot1 --description "clear system" error: failed to get domain 'devuan_jessie' error: An error occurred, but the cause is unknown". 2) "virsh list --all" command return empty list. Has anyone had this problem before? Only when the machine(s) were created as non-root. Ralph. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng