<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Wingdings}
@font-face
{font-family:Wingdings}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{margin-right:0cm;
margin-left:0cm;
font-size:12.0pt;
font-family:"Calibri","sans-serif"}
span.emailstyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt;
font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-ZA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">So it seems that the file: /var/tmp/one/vnm/vnm_mad/pre does not exist on the node I am trying to deploy to …</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">How is this directory populated ?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Adrian Snyman</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Linux Systems Administrator</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Tel: 011-559-4929</span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Cell: 082-600-1211</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> users-bounces@lists.opennebula.org [mailto:users-bounces@lists.opennebula.org]
<b>On Behalf Of </b>Snyman, Adrian<br>
<b>Sent:</b> 06 March 2012 03:12 PM<br>
<b>To:</b> users@lists.opennebula.org<br>
<b>Subject:</b> [one-users] Deploying a VM - CentOS 6.2</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">I have created a template file and tried to deploy my first vm.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">However, the vm starts up, goes through the prep, and then fails.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> ID USER GROUP NAME STAT CPU MEM HOSTNAME TIME</p>
<p class="MsoNormal"> 1 oneadmin oneadmin test1 fail 0 0K 0d 00:04</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The log file shows the following:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Tue Mar 6 11:50:23 2012 [DiM][I]: New VM state is ACTIVE.</p>
<p class="MsoNormal">Tue Mar 6 11:50:23 2012 [LCM][I]: New VM state is PROLOG.</p>
<p class="MsoNormal">Tue Mar 6 11:50:23 2012 [VM][I]: Virtual Machine has no context</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][D]: tm_clone.sh: frontend_server.localdomain:/var/lib/one/images/centos-6.2/disk.0 node1:/var/lib/one/1/images/disk.0</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][D]: tm_clone.sh: DST: /var/lib/one/1/images/disk.0</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Creating directory /var/lib/one/1/images</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "mkdir -p /var/lib/one/1/images".</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "chmod a+w /var/lib/one/1/images".</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Cloning /var/lib/one/images/centos-6.2/disk.0</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "cp -r /var/lib/one/images/centos-6.2/disk.0 /var/lib/one/1/images/disk.0".</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: tm_clone.sh: Executed "chmod a+rw /var/lib/one/1/images/disk.0".</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [TM][I]: ExitCode: 0</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [LCM][I]: New VM state is BOOT</p>
<p class="MsoNormal">Tue Mar 6 11:54:18 2012 [VMM][I]: Generating deployment file: /var/lib/one/1/deployment.0</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: Remote worker node files not found</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: Updating remotes</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 0</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 0</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: Command execution fail: /var/tmp/one/vnm/vnm_mad/pre PFZNPjxJRD4xPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRta</p>
<p class="MsoNormal">W48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+bnMxLmNvZGVvbmxpbmUuY28uemE8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT</p>
<p class="MsoNormal">48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJ</p>
<p class="MsoNormal">fTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PExBU1RfUE9MTD4wPC9MQVNUX1BPTEw+PFNUQVRFPjM8L1NUQVRFPjxMQ01fU1RBVEU+MjwvTENNX1NUQVRFPjxTVElNRT4xMzMxMDI3NDEx</p>
<p class="MsoNormal">PC9TVElNRT48RVRJTUU+MDwvRVRJTUU+PERFUExPWV9JRC8+PE1FTU9SWT4wPC9NRU1PUlk+PENQVT4wPC9DUFU+PE5FVF9UWD4wPC9ORVRfVFg+PE5FVF9SWD4wPC9ORVRfUlg+PFRFTVBMQVRFPjxDUFU+P</p>
<p class="MsoNormal">CFbQ0RBVEFbMV1dPjwvQ1BVPjxESVNLPjxDTE9ORT48IVtDREFUQVt5ZXNdXT48L0NMT05FPjxESVNLX0lEPjwhW0NEQVRBWzBdXT48L0RJU0tfSUQ+PFJFQURPTkxZPjwhW0NEQVRBW25vXV0+PC9SRUFET0</p>
<p class="MsoNormal">5MWT48U09VUkNFPjwhW0NEQVRBWy92YXIvbGliL29uZS9pbWFnZXMvY2VudG9zLTYuMi9kaXNrLjBdXT48L1NPVVJDRT48VEFSR0VUPjwhW0NEQVRBW2hkYV1dPjwvVEFSR0VUPjwvRElTSz48TUVNT1JZPjw</p>
<p class="MsoNormal">hW0NEQVRBWzEwMjRdXT48L01FTU9SWT48TkFNRT48IVtDREFUQVtuczEuY29kZW9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RJTUU+MTMzMTAyNzY1ODwvUEVUSU1FPjxSU1RJTUU+MTMzMTAyNzY1ODwvUlNUSU1FPjxSRVRJTU</p>
<p class="MsoNormal">U+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg==</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: bash: line 2: /var/tmp/one/vnm/vnm_mad/pre: No such file or directory</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: ExitCode: 127</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][I]: Failed to execute network driver operation: pre.</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [VMM][E]: Error deploying virtual machine</p>
<p class="MsoNormal">Tue Mar 6 11:54:19 2012 [DiM][I]: New VM state is FAILED</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My Template looks like this:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">NAME=test1</p>
<p class="MsoNormal">MEMORY=1024</p>
<p class="MsoNormal">CPU=1</p>
<p class="MsoNormal">OS=[kernel=/images/vmlinuz,</p>
<p class="MsoNormal"> initrd=/images/initrd.img,</p>
<p class="MsoNormal"> root=hda1,</p>
<p class="MsoNormal"> kernel_cmd="ro xencons=tty console=tty1"]</p>
<p class="MsoNormal">DISK=[source=/var/lib/one/images/centos-6.2/disk.0,</p>
<p class="MsoNormal"> clone=yes,</p>
<p class="MsoNormal"> target=hda,</p>
<p class="MsoNormal"> readonly=no]</p>
<p class="MsoNormal">NIC = [NETWORK="PUBLIC",IP="x.x.x.x"]</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am using a public fixed ip <span style="font-family:Wingdings">
J</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US">Adrian Snyman</span></p>
<p class="MsoNormal"><span lang="EN-US">Linux Systems Administrator</span></p>
<p class="MsoNormal"><span lang="EN-US">Tel: 011-559-4929</span></p>
<p class="MsoNormal"><span lang="EN-US">Cell: 082-600-1211</span></p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""> </span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Arial","sans-serif"; color:gray"><br>
This email and all contents are subject to the following disclaimer:<br>
<br>
<a href="http://disclaimer.uj.ac.za">http://disclaimer.uj.ac.za</a></span><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></p>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="3"><br>
This email and all contents are subject to the following disclaimer:<br>
<br>
http://disclaimer.uj.ac.za<br>
</font>
</body>
</html>