Hi,<br><br>I'm deploying on xen with shared disk for cluster nodes. I have the VM_DIR set to /vm-images. This configuration seems to be causing a deployment failure.<br><br>When I attempt to clone disk image /vm-images/install/Demo-Target-Baseline.img, the clone script attempts to source it from /opt/one/var/install/Demo-Target-Baseline.img. I was expecting to see it sourced from the location defined in the template. During the clone operation, the clone script places the destination file in /opt/one/var/<VM_ID>/images instead of /vm-images/<VM_ID>. The iso file for the context, other context scripts and deployment.0 file are also placed in directory /opt/one/var/<VM_ID>/images. <br>
<br>This where I run into the failure; the ssh call to the xen utilities specifies the deployment.0 file in the /vm-images/<VM_ID>/images directory, not in /opt/one/var/<VM_ID>/images. <br><br>I'm assuming its another config issue on my end. How do I fix this ?<br>
<br>cheers,<br>gary<br><br><br>oned.log<br><br>Thu Jun 3 13:33:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: occi-server:/vm-images/install/Demo-Target-Baseline.img 10.1.254.117:/vm-images/13/images/disk.0<br>
Thu Jun 3 13:33:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: DST: /opt/one/var/13/images/disk.0<br>Thu Jun 3 13:33:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: Creating directory /opt/one/var/13/images<br>
Thu Jun 3 13:33:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: Executed "mkdir -p /opt/one/var/13/images".<br>Thu Jun 3 13:33:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: Executed "chmod a+w /opt/one/var/13/images".<br>
Thu Jun 3 13:3 3:52 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: Cloning /opt/one/var/install/Demo-Target-Baseline.img<br>Thu Jun 3 13:33:53 2010 [TM][D]: Message received: LOG - 13 tm_clone.sh: Executed "chmod a+w /opt/one/var/13/images/disk.0".<br>
Thu Jun 3 13:33:53 2010 [TM][D]: Message received: LOG - 13 tm_context.sh: Executed "mkisofs -o /opt/one/var/13/images/disk.1 -J -R /opt/one/var/13/images/isofiles".<br>Thu Jun 3 13:33:53 2010 [TM][D]: Message received: LOG - 13 tm_context.sh: Executed "rm -rf /opt/one/var/13/images/isofiles".<br>
Thu Jun 3 13:33:54 2010 [TM][D]: Message received: TRANSFER SUCCESS 13 -<br>Thu Jun 3 13:33:54 2010 [VMM][D]: Message received: LOG - 13 Command execution fail: 'cat > /vm-images/13/images/deployment.0 && sudo /usr/sbin/xm create /vm-images/13/images/deployment.0 && sudo /usr/sbin/xm sched-cred -d one-13 -w 128'<br>
Thu Jun 3 13:33:54 2010 [VMM][D]: Message received: LOG - 13 STDERR follows.<br>Thu Jun 3 13:33:54 2010 [VMM][D]: Message received: LOG - 13 bash: /vm-images/13/images/deployment.0: No such file or directory<br>Thu Jun 3 13:33:54 2010 [VMM][D]: Message received: LOG - 13 ExitCode: 1<br>
Thu Jun 3 13:33:55 2010 [VMM][D]: Message received: DEPLOY FAILURE 13 -<br>Thu Jun 3 13:33:58 2010 [TM][D]: Message received: LOG - 13 tm_delete.sh: Deleting /opt/one/var/13/images<br><br><br><br><VM_ID>vm.log<br>
Thu Jun 3 12:51:51 2010 [DiM][I]: New VM state is ACTIVE.<br>Thu Jun 3 12:51:53 2010 [LCM][I]: New VM state is PROLOG.<br>Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: occi-server:/vm-images/install/Demo-Target-Baseline.img 10.1.254.117:/vm-images/13/images/disk.0<br>
Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: DST: /opt/one/var/13/images/disk.0<br>Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: Creating directory /opt/one/var/13/images<br>Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /opt/one/var/13/images".<br>
Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /opt/one/var/13/images".<br>Thu Jun 3 13:33:52 2010 [TM][I]: tm_clone.sh: Cloning /opt/one/var/install/Demo-Target-Baseline.img<br>Thu Jun 3 13:33:53 2010 [TM][I]: tm_clone.sh: Executed "cp /opt/one/var/install/Demo-Target-Baseline.img /opt/one/var/13/images/disk.0".<br>
Thu Jun 3 13:33:53 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /opt/one/var/13/images/disk.0".<br>Thu Jun 3 13:33:53 2010 [TM][I]: tm_context.sh: Executed "mkdir -p /opt/one/var/13/images/isofiles".<br>
Thu Jun 3 13:33:53 2010 [TM][I]: tm_context.sh: Executed "cp -R /opt/one/var/13/context.sh /opt/one/var/13/images/isofiles".<br>Thu Jun 3 13:33:53 2010 [TM][I]: tm_context.sh: Executed "cp -R /vm-images/VMs/init.sh /opt/one/var/13/images/isofiles".<br>
Thu Jun 3 13:33:53 2010 [TM][I]: tm_context.sh: Executed "mkisofs -o /opt/one/var/13/images/disk.1 -J -R /opt/one/var/13/images/isofiles".<br>Thu Jun 3 13:33:53 2010 [TM][I]: tm_context.sh: Executed "rm -rf /opt/one/var/13/images/isofiles".<br>
Thu Jun 3 13:33:54 2010 [LCM][I]: New VM state is BOOT<br>Thu Jun 3 13:33:54 2010 [VMM][I]: Generating deployment file: /opt/one/var/13/deployment.0<br><br><br><br>