[libvirt-users] different uuids, but still "Attempt to migrate guest to same host" error

2016-03-09 Thread Devin Reade
Background: -- I'm trying to debug a two-node pacemaker/corosync cluster where I want to be able to do live migration of KVM/qemu VMs. Storage is backed via dual-primary DRBD (yes, fencing is in place). When moving the VM between nodes via 'pcs resource move RES NODENAME', the live migr

[libvirt-users] Buggy 1.3.2? Disconnected from qemu:///session due to I/O error

2016-03-09 Thread Lars Kellogg-Stedman
I think I've hit the same problem that Predrag reported in http://comments.gmane.org/gmane.comp.emulators.libvirt.user/8825. With libvirt-1.3.2-1.fc23.x86_64 on Fedora 23, when I try uploading an image with vol-upload to a user libvirtd (qemu:///session): virsh vol-upload --pool default volum

[libvirt-users] How to test if a console session is active?

2016-03-09 Thread Peter Steele
I use libvirt to manage a container based environment. Is there an efficient method for testing if someone has a console session open for a given container? The approach I'm using at the moment is to use lsof and check if there is an entry for the container's console pts device. For example, I

[libvirt-users] Problems creating a LXC rootfs to be used with virt-manager

2016-03-09 Thread Markus Rhonheimer
Hello everyone, Laine Stump over at OFTC #virt was kind enough to point me to this email address. I am trying to run a LXC OS container with virt-manager and found out, that I need to create the rootfs with LXC/LXD and then point virt-manager to the rootfs location. ( I am running Ubuntu 16.

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Laine Stump
On 03/09/2016 09:53 AM, Andrei Perietanu wrote: On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani > wrote: On Wed, 2016-03-09 at 14:15 +, Andrei Perietanu wrote: > I am building a custom Linux image which includes KVM and will be installed on multiple

[libvirt-users] libvirtd vs XDG_RUNTIME_DIR

2016-03-09 Thread Lars Kellogg-Stedman
I ran into an odd problem today. I wanted to share it here in the hopes of maybe saving someone else some lost time. When you run libvirtd as an unprivileged user (e.g., if you target qemu:///session from a non-root account), then libvirt will open a unix domain socket in one of two places: - If

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Andrea Bolognani
On Wed, 2016-03-09 at 15:19 +, Andrei Perietanu wrote: > > Not shipping either just the first file mentioned > > or both of them in your image should do the trick. > > > Not shipping default.xml is easier said then done; even if I remove it from > the output build folder is still end's up > b

[libvirt-users] (no subject)

2016-03-09 Thread nidhi d
How do i add a new rpc to the existing code ? ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Peter Steele
I do something similar, generating a custom image that gets installed on multiple systems. I just have a startup script in my image that runs "virsh net-undefine default" during boot-up. If you are creating your own image, you should be able to insert something similar in your start-up process.

Re: [libvirt-users] unable to create preallocated image with gluster protocol

2016-03-09 Thread Prasanna Kumar Kalever
On Tuesday, March 8, 2016 3:44:46 PM, SATHEESARAN wrote: > Hi All, > > When I tried to create preallocated image with gluster , I am unable to > create one > The image gets created but not preallocated. > > [root@ ]# qemu-img create -f qcow2 -o preallocation=full > gluster://host1.lab.eng.blr.red

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Andrei Perietanu
On Wed, Mar 9, 2016 at 3:05 PM, Andrea Bolognani wrote: > On Wed, 2016-03-09 at 14:53 +, Andrei Perietanu wrote: > > > > On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani > wrote: > > > On Wed, 2016-03-09 at 14:15 +, Andrei Perietanu wrote: > > > > I am building a custom Linux image which

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Andrea Bolognani
On Wed, 2016-03-09 at 14:53 +, Andrei Perietanu wrote: > > On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani wrote: > > On Wed, 2016-03-09 at 14:15 +, Andrei Perietanu wrote: > > > I am building a custom Linux image which includes KVM and will be > > > installed on multiple machines. By d

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Andrei Perietanu
On Wed, Mar 9, 2016 at 2:49 PM, Andrea Bolognani wrote: > On Wed, 2016-03-09 at 14:15 +, Andrei Perietanu wrote: > > I am building a custom Linux image which includes KVM and will be > installed on multiple machines. By default when > > installing libvirt you get a 'default network' which add

Re: [libvirt-users] removing virbr0

2016-03-09 Thread Andrea Bolognani
On Wed, 2016-03-09 at 14:15 +, Andrei Perietanu wrote: > I am building a custom Linux image which includes KVM and will be installed > on multiple machines. By default when > installing libvirt you get a 'default network' which adds a 'vrbr0'. > I found several tutorials online about removing

[libvirt-users] removing virbr0

2016-03-09 Thread Andrei Perietanu
I am building a custom Linux image which includes KVM and will be installed on multiple machines. By default when installing libvirt you get a 'default network' which adds a 'vrbr0'. I found several tutorials online about removing this 'virbr0' but I would like to not have it in the first place. I