Re: [libvirt] Attempting to pivot disk with incomplete mirror results in hang

2015-01-14 Thread Scott Sullivan
On 01/13/2015 11:48 PM, Eric Blake wrote: On 01/13/2015 12:43 PM, Scott Sullivan wrote: I have what appears to be a bug when pivoting a disk during a block copy that is not yet 100% finished, resulting in the pivot command hanging. I have verified this problem on libvirt 1.2.10. I couldn't

Re: [libvirt] Attempting to pivot disk with incomplete mirror results in hang

2015-01-13 Thread Scott Sullivan
On 01/13/2015 02:43 PM, Scott Sullivan wrote: I have what appears to be a bug when pivoting a disk during a block copy that is not yet 100% finished, resulting in the pivot command hanging. I have verified this problem on libvirt 1.2.10. Here's what Im seeing (transient guest): 1.) Start

[libvirt] Attempting to pivot disk with incomplete mirror results in hang

2015-01-13 Thread Scott Sullivan
I have what appears to be a bug when pivoting a disk during a block copy that is not yet 100% finished, resulting in the pivot command hanging. I have verified this problem on libvirt 1.2.10. Here's what Im seeing (transient guest): 1.) Start the block copy: [root@host ~]# virsh blockcopy

Re: [libvirt] Attempting to pivot disk with incomplete mirror results in hang

2015-01-13 Thread Scott Sullivan
On 01/13/2015 03:05 PM, Eric Blake wrote: On 01/13/2015 12:43 PM, Scott Sullivan wrote: I have what appears to be a bug when pivoting a disk during a block copy that is not yet 100% finished, resulting in the pivot command hanging. I have verified this problem on libvirt 1.2.10. Known issue

Re: [libvirt] libnuma build failure [was: securityselinuxlabeltest test fails on v1.2.5]

2014-07-01 Thread Scott Sullivan
On 06/30/2014 05:26 PM, Eric Blake wrote: On 06/30/2014 01:46 PM, Scott Sullivan wrote: I've tested the v1.2.6-rc2 git tag, im getting this build error: CC util/libvirt_util_la-virnuma.lo util/virnuma.c: In function 'virNumaNodeIsAvailable': util/virnuma.c:428: error: 'numa_nodes_ptr

Re: [libvirt] securityselinuxlabeltest test fails on v1.2.5

2014-06-30 Thread Scott Sullivan
On 06/26/2014 05:36 PM, Eric Blake wrote: On 06/26/2014 09:38 AM, Scott Sullivan wrote: On 06/26/2014 10:09 AM, Ján Tomko wrote: On 06/26/2014 03:56 PM, Scott Sullivan wrote: 1) Labelling disks ... internal error: File /home/rpmbuild/packages

Re: [libvirt] securityselinuxlabeltest test fails on v1.2.5

2014-06-26 Thread Scott Sullivan
On 06/25/2014 01:18 PM, Eric Blake wrote: On 06/25/2014 11:08 AM, Scott Sullivan wrote: I am trying to build v1.2.5-maint, however I have one test failing causing the build to fail: TEST: securityselinuxlabeltest !!!. 4 FAIL Can you rerun

Re: [libvirt] securityselinuxlabeltest test fails on v1.2.5

2014-06-26 Thread Scott Sullivan
On 06/26/2014 10:09 AM, Ján Tomko wrote: On 06/26/2014 03:56 PM, Scott Sullivan wrote: 1) Labelling disks ... internal error: File /home/rpmbuild/packages/libvirt/tests/securityselinuxlabeldata/plain.raw context 'EOPNOTSUPP' did not match

[libvirt] securityselinuxlabeltest test fails on v1.2.5

2014-06-25 Thread Scott Sullivan
I am trying to build v1.2.5-maint, however I have one test failing causing the build to fail: TEST: securityselinuxlabeltest !!!. 4 FAIL PASS: virsh-undefine === 1 of 112 tests failed Please report to

Re: [libvirt] [PATCH] is_selinux_enabled returns -1 on error, account for this.

2014-03-20 Thread Scott Sullivan
On 03/20/2014 11:27 AM, Michal Privoznik wrote: On 18.03.2014 18:02, Scott Sullivan wrote: Per the documentation, is_selinux_enabled() returns -1 on error. Account for this. Previously when -1 was being returned the condition would still be true. I was noticing this because on my system

Re: [libvirt] [PATCH] is_selinux_enabled returns -1 on error, account for this.

2014-03-19 Thread Scott Sullivan
On 03/18/2014 01:02 PM, Scott Sullivan wrote: Per the documentation, is_selinux_enabled() returns -1 on error. Account for this. Previously when -1 was being returned the condition would still be true. I was noticing this because on my system that has selinux disabled I was getting

[libvirt] [PATCH] is_selinux_enabled returns -1 on error, account for this.

2014-03-18 Thread Scott Sullivan
. From 23e0780db43ebd3ea90710750639df901c261674 Mon Sep 17 00:00:00 2001 From: Scott Sullivan ssulli...@liquidweb.com Date: Tue, 18 Mar 2014 12:55:50 -0400 Subject: [PATCH] is_selinux_enabled returns -1 on error, account for this. --- src/security/security_selinux.c |2 +- src/util/viridentity.c

