Public bug reported:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 affects ubuntu/kvm


Hi all, I'm testing kvm on 10.04 and have some problems.
I found that sometimes after rebooting on the host don't responses
virsh

r...@baal:~# virsh vncdisplay enm-fw
error: unable to connect to '/var/run/libvirt/libvirt-sock': No such
file or directory
error: failed to connect to the hypervisor
r...@baal:~#

Looking in services up:

r...@baal:~# initctl list
qemu-kvm stop/waiting
...
libvirt-bin stop/waiting
...
r...@baal:~#

qemu-kvm is down and libvirt-bin too.

And other times the services are up and virsh responding but don't
autostart the VM.
If i started in the command line the VM can boot normally.

r...@baal:~# uptime
 19:17:03 up 1 min,  1 user,  load average: 0.09, 0.06, 0.02
r...@baal:~# virsh list --all
 Id Name                 State
- - - - - ----------------------------------
 - enm-fw               shut off

r...@baal:~# virsh dominfo enm-fw
Id:             -
Name:           enm-fw
UUID:           bdf8b960-4f96-653f-b36f-58d03261dce3
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     262144 kB
Used memory:    262144 kB
Autostart:      enable
Security model: apparmor
Security DOI:   0

r...@baal:~#  virsh start enm-fw
Domain enm-fw started

r...@baal:~#

This is the XML of the VM:

r...@baal:~# cat /etc/libvirt/qemu/enm-fw.xml
<domain type='kvm'>
 <name>enm-fw</name>
 <uuid>bdf8b960-4f96-653f-b36f-58d03261dce3</uuid>
 <memory>262144</memory>
 <currentMemory>262144</currentMemory>
 <vcpu>1</vcpu>
 <os>
 <type arch='i686' machine='pc-0.12'>hvm</type>
 <boot dev='hd'/>
 </os>
 <features>
 <acpi/>
 <apic/>
 <pae/>
 </features>
 <clock offset='utc'/>
 <on_poweroff>destroy</on_poweroff>
 <on_reboot>restart</on_reboot>
 <on_crash>restart</on_crash>
 <devices>
 <emulator>/usr/bin/kvm</emulator>
 <disk type='block' device='disk'>
  <driver name='qemu' cache='none'/>
  <source dev='/dev/vms/enm-fw-disk'/>
  <target dev='vda' bus='virtio'/>
 </disk>
 <disk type='block' device='disk'>
  <driver name='qemu'/>
  <source dev='/dev/vms/enm-fw-swap'/>
  <target dev='vdb' bus='virtio'/>
 </disk>
 <interface type='bridge'>
  <mac address='52:54:00:61:4f:0b'/>
  <source bridge='br0'/>
 </interface>
 <console type='pty'>
  <target port='0'/>
 </console>
 <console type='pty'>
  <target port='0'/>
 </console>
 <input type='mouse' bus='ps2'/>
 <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
 <video>
  <model type='cirrus' vram='9216' heads='1'/>
 </video>
 </devices>
</domain>
r...@baal:~#

Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.8)

iQEcBAEBAgAGBQJMEYkoAAoJEFjAiFdGgaI2OmMIAINE7DK3jhd3zD7lFIdqhWaH
b1NPWHjZ+Oy+6YPVwvmamoqy6APmt5L7BuouCYmXPyfNC13GyFtrTzA4u2zdVNta
wfJVy6jJSBMqnkHghiVLO6rBT7WloMc/jU5NGml5/YB3q7+/dV0TvxzvgpGtQTrf
Ff0HAH+BnWaylPf4ctrkeUsTAWgLX0td7V4k9Qgxay+nHBVTxF4nxD3u4OZStWzX
vJGF3M5SK/k171es13Lsfkq7zQOCS+IbhqhMsVRJwz7tHCo1FvpQVNp7d9KFcSmJ
9ED54z4t0UqRwv9i9mZbdro+56BndyvY04o6rNgwBXcVilpg2EQmbJqD0KyfN7A=
=R4O6
-----END PGP SIGNATURE-----
.

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Problems to autostart a VM with kvm on 10.04
https://bugs.launchpad.net/bugs/592491
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to