[libvirt-users] fsck and guest images

2013-07-02 Thread Jamie Fargen
Hey! I have some RHEL6 hypervisors and the VMs are in raw qemu image files in a local raid array linux raid + lvm + ext3. When a kernel update is installed a reboot is necessary, usually it has been more than 180 days since the last reboot and the file system is fsck'd and this takes 2-3 hours. I

Re: [libvirt-users] backup procedure using blockcopy

2013-07-02 Thread Eric Blake
On 07/02/2013 08:19 AM, Thomas Stein wrote: >> Try this modification (again untested, but at least doesn't have a block >> job running during the save attempt): >> >>virsh dumpxml --security-info dom > dom.xml >>virsh undefine dom >>virsh blockcopy dom vda /path/to/backup-vda >>poll

Re: [libvirt-users] backup procedure using blockcopy

2013-07-02 Thread Thomas Stein
Am 02.07.13 15:42, schrieb Eric Blake: > On 07/02/2013 06:55 AM, Thomas Stein wrote: >> >>> virsh dumpxml --security-info dom > dom.xml >>> virsh undefine dom >> >> Hello. >> >> Someone was talking about this (undefining the VM) would not be >> neccessary anymore when qemu-1.5 has been relea

Re: [libvirt-users] backup procedure using blockcopy

2013-07-02 Thread Eric Blake
On 07/02/2013 06:55 AM, Thomas Stein wrote: > >> virsh dumpxml --security-info dom > dom.xml >> virsh undefine dom > > Hello. > > Someone was talking about this (undefining the VM) would not be > neccessary anymore when qemu-1.5 has been released. Is that true? Undefining the VM will not be

Re: [libvirt-users] backup procedure using blockcopy

2013-07-02 Thread Thomas Stein
> virsh dumpxml --security-info dom > dom.xml > virsh undefine dom Hello. Someone was talking about this (undefining the VM) would not be neccessary anymore when qemu-1.5 has been released. Is that true? > virsh blockcopy dom vda /path/to/backup-vda > polling loop - check periodically u

[libvirt-users] libvirt & virtio_net - host.freeze@reset.domain

2013-07-02 Thread poma
Hello people, libvirtd (libvirt) 1.0.5.2 virsh 1.0.5.2 virt-manager 0.10.0 Host: Linux localhost 3.9.8-300.fc19.x86_64 #1 SMP Thu Jun 27 19:24:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Guest1: Linux localhost 3.9.8-300.fc19.i686.PAE #1 SMP Thu Jun 27 19:29:30 UTC 2013 i686 (none) Guest2: Linux l

[libvirt-users] Not able to create two cpusets with exclusive access

2013-07-02 Thread Peeyush Gupta
Hi all, I am trying to set up exclusive cpu access for two different VMs. Now, in the hierarchy, the directories of both the VM's are inside /libvirt/qemu/$VM. I have 3 cpus on my machine. I have done echo 0 > cpuset.cpus and echo 1 > cpuset.cpu_exclusive for one VM. Now, I am launching another

[libvirt-users] cpuset attribute not working with virt-install

2013-07-02 Thread Peeyush Gupta
Hi all, I have been trying to use cpuset with virt-install. I am using the following command: $ virt-install --virt-type kvm --name Ubuntu13 --ram 1024 --cdrom=/home/peeyush/Downloads/ubuntu-13.04-desktop-i386.iso --cpuset=0,2 --disk path=/var/lib/libvirt/guest.qcow2,size=10,format=qcow2 Now

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Daniel P. Berrange
On Mon, Jul 01, 2013 at 01:27:24PM +0200, Maciej Gałkiewicz wrote: > Hello > > I have a question about live migration when libvirt requires sasl > authentication. I have managed to configure remote access for user nova > with sasl enabled (credentials stored in auth.conf - > https://review.opensta

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/02/2013 10:43 AM, Maciej Gałkiewicz wrote: > On 2 July 2013 10:36, Martin Kletzander wrote: > >> I couldn't know you were able to do that. Since I presume you are using >> the same server and client to check that, I must fallback to default >> questions like "SELinux?". Or some OpenStack

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Maciej Gałkiewicz
On 2 July 2013 10:36, Martin Kletzander wrote: > I couldn't know you were able to do that. Since I presume you are using > the same server and client to check that, I must fallback to default > questions like "SELinux?". Or some OpenStack config which I > (unfortunately) know almost nothing abo

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/02/2013 10:13 AM, Maciej Gałkiewicz wrote: > On 2 July 2013 09:58, Martin Kletzander wrote: > >> I'd say this is a problem with sasl, nothing else. "No mechanism found" >> may mean that libraries for configured mechanism aren't found or unknown >> mechanism is being requested. I doubt tha

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Maciej Gałkiewicz
On 2 July 2013 09:58, Martin Kletzander wrote: > I'd say this is a problem with sasl, nothing else. "No mechanism found" > may mean that libraries for configured mechanism aren't found or unknown > mechanism is being requested. I doubt that access to those libraries > would be a permisison prob

Re: [libvirt-users] nova-compute, libvirt and authentication

2013-07-02 Thread Martin Kletzander
On 07/01/2013 01:27 PM, Maciej Gałkiewicz wrote: > Hello > > I have a question about live migration when libvirt requires sasl > authentication. I have managed to configure remote access for user nova > with sasl enabled (credentials stored in auth.conf - > https://review.openstack.org/#/c/12706/)