[Bug 592491] Re: Problems to autostart a VM with kvm on 10.04

2010-06-11 Thread FunkyM0nk3y
Today i  found this afther a reboot in /var/log/syslog

Jun 11 20:36:54 baal libvirtd: 20:36:54.826: error :
qemuAutostartDomain:584 : Failed to autostart VM 'enm-fw': internal
error unable to start guest: char device redirected to
/dev/pts/0#012getaddrinfo(10.250.0.155,5900): Name or service not
known#012#012

Jun 11 20:36:54 baal libvirtd: 20:36:54.654: error : qemudReadLogOutput:1347 : 
internal error Process exited while reading console log output
Jun 11 20:36:54 baal libvirtd: 20:36:54.654: error : qemudWaitForMonitor:1536 : 
internal error unable to start guest: char device redirected to 
/dev/pts/0#012getaddrinfo(10.250.0.155,5900): Name or service not known#012

Additional info:

r...@baal:~# lsb_release -r
Release:10.04
r...@baal:~# virsh capabilities
capabilities

  host
cpu
  archi686/arch
  modeln270/model
  topology sockets='1' cores='4' threads='1'/
  feature name='lahf_lm'/
  feature name='lm'/
  feature name='dca'/
  feature name='xtpr'/
  feature name='cx16'/
  feature name='tm2'/
  feature name='vmx'/
  feature name='ds_cpl'/
  feature name='pbe'/
  feature name='tm'/
  feature name='ht'/
  feature name='ss'/
  feature name='acpi'/
  feature name='ds'/
  feature name='pse36'/
/cpu
migration_features
  live/
  uri_transports
uri_transporttcp/uri_transport
  /uri_transports
/migration_features
secmodel
  modelapparmor/model
  doi0/doi
/secmodel
  /host

  guest
os_typehvm/os_type
arch name='i686'
  wordsize32/wordsize
  emulator/usr/bin/qemu/emulator
  machinepc-0.12/machine
  machine canonical='pc-0.12'pc/machine
  machinepc-0.11/machine
  machinepc-0.10/machine
  machineisapc/machine
  domain type='qemu'
  /domain
  domain type='kvm'
emulator/usr/bin/kvm/emulator
machinepc-0.12/machine
machine canonical='pc-0.12'pc/machine
machinepc-0.11/machine
machinepc-0.10/machine
machineisapc/machine
  /domain
/arch
features
  cpuselection/
  pae/
  nonpae/
  acpi default='on' toggle='yes'/
  apic default='on' toggle='no'/
/features
  /guest

  guest
os_typehvm/os_type
arch name='x86_64'
  wordsize64/wordsize
  emulator/usr/bin/qemu-system-x86_64/emulator
  machinepc-0.12/machine
  machine canonical='pc-0.12'pc/machine
  machinepc-0.11/machine
  machinepc-0.10/machine
  machineisapc/machine
  domain type='qemu'
  /domain
/arch
features
  cpuselection/
  acpi default='on' toggle='yes'/
  apic default='on' toggle='no'/
/features
  /guest

/capabilities
r...@baal:~# virsh nodeinfo
CPU model:   i686
CPU(s):  4
CPU frequency:   1994 MHz
CPU socket(s):   1
Core(s) per socket:  4
Thread(s) per core:  1
NUMA cell(s):1
Memory size: 4116740 kB

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

r...@baal:~# uname -a
Linux baal 2.6.32-22-generic-pae #36-Ubuntu SMP Thu Jun 3 23:14:23 UTC 2010 
i686 GNU/Linux
r...@baal:~#

-- 
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


[Bug 490370] Re: Cannot start guest with emulator wrapper

2010-06-10 Thread FunkyM0nk3y
Additional info on the VM that don't responses to autostart:

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

r...@baal:~#

-- 
Cannot start guest with emulator wrapper
https://bugs.launchpad.net/bugs/490370
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt 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


[Bug 592491] [NEW] Problems to autostart a VM with kvm on 10.04

2010-06-10 Thread FunkyM0nk3y
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'
 nameenm-fw/name
 uuidbdf8b960-4f96-653f-b36f-58d03261dce3/uuid
 memory262144/memory
 currentMemory262144/currentMemory
 vcpu1/vcpu
 os
 type arch='i686' machine='pc-0.12'hvm/type
 boot dev='hd'/
 /os
 features
 acpi/
 apic/
 pae/
 /features
 clock offset='utc'/
 on_poweroffdestroy/on_poweroff
 on_rebootrestart/on_reboot
 on_crashrestart/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


[Bug 490370] Re: Cannot start guest with emulator wrapper

2010-06-08 Thread FunkyM0nk3y
I'm testing kvm on 10.04 and have some similar problems.  I found that
sometimes after rebooting 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.

-- 
Cannot start guest with emulator wrapper
https://bugs.launchpad.net/bugs/490370
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt 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