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

Christopher Metter christopher.metter at informatik.uni-wuerzburg.de
Tue Feb 14 12:25:11 PST 2012


Hi there again,

I know, a long time has passed...

But I'm still having problems with my OpenNebula and my Xen Cluster.

Giovanni Toraldo's answer was some kind of a hint, and I tried several 
options for my XEN setup:
- Building XEN from source
- Applying the patch mentioned in Giovanni's Links
- Installing Packages on Ubuntu 10.04 64-Bit
- ...

But it all concluded in failed VMs.
For some moments I thought I am there, but the logs tell me some "Found 
interface tap-1-768 but domain 1 does not exist." Error.

As I've tried many options so far, but did not succeed at all, I'm 
wondering if theres some companion in misfortune out there who might 
give some advise.

Is there any up-to-date Tutorial for an OpenNebula Installation with Xen?
All up-to-date stuff I am finding is for KVM and the Xen ones are from 
another decade ;)

For those of you who have a running OpenNebula+Xen Configuration:
- What is the OS of your Xen-Hosts (Ubuntu/Debian/..?)
- Installation from Source or Package?
- What Version of Xen are you exactly running?
- Please submit a working template for ttylinux or some other 
rebuildable VM(Ubuntu/Debian..)
- Any further hinds?



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


Best regards

Christopher


Am 23.01.2012 01:30, schrieb Christopher Metter:
> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list