Re: [libvirt] 1.2.0 segfault on Centos 6

2014-02-20 Thread Scott Sullivan
On 02/04/2014 05:23 PM, Jiri Denemark wrote: On Tue, Feb 04, 2014 at 17:02:41 +0100, Franky Van Liedekerke wrote: Hi, using libvirt 1.2.0 on a up-to-date Centos6.5 machine leads to occasional segmentation faults (see below). Sometimes it runs for 5 minutes, sometimes for an hour, but after

[libvirt] virsh [attach-detach]-device question

2013-08-06 Thread Scott Sullivan
I have noticed a behavior I am hoping someone can help me understand. Consider the following scenario: 1.) Start a test dummy qemu-kvm instance with no OS via virsh named no_os. 2.) Attach a device to it; [root@host ~]# virsh attach-device no_os /root/hotplug_device_b.xml Device attached

Re: [libvirt] virsh [attach-detach]-device question

2013-08-06 Thread Scott Sullivan
On 08/06/2013 08:54 AM, Scott Sullivan wrote: I have noticed a behavior I am hoping someone can help me understand. Consider the following scenario: 1.) Start a test dummy qemu-kvm instance with no OS via virsh named no_os. 2.) Attach a device to it; [root@host ~]# virsh attach-device no_os

Re: [libvirt] virsh nodeinfo CPU detection questions

2013-01-30 Thread Scott Sullivan
On 01/29/2013 02:55 PM, Doug Goldstein wrote: On Tue, Jan 29, 2013 at 9:52 AM, Scott Sullivanssulli...@liquidweb.com wrote: I have a machine with four AMD Opteron(TM) 6272 processors:

[libvirt] virsh nodeinfo CPU detection questions

2013-01-29 Thread Scott Sullivan
I have a machine with four AMD Opteron(TM) 6272 processors: http://www.amd.com/us/products/server/processors/6000-series-platform/6200/Pages/6200-series-processors.aspx#5 I use 'virsh nodeinfo' to determine the amount of physical CPUs, and CPU cores. What values should I be looking at in the

Re: [libvirt] libvirtd segfault

2013-01-03 Thread Scott Sullivan
On 01/02/2013 09:45 AM, Scott Sullivan wrote: On 12/29/2012 04:09 AM, Michal Privoznik wrote: On 28.12.2012 20:23, Scott Sullivan wrote: snip/ I have just now received another SIGSEGV, with your patch applied. Here's the info from the GDB session: Detaching after fork from child process

Re: [libvirt] libvirtd segfault

2013-01-02 Thread Scott Sullivan
On 12/29/2012 04:09 AM, Michal Privoznik wrote: On 28.12.2012 20:23, Scott Sullivan wrote: snip/ I have just now received another SIGSEGV, with your patch applied. Here's the info from the GDB session: Detaching after fork from child process 11266. 2012-12-28 18:56:53.261+: 29943

Re: [libvirt] libvirtd segfault

2012-12-28 Thread Scott Sullivan
0x003009ae570d in clone () from /lib64/libc.so.6 (gdb) On 12/27/2012 01:15 PM, Scott Sullivan wrote: ### Libvirt version: ### libvirt tagged v1.0.0 from git , with f0e72b2f5c675f927d04545dc5095f9e5998f171 applied ### Problem: ### Libvirtd segfaults ### Steps to reproduce

Re: [libvirt] libvirtd segfault

2012-12-28 Thread Scott Sullivan
On 12/28/2012 10:50 AM, Michal Privoznik wrote: On 28.12.2012 14:24, Scott Sullivan wrote: In case its useful, here's the 'bt' output from this session as well: (gdb) bt #0 qemuDomainObjBeginJobInternal (driver=0x7fffe401d740, driver_locked=true, obj=0x7fff80001b00, job=QEMU_JOB_DESTROY

Re: [libvirt] libvirtd segfault

2012-12-28 Thread Scott Sullivan
On 12/28/2012 01:31 PM, Scott Sullivan wrote: On 12/28/2012 10:50 AM, Michal Privoznik wrote: On 28.12.2012 14:24, Scott Sullivan wrote: In case its useful, here's the 'bt' output from this session as well: (gdb) bt #0 qemuDomainObjBeginJobInternal (driver=0x7fffe401d740, driver_locked=true

[libvirt] libvirtd segfault

2012-12-27 Thread Scott Sullivan
### Libvirt version: ### libvirt tagged v1.0.0 from git , with f0e72b2f5c675f927d04545dc5095f9e5998f171 applied ### Problem: ### Libvirtd segfaults ### Steps to reproduce: ### This is difficult to reproduce; but appears to happen only when doing 'virsh destroys', and when they are ran in

[libvirt] libvirt RBD attach regression?

2012-11-21 Thread Scott Sullivan
be of any further assistance with this, let me know. Thanks, Scott Sullivan -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] libvirt RBD attach regression?

2012-11-21 Thread Scott Sullivan
Hello, We were able to come up with this patch, which does fix the problem in our use case: http://pastebin.com/izx40mRd Interested to hear any feedback on the patch. On 11/21/2012 12:13 PM, Eric Blake wrote: On 11/21/2012 09:45 AM, Scott Sullivan wrote: Hello, I have been testing