<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>
<div>I think this one is pretty straight forward, I just need someone to tell me where I set it. When I try to create a virt on a tm_nfs target, the tm_clone is cloning into the wrong directory.</div>
<div><br>
</div>
<div>It says its trying to do it right:</div>
<div> tm_clone.sh: io-kvm-ctrl-01.streamsage.com:/srv/cloud/var/images/83603da305e13410317b0c947f435a019644f46f sn-kvm-11:/srv/cloud/one/var/56/images/disk.0</div>
<div><br>
</div>
<div>/srv/cloud/one/var/56/images is the correct target path, but the clone script appears to be putting it in: /var/lib/one/56/images/disk.0</div>
<div>tm_clone.sh: DST: /var/lib/one/56/images/disk.0</div>
<div><br>
</div>
<div>Where do I set the variable for the tm_nfs config to not use '${ONE_LOCATION}' for the destination but rather use the /srv/cloud/one/var/ (/srv is the NFS mount common to both the oneadmin control box and the target host).</div>
<div><br>
</div>
<div>The log file of a failure:</div>
<div>Mon Apr 18 15:10:30 2011 [DiM][I]: New VM state is ACTIVE.</div>
<div>Mon Apr 18 15:10:30 2011 [LCM][I]: New VM state is PROLOG.</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: io-kvm-ctrl-01.streamsage.com:/srv/cloud/var/images/83603da305e13410317b0c947f435a019644f46f sn-kvm-11:/srv/cloud/one/var/56/images/disk.0</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: DST: /var/lib/one/56/images/disk.0</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/56/images</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/56/images".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/56/images".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/var/images/83603da305e13410317b0c947f435a019644f46f</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Executed "cp -r /srv/cloud/var/images/83603da305e13410317b0c947f435a019644f46f /var/lib/one/56/images/disk.0".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/56/images/disk.0".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_context.sh: Executed "mkdir -p /var/lib/one/56/images/isofiles".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_context.sh: Executed "cp -R /var/lib/one/56/context.sh /var/lib/one/56/images/isofiles".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs -o /var/lib/one/56/images/disk.1 -J -R /var/lib/one/56/images/isofiles".</div>
<div>Mon Apr 18 15:11:53 2011 [TM][I]: tm_context.sh: Executed "rm -rf /var/lib/one/56/images/isofiles".</div>
<div>Mon Apr 18 15:11:55 2011 [LCM][I]: New VM state is BOOT</div>
<div>Mon Apr 18 15:11:55 2011 [VMM][I]: Generating deployment file: /var/lib/one/56/deployment.0</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var/56/images/deployment.0; else exit 42; fi'</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: STDERR follows.</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: Warning: Permanently added 'sn-kvm-11,192.168.241.41' (RSA) to the list of known hosts.</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var/56/images/deployment.0</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: error: internal error unable to start guest: qemu: could not open disk image /srv/cloud/one/var/56/images/disk.0</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]:</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][I]: ExitCode: 255</div>
<div>Mon Apr 18 15:12:25 2011 [VMM][E]: Error deploying virtual machine: Warning: Permanently added 'sn-kvm-11,192.168.241.41' (RSA) to the list of known hosts.^M</div>
<div>Mon Apr 18 15:12:25 2011 [DiM][I]: New VM state is FAILED</div>
<div>Mon Apr 18 15:12:27 2011 [TM][W]: Ignored: LOG - 56 tm_delete.sh: Deleting /var/lib/one/56/images</div>
<div><br>
</div>
<div>Mon Apr 18 15:12:27 2011 [TM][W]: Ignored: LOG - 56 tm_delete.sh: Executed "rm -rf /var/lib/one/56/images".</div>
<div><br>
</div>
<div>Mon Apr 18 15:12:27 2011 [TM][W]: Ignored: TRANSFER SUCCESS 56 -</div>
<div><br>
</div>
<div>Mon Apr 18 15:13:43 2011 [DiM][I]: New VM state is DONE.</div>
<div>Mon Apr 18 15:13:44 2011 [HKM][I]: Hook image successfully executed.</div>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Rich</div>
<div>
<div>
<div>-- </div>
<div><span class="Apple-style-span" style="font-size: 15px; ">Rich Whiffen</span></div>
</div>
</div>
</div>
</div>
</body>
</html>