LVM Based KVM VM taking 100% CPU on first start and hangs.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Incomplete
|
High
|
Unassigned | ||
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
qemu-kvm (Ubuntu) |
Incomplete
|
High
|
Unassigned |
Bug Description
KVM VM hangs taking 100% CPU on Ubuntu 12.04 Precise Pangolin:
OS: Ubuntu 12.04 LTS
ARCH: x86_64
VM created with vmbuilder no errors on install.
After defining vm in virsh:
virsh --connect qemu:///system
virsh # define /etc/libvirt/
virsh # start vm4
virsh # autostart vm4
VM starts OK taking 100% CPU then hangs, unable to shutdown only destroy can be used.
cant connect via ssh. Nothing in logs. Before last KVM update ALL VM installs worked correctly:
INSTALL DETAILS:
Creating LVM based VM using vmbuilder:
DIR: /var/lib/
First Boot Script:
/var/lib/
------------------- boot.sh -------------------
# This script will run the first time the virtual machine boots
# It is ran as root.
# Install openssh-server
apt-get update
apt-get install -qqy --force-yes openssh-server
------------------- /boot.sh -------------------
Partition Descriptor:
/var/lib/
------------------- vmbuilder.partition -------------------
root 12000
swap 1000
/var 3000
/var/log 4000
------------------- /vmbuilder.
Create LV:
root@host:~# lvcreate -L20G -n vm4 virtualvg
root@host:~# cd /var/lib/
vmbuilder kvm ubuntu \
--suite=precise \
--flavour=virtual \
--arch=amd64 \
--mem=256 \
--hostname=vm4 \
--bridge=br0 \
--mirror=http://
-o --libvirt=
--ip 82.208.49.156 \
--mask 255.255.255.224 \
--net 82.208.49.128 \
--bcast 82.208.49.159 \
--gw 82.208.49.158 \
--dns 8.8.8.8 \
--part=
--raw=/
--templates=
--user=vm-user \
--name=VM User \
--pass=12345 \
--addpkg=vim-nox \
--addpkg=acpid \
--firstboot=
LAST UPDATE LOG:
Start-Date: 2012-07-18 21:20:31
Commandline: apt-get upgrade
Upgrade: apport:amd64 (2.0.1-0ubuntu8, 2.0.1-0ubuntu11), libvirt0:amd64 (0.9.8-2ubuntu17.1, 0.9.8-2ubuntu17.2), python-
End-Date: 2012-07-18 21:20:54
Start-Date: 2012-07-25 02:04:54
Commandline: apt-get dist-upgrade
Install: linux-headers-
Upgrade: linux-server:amd64 (3.2.0.23.25, 3.2.0.27.29), linux-headers-
End-Date: 2012-07-25 02:06:02
tags: | added: kvm |
tags: | added: libvirt qemu-kvm |
description: | updated |
affects: | ubuntu → libvirt (Ubuntu) |
Changed in libvirt (Ubuntu): | |
status: | Incomplete → New |
Changed in qemu-kvm (Ubuntu): | |
status: | Incomplete → New |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1029889/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]