Hello,<br><br>I'm trying to configure Opennebula 2.2.1 in Ubuntu 11.04 and some Xen nodes in Centos 5.6 (xen-3.0.3), I have installed Opennebula from source and an NFS storage dir to share the installation dir and images with Xen nodes (/srv/cloud/one). I have test also with tm_ssh and tm_nfs.<br>
<br>I can create a host and it can be monitored<br><br>I can create an Image (ttylinux or xen image) correctly<br><br>I can create Virtual Networks such "Small network" that comes with ttylinux example<br><br>I can create Virtual machines but when they are deployed I have always the next error:<br>
NAME = ttylinux2<br>CPU = 0.1<br>MEMORY = 64<br>DISK = [ IMAGE_ID = 1 ]<br>NIC = [ NETWORK_ID = 1 ]<br>FEATURES=[ acpi="no" ]<br><br><br>Sun Jul 31 23:42:11 2011 [DiM][I]: New VM state is ACTIVE.<br>Sun Jul 31 23:42:11 2011 [LCM][I]: New VM state is PROLOG.<br>
Sun Jul 31 23:42:11 2011 [VM][I]: Virtual Machine has no context<br>Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: opennebula:/srv/cloud/images/ttylinux/ttylinux.img node1:/srv/cloud/one/var//8/images/disk.0<br>Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//8/images/disk.0<br>
Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//8/images<br>Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//8/images".<br>Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//8/images".<br>
Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux/ttylinux.img<br>Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Executed "cp -r /srv/cloud/images/ttylinux/ttylinux.img /srv/cloud/one/var//8/images/disk.0".<br>
Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//8/images/disk.0".<br>Sun Jul 31 23:42:19 2011 [LCM][I]: New VM state is BOOT<br>Sun Jul 31 23:42:19 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/8/deployment.0<br>
Sun Jul 31 23:42:19 2011 [VMM][E]: No kernel or bootloader defined and no default provided.<br>Sun Jul 31 23:42:19 2011 [VMM][E]: deploy_action, error generating deployment file: /srv/cloud/one/var/8/deployment.0<br>Sun Jul 31 23:42:20 2011 [DiM][I]: New VM state is FAILED<br>
Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Deleting /srv/cloud/one/var//8/images<br>Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//8/images".<br>
Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: TRANSFER SUCCESS 8 -<br>Mon Aug 1 15:59:54 2011 [DiM][I]: New VM state is DONE.<br><br><br>If I insert the bootloader I only have one error but the deploy fails...<br><br>NAME = ttylinux2<br>
CPU = 0.1<br>MEMORY = 64<br>DISK = [ IMAGE_ID = 1 ]<br>NIC = [ NETWORK_ID = 1 ]<br>FEATURES=[ acpi="no" ]<br>OS = [ bootloader = "/usr/bin/pygrub" ]<br><br>Mon Aug 1 22:08:29 2011 [DiM][I]: New VM state is ACTIVE.<br>
Mon Aug 1 22:08:30 2011 [LCM][I]: New VM state is PROLOG.<br>Mon Aug 1 22:08:30 2011 [VM][I]: Virtual Machine has no context<br>Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: opennebula:/srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6 node1:/srv/cloud/one/var//15/images/disk.0<br>
Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//15/images/disk.0<br>Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//15/images<br>Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//15/images".<br>
Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//15/images".<br>Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6<br>
Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed "cp -r /srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6 /srv/cloud/one/var//15/images/disk.0".<br>Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//15/images/disk.0".<br>
Mon Aug 1 22:08:36 2011 [LCM][I]: New VM state is BOOT<br>Mon Aug 1 22:08:36 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/15/deployment.0<br>Mon Aug 1 22:08:37 2011 [VMM][I]: Command execution fail: 'if [ -x "/tmp/one/vmm/xen/deploy" ]; then /tmp/one/vmm/xen/deploy /srv/cloud/one/var//15/images/deployment.0; else exit 42; fi'<br>
Mon Aug 1 22:08:37 2011 [VMM][I]: STDERR follows.<br>Mon Aug 1 22:08:38 2011 [VMM][I]: Traceback (most recent call last):<br>Mon Aug 1 22:08:38 2011 [VMM][I]: File "/usr/bin/pygrub", line 691, in ?<br>Mon Aug 1 22:08:38 2011 [VMM][I]: chosencfg = run_grub(file, entry, fs)<br>
Mon Aug 1 22:08:38 2011 [VMM][I]: File "/usr/bin/pygrub", line 545, in run_grub<br>Mon Aug 1 22:08:38 2011 [VMM][I]: g = Grub(file, fs)<br>Mon Aug 1 22:08:38 2011 [VMM][I]: File "/usr/bin/pygrub", line 203, in __init__<br>
Mon Aug 1 22:08:38 2011 [VMM][I]: self.read_config(file, fs)<br>Mon Aug 1 22:08:38 2011 [VMM][I]: File "/usr/bin/pygrub", line 402, in read_config<br>Mon Aug 1 22:08:38 2011 [VMM][I]: if self.cf.filename is None:<br>
Mon Aug 1 22:08:38 2011 [VMM][I]: AttributeError: Grub instance has no attribute 'cf'<br>Mon Aug 1 22:08:38 2011 [VMM][I]: No handlers could be found for logger "xend"<br>Mon Aug 1 22:08:39 2011 [VMM][I]: Error: Boot loader didn't return any data!<br>
Mon Aug 1 22:08:39 2011 [VMM][I]: ExitCode: 1<br>Mon Aug 1 22:08:39 2011 [VMM][E]: Error deploying virtual machine: Traceback (most recent call last):<br>Mon Aug 1 22:08:40 2011 [DiM][I]: New VM state is FAILED<br>Mon Aug 1 22:08:41 2011 [TM][W]: Ignored: LOG - 15 tm_delete.sh: Deleting /srv/cloud/one/var//15/images<br>
Mon Aug 1 22:08:41 2011 [TM][W]: Ignored: LOG - 15 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//15/images".<br>Mon Aug 1 22:08:41 2011 [TM][W]: Ignored: TRANSFER SUCCESS 15 -<br>Mon Aug 1 22:09:32 2011 [DiM][I]: New VM state is DONE.<br>
<br><br><br>Some information, if somebody can help me:<br><br>oneadmin@opennebula:~/var$ oneimage list<br> ID USER NAME TYPE REGTIME PUB PER STAT #VMS<br> 0 oneadmin Centos i386 OS Jul 29, 2011 22:55 Yes No rdy 0<br>
1 oneadmin ttylinux2 OS Aug 01, 2011 13:56 Yes No used 1<br>oneadmin@opennebula:~/var$ <br>oneadmin@opennebula:~/var$ onevnet list<br> ID USER NAME TYPE BRIDGE P #LEASES<br> 0 oneadmin VM_LAN Ranged peth0 Y 0<br>
1 oneadmin Small network Fixed virbr0 N 1<br>oneadmin@opennebula:~/var$ onehost list<br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br> 4 node1 default 0 200 199 200 3.9G 383M on<br>
<br><br>