[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2013-07-24 Thread Lewdmole
*** This bug is a duplicate of bug 1012946 *** https://bugs.launchpad.net/bugs/1012946 Still not fixed... I have found a workaround which was working (bellow) but now its not working anymore... Same stuff like above in previous posts... Someone spotted: Please note that if you want to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2013-07-24 Thread Lewdmole
*** This bug is a duplicate of bug 1012946 *** https://bugs.launchpad.net/bugs/1012946 Still not fixed... I have found a workaround which was working (bellow) but now its not working anymore... Same stuff like above in previous posts... Someone spotted: Please note that if you want to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2013-02-27 Thread Serge Hallyn
*** This bug is a duplicate of bug 1012946 *** https://bugs.launchpad.net/bugs/1012946 ** This bug has been marked a duplicate of bug 1012946 dm-part-sync.patch breaks creating multiple partitions on a LVM volume -- You received this bug notification because you are a member of Ubuntu

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2013-02-27 Thread Serge Hallyn
*** This bug is a duplicate of bug 1012946 *** https://bugs.launchpad.net/bugs/1012946 ** This bug has been marked a duplicate of bug 1012946 dm-part-sync.patch breaks creating multiple partitions on a LVM volume -- You received this bug notification because you are a member of Ubuntu

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
** Also affects: lvm2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
@Lewdmole, Looking at your vg and lvdisplay output, it looks like you should have plenty of space for vm5. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
@Lewdmole, Looking at your vg and lvdisplay output, it looks like you should have plenty of space for vm5. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Dmitrijs Ledkovs
Isn't this duplicate of bug 1012946 ? Can you please try parted from precise-proposed as per instructions in: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1012946/comments/11 and comment here or on the bug 1012946. -- You received this bug notification because you are a member of

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Lewdmole
Ok will give it a try and post on bug bug 1012946. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and hangs. To

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
** Also affects: lvm2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and hangs.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
@Lewdmole, Looking at your vg and lvdisplay output, it looks like you should have plenty of space for vm5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100%

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Serge Hallyn
@Lewdmole, Looking at your vg and lvdisplay output, it looks like you should have plenty of space for vm5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100%

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Dmitrijs Ledkovs
Isn't this duplicate of bug 1012946 ? Can you please try parted from precise-proposed as per instructions in: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1012946/comments/11 and comment here or on the bug 1012946. -- You received this bug notification because you are a member of

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-15 Thread Lewdmole
Ok will give it a try and post on bug bug 1012946. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and hangs. To manage notifications

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
Sorry for the delay I have tried File based VM works without problems. I can add another File based VM - I have installed via vmbuilder: vmbuilder kvm ubuntu \ --suite=precise \ --flavour=virtual \ --arch=amd64 \ --mem=512 \ --hostname=vm4 \ --bridge=br0 \

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
vgdisplay and lvdisplay Is there any minimum space required on volume group to create LVM based VM apart of the LV size of the particular VM ? ** Attachment added: lvdisplay.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3397953/+files/lvdisplay.txt -- You

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vgdisplay.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3397954/+files/vgdisplay.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Luke Randall
Sorry for not responding for so long. Just to be sure, your symptoms are exactly the same as in the Description - kvm hangs (no response to network or the vnc console) and takes 100% cpu? Yes, the symptoms are exactly the same. Unfortunately, based on your .xml file it looks like you're not

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
@Serge, Let me know what else we could try to diagnose this problem. This is the same VM machine created via vmbuilder with LVM volumes: lvcreate -L26G -n vm5 virtualvg vmbuilder.partition root 2 swap 6000 boot.sh # Install openssh-server apt-get update apt-get install -qqy --force-yes

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
VM Builder Logs for VM4 - File Based and VM5 - LVM Based Partition setup and boot.sh are identical: vmbuilder.partition root 2 swap 6000 boot.sh # Install openssh-server apt-get update apt-get install -qqy --force-yes openssh-server RESULT: VM4 (File Based) - Works No Problem VM5 (LVM

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vmbuilder-install-lvm-based-log.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398046/+files/vmbuilder-install-lvm-based-log.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: lvdisplay-after-vm5-install.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398048/+files/lvdisplay-after-vm5-install.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vgdisplay-after-vm5-install.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398047/+files/vgdisplay-after-vm5-install.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
Sorry for the delay I have tried File based VM works without problems. I can add another File based VM - I have installed via vmbuilder: vmbuilder kvm ubuntu \ --suite=precise \ --flavour=virtual \ --arch=amd64 \ --mem=512 \ --hostname=vm4 \ --bridge=br0 \

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
vgdisplay and lvdisplay Is there any minimum space required on volume group to create LVM based VM apart of the LV size of the particular VM ? ** Attachment added: lvdisplay.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3397953/+files/lvdisplay.txt -- You

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vgdisplay.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3397954/+files/vgdisplay.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Luke Randall
Sorry for not responding for so long. Just to be sure, your symptoms are exactly the same as in the Description - kvm hangs (no response to network or the vnc console) and takes 100% cpu? Yes, the symptoms are exactly the same. Unfortunately, based on your .xml file it looks like you're not

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
@Serge, Let me know what else we could try to diagnose this problem. This is the same VM machine created via vmbuilder with LVM volumes: lvcreate -L26G -n vm5 virtualvg vmbuilder.partition root 2 swap 6000 boot.sh # Install openssh-server apt-get update apt-get install -qqy --force-yes

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
VM Builder Logs for VM4 - File Based and VM5 - LVM Based Partition setup and boot.sh are identical: vmbuilder.partition root 2 swap 6000 boot.sh # Install openssh-server apt-get update apt-get install -qqy --force-yes openssh-server RESULT: VM4 (File Based) - Works No Problem VM5 (LVM

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vmbuilder-install-lvm-based-log.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398046/+files/vmbuilder-install-lvm-based-log.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: vgdisplay-after-vm5-install.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398047/+files/vgdisplay-after-vm5-install.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-14 Thread Lewdmole
** Attachment added: lvdisplay-after-vm5-install.txt https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1029889/+attachment/3398048/+files/lvdisplay-after-vm5-install.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-08 Thread Serge Hallyn
@Lewdmole, have you had a chance to try this out without lvm? ** Changed in: libvirt (Ubuntu) Status: New = Incomplete ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-10-08 Thread Serge Hallyn
@Lewdmole, have you had a chance to try this out without lvm? ** Changed in: libvirt (Ubuntu) Status: New = Incomplete ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-12 Thread Lewdmole
@Serge I have not tried that with non-LVM backend as we generalu use faster LVM backend. Will do a test next week after my vacations. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-12 Thread Lewdmole
@Serge I have not tried that with non-LVM backend as we generalu use faster LVM backend. Will do a test next week after my vacations. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title:

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-11 Thread Serge Hallyn
@Luke, thanks for the information. Just to be sure, your symptoms are exactly the same as in the Description - kvm hangs (no response to network or the vnc console) and takes 100% cpu? Unfortunately, based on your .xml file it looks like you're not using an LVM backed VM. I wonder if we

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-11 Thread Serge Hallyn
@Lewdmole, have you seen this happen with non-lvm backed VMs? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-11 Thread Serge Hallyn
@Luke, thanks for the information. Just to be sure, your symptoms are exactly the same as in the Description - kvm hangs (no response to network or the vnc console) and takes 100% cpu? Unfortunately, based on your .xml file it looks like you're not using an LVM backed VM. I wonder if we

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-11 Thread Serge Hallyn
@Lewdmole, have you seen this happen with non-lvm backed VMs? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and hangs. To manage

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
#0 0x7fc1e6d77823 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7fc1ea661da0 in main_loop_wait (nonblocking=optimized out) at main-loop.c:456 #2 0x7fc1ea5cb5ff in main_loop () at /build/buildd/qemu-kvm-1.0+noroms/vl.c:1482 #3 main (argc=optimized out, argv=optimized out,

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit lb1 or other application using the libvirt API. -- domain type='kvm' namelb1/name

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
I've attached the VM instance's definition and the debugging output from gdb (which seemed quite minimal). Let me know if you need me to install debugging symbols for libc as well, or if you need any other data. -- You received this bug notification because you are a member of Ubuntu Server

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
#0 0x7fc1e6d77823 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7fc1ea661da0 in main_loop_wait (nonblocking=optimized out) at main-loop.c:456 #2 0x7fc1ea5cb5ff in main_loop () at /build/buildd/qemu-kvm-1.0+noroms/vl.c:1482 #3 main (argc=optimized out, argv=optimized out,

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit lb1 or other application using the libvirt API. -- domain type='kvm' namelb1/name

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-08 Thread Luke Randall
I've attached the VM instance's definition and the debugging output from gdb (which seemed quite minimal). Let me know if you need me to install debugging symbols for libc as well, or if you need any other data. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Luke Randall
I have experienced the same issue with 1 of 3 identical machines. All Intel Xeon E31230 @ 3.20GHz. Let me know if there is anything I can do to help diagnose it. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Lewdmole
Hi, I still suffer from the issue described above even after various kernel and libvirt updates which were issued by ubuntu. Serge Hallyn tried to repeat this issue but without success. Please try the procedures I was trying and post the logs and debug information here along with your VM setup

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Serge Hallyn
Please follow the instructions in the section Debug Symbol Packages on https://wiki.ubuntu.com/DebuggingProgramCrash to install qemu-kvm- dbgsym. Restart one of the machine which hangs taking 100% cpu, then from another terminal do gdb -p $(pidof kvm) # or insert the pid of the hanging kvm

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Luke Randall
I have experienced the same issue with 1 of 3 identical machines. All Intel Xeon E31230 @ 3.20GHz. Let me know if there is anything I can do to help diagnose it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Lewdmole
Hi, I still suffer from the issue described above even after various kernel and libvirt updates which were issued by ubuntu. Serge Hallyn tried to repeat this issue but without success. Please try the procedures I was trying and post the logs and debug information here along with your VM setup

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-09-07 Thread Serge Hallyn
Please follow the instructions in the section Debug Symbol Packages on https://wiki.ubuntu.com/DebuggingProgramCrash to install qemu-kvm- dbgsym. Restart one of the machine which hangs taking 100% cpu, then from another terminal do gdb -p $(pidof kvm) # or insert the pid of the hanging kvm

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-08-06 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Incomplete = New ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-08-06 Thread Serge Hallyn
Hi, thanks for the info and links. The patch at http://www.mail-archive.com/kvm@vger.kernel.org/msg39396.html should certainly be present in precise's kernel, but just to test, on the machine where it fails, could you try running without apic (remove the apic/ line from the xml, or

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-29 Thread Lewdmole
I have downloaded the cloud image precise-server-cloudimg- amd64-disk1.img 1. convert to raw $ qemu-img convert -O raw precise-server-cloudimg-amd64-disk1.img precise-server-cloudimg-amd64-disk1.raw 2. dd it onto the hard drive. # dd if=precise-server-cloudimg-amd64-disk1.raw

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-29 Thread Lewdmole
Conclusions: - The VM DOES NOT BOOT the image is not corrupt as the cloud image neither boots. - Other vms on that problematic machine running fine so the kvm-qemu and libvirt should be fine as well. - There is still enough memory on that machine. (screenshot in prev post) - By comparing

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-28 Thread Lewdmole
** Attachment added: SHA1SUM of update packages on problematic server https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1029889/+attachment/3240359/+files/server1_update_sha1sum.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-28 Thread Lewdmole
** Attachment added: SHA1SUM of update packages on working server https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1029889/+attachment/3240360/+files/server2_update_sha1sum.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-28 Thread Lewdmole
1. Posted the SHA1SUMS 2. Server1 (problematic server) - I have tried again to install different VMs via vmbuilder all finished installation successfully but hanged on startup (via virsh) taking 100% cpu - I am pretty sure the VMs are not booting as there is nothing in boot log on LV of

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
** Package changed: ubuntu = libvirt (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM taking 100% CPU on first start and hangs. To manage notifications about

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Serge Hallyn
Thanks for submitting this bug. Could you please 1. while the guest is running, do 'ps -ef' and paste the result. 2. attach the guest xml file ('virsh dumpxml vm4 vm4.xml' should give you a file you can attach) 3. run 'apport-collect 1029889' so apport can send us relevant qemu-kvm and

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
RESULT: ps -ef UIDPID PPID C STIME TTY TIME CMD root 1 0 0 14:08 ?00:00:00 /sbin/init root 2 0 0 14:08 ?00:00:00 [kthreadd] root 3 2 0 14:08 ?00:00:00 [ksoftirqd/0] root 6 2 0 14:08 ?00:00:00

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
VM BUILDER INSTALL LOG: 2012-07-27 14:36:20,094 INFO: Calling hook: preflight_check 2012-07-27 14:36:20,096 INFO: Calling hook: set_defaults 2012-07-27 14:36:20,097 INFO: Calling hook: bootstrap 2012-07-27 14:39:35,613 INFO: Calling hook: configure_os 2012-07-27 14:39:59,199 INFO

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
I have mounted the LV of the VIRTUAL MACHINE and extracted some logs: It seems that the machine has not booted as the boot.log is empty: I have attached all thelogs and report for HOST and also for GUEST: HOST: libvirtd.log shutdownlog.log vm4.log ps-while-guest-running.txt top.txt

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
VM XML: domain type='kvm' namevm4/name uuid3e3850e3-b0f3-ca26-c0cb-f5499b2fccec/uuid memory524288/memory currentMemory524288/currentMemory vcpu1/vcpu os type arch='x86_64' machine='pc-1.0'hvm/type boot dev='hd'/ /os features acpi/ /features clock offset='utc'/

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
** Attachment added: VM XML Descriptor https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1029889/+attachment/3238668/+files/vm4.xml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
** Attachment added: ps -ef while VM Guest Running https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1029889/+attachment/3238670/+files/ps-while-guest-running.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Serge Hallyn
When I simply grab a working root image (i.e. https://cloud- images.ubuntu.com/releases/precise/release-20120616/ubuntu-12.04-server- cloudimg-amd64-disk1.img), convert it to raw, and dd it to an lvm partition, it comes up fine. So it appears vmbuilder may be doing something either wrong, or just

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Serge Hallyn
I can't reproduce this. To be clear, you did not have this problem with 1.0+noroms-0ubuntu13, but you did as of 1.0+noroms-0ubuntu14 ? Can you confirm that by re- installing 1.0+noroms-0ubuntu13 (using 'dpkg -i /var/cache/apt/archives/qemu*ubuntu13*.deb') ? -- You received this bug

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
Will try to test it with the cloud image tmrw and also re-installing 1.0+noroms-0ubuntu13 Will do second test on other machine running the same setup. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
1.0+noroms-0ubuntu13 worked fine with all VM com up fine with the same vmbuilder setup after update to 1.0+noroms-0ubuntu14 VM doesnt come up NEEDS CONFIRMATION -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Lewdmole
second hardware machine running exactly the same setup Ubuntu 12.04 and KVM creates and runs this VM without problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029889 Title: LVM Based KVM VM

[Bug 1029889] Re: LVM Based KVM VM taking 100% CPU on first start and hangs.

2012-07-27 Thread Serge Hallyn
This makes me wonder whether one of the packages installed on the first machine is corrupt. Does sha1sum /var/cache/apt/archives/qemu*ubuntu14* show the same results on both systems? The ps -ef output confirms that kvm is not being called by libvirt with -pidfile, so the change from ubuntu13 to