[one-users] error: Failed to create domain - kvm -S -M pc-1.1
Andrzej
andrzej at mielnet.pl
Fri Dec 21 06:10:32 PST 2012
Dear Community
I wonder of someone could help.
I'm on Opennebula 3.8 installed using deb packages from project website,
using Ubuntu 12.04LTS on two machines (one running oned and scheduler,
second running KVM).
I'm trying to deploy OpenNebula and I'm hitting a little problem.
Basically when trying to instantiate vm from template I get something
like that in virutal machine log:
Fri Dec 21 11:07:03 2012 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/14/deployment.0
superfastserver01-slot10 14 superfastserver01-slot10
Fri Dec 21 11:07:03 2012 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/14/deployment.0
Fri Dec 21 11:07:03 2012 [VMM][I]: error: internal error process exited
while connecting to monitor: Supported machines are:
Fri Dec 21 11:07:03 2012 [VMM][I]: pc Standard PC (alias of pc-1.0)
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-1.0 Standard PC (default)
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-0.14 Standard PC
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-0.13 Standard PC
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-0.12 Standard PC
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-0.11 Standard PC, qemu 0.11
Fri Dec 21 11:07:03 2012 [VMM][I]: pc-0.10 Standard PC, qemu 0.10
I've been digging bit deeper and on the actual KVM hypervisor host this
is what appears in the qemu log
2012-12-21 13:02:36.920+0000: starting up
LC_ALL=C
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.1 -cpu qemu32 -enable-kvm -m
128 -smp 1,sockets=1,cores=1,threads=1 -name one-14 -uuid
083869e9-a6ff-7e89-4dd8-67ec388fb62f -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-14.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
-no-shutdown -no-acpi -drive
file=/var/lib/one//datastores/0/14/disk.0,if=none,id=drive-ide0-0-0,format=raw
-device
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-drive
file=/var/lib/one//datastores/0/14/disk.1,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw
-device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1
-netdev tap,fd=20,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=02:00:c0:a8:7a:68,bus=pci.0,addr=0x3
-usb -vnc 0.0.0.0:14 -vga cirrus -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
Supported machines are:
pc Standard PC (alias of pc-1.0)
pc-1.0 Standard PC (default)
pc-0.14 Standard PC
pc-0.13 Standard PC
pc-0.12 Standard PC
pc-0.11 Standard PC, qemu 0.11
pc-0.10 Standard PC, qemu 0.10
isapc ISA-only PC
2012-12-21 13:02:37.304+0000: shutting down
So as far a I understand Opennebula tries to use "/usr/bin/kvm -S -M
pc-1.1" while the supported is "pc-1.0". My question, any idea where
this is getting from? How I can change this?
I searched archives, I've been googling and looking at this for two days
now without luck. Getting bit desperate so would really appreciate any
hint :-)
BTW: fantastic project and very well documented, it is me being moron
and doing something wrong!
Cheers
Andrzej
More information about the Users
mailing list