[one-users] OpenNebula 3.2 + Xen 4.0 = headaches

Christopher Metter christopher.metter at informatik.uni-wuerzburg.de
Sun Jan 22 16:30:51 PST 2012


Hi there,


I'm trying to get OpenNebula with a Xen Node working.
Configuration:
- OpenNebula 3.2 installed on Ubuntu Server 10.04 64-Bit
- Xen 4.0 installed on Debian Squeeze 64Bit
Both running nonvirtualized on seperate computers.

Xen installation is complete and running (afaik), can start a Ubuntu VMs.

I've setup OpenNebula using your documenation, but I run into problems 
when i try to complete your 'Tutorial' 
http://opennebula.org/documentation:rel3.2:vmg .
Executing 'onevm create ttylinux.one' results in "[VMM][E]: No kernel or 
bootloader defined and no default provided."
As far as I can tell this is okay and normal, Xen needs a defined 
bootloader.

So I tried following three options:
1. Setting OS = [  bootloader="/usr/lib/xen-4.0/bin/pygrub" ]   (or OS = 
[  bootloader="pygrub" ] )
which results in:
[...]

Mon Jan 23 01:17:00 2012 [VMM][I]: Successfully execute network driver operation: pre.
Mon Jan 23 01:17:00 2012 [VMM][I]: Command execution fail: cat<<  EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//27/images/deployment.0 nebelmaschine01 27 nebelmaschine01
Mon Jan 23 01:17:00 2012 [VMM][I]: Error: Boot loader didn't return any data!
Mon Jan 23 01:17:00 2012 [VMM][E]: Unable
Mon Jan 23 01:17:00 2012 [VMM][I]: ExitCode: 1
Mon Jan 23 01:17:00 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Mon Jan 23 01:17:00 2012 [VMM][E]: Error deploying virtual machine: Unable
Mon Jan 23 01:17:00 2012 [DiM][I]: New VM state is FAILED


2. Setting OS = [  bootloader="hvmloader" ]
which results in:
[...]

Mon Jan 23 01:20:00 2012 [VMM][I]: Successfully execute network driver operation: pre.
Mon Jan 23 01:20:00 2012 [VMM][I]: Command execution fail: cat<<  EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//28/images/deployment.0 nebelmaschine01 28 nebelmaschine01
Mon Jan 23 01:20:00 2012 [VMM][I]: Error: Bootloader isn't executable
Mon Jan 23 01:20:00 2012 [VMM][E]: Unable
Mon Jan 23 01:20:00 2012 [VMM][I]: ExitCode: 1
Mon Jan 23 01:20:00 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Mon Jan 23 01:20:00 2012 [VMM][E]: Error deploying virtual machine: Unable
Mon Jan 23 01:20:00 2012 [DiM][I]: New VM state is FAILED



3. Setting OS=[
   INITRD=/initrd.img,
   KERNEL=/vmlinuz,
   KERNEL_CMD="ro xencons=tty console=tty1",
   ROOT=sda1 ]
which results in:
[...]

Sun Jan 22 22:35:30 2012 [VMM][I]: Successfully execute network driver operation: pre.
Sun Jan 22 22:37:11 2012 [VMM][I]: Command execution fail: cat<<  EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//23/images/deployment.0 nebelmaschine01 23 nebelmaschine01
Sun Jan 22 22:37:11 2012 [VMM][I]: Error: Device 768 (tap) could not be connected. Hotplug scripts not working.
Sun Jan 22 22:37:11 2012 [VMM][E]: Unable
Sun Jan 22 22:37:11 2012 [VMM][I]: ExitCode: 1
Sun Jan 22 22:37:11 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
Sun Jan 22 22:37:11 2012 [VMM][E]: Error deploying virtual machine: Unable
Sun Jan 22 22:37:11 2012 [DiM][I]: New VM state is FAILED



I don't know how to fix these issues. Can someone help me with this 
/these problem/s ?


Any help you can give me in this matter is greatly appreciated.


Best regards

Christopher



More information about the Users mailing list