<div dir="ltr"><div class="gmail_quote">I've solved the issue and ttylinux is 'runn' now.</div><div class="gmail_quote">The problem was with oneadmin privileges on the node.</div><div class="gmail_quote">" [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied"</div>
<div class="gmail_quote">Giving oneadmin enough privileges fixed the issue.</div><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">
<br><div class="gmail_quote"><div dir="ltr"><div style="color:rgb(0, 0, 0)"><div><div dir="ltr"><div style="background-color:transparent;margin:0px"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hi ,</span><br>




<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span>I'm trying to follow the ttylinux vm tutorial.<div class="im">
<br>
<br>


<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Here is the ttylinux.one:</span><br>




<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>

</div><div style="margin-left:40px"><div style="margin-left:40px">#---------------------------------------<br># VM definition example<br>#---------------------------------------<br><br>NAME = "ttylinux"<br><br>
CPU    = 0.5<br>
MEMORY = 64<br><br># --- disks ---<div class="im"><br><br>DISK = [<br>  source   = "/home/ami/one-templates/ttylinux.img",<br>  target   = "sda",<br>  readonly = "no" ]<br><br></div># --- 1 NIC ---<div class="im">
<br><br>NIC = [ NETWORK="Small network"]<br>
<br>FEATURES=[ acpi="no" ]<br><br></div># --- VNC server ---<br><br>GRAPHICS = [<br>  type    = "vnc",<br>  listen  = "127.0.0.1"]<br></div><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span><br>

</div><div class="im"><div style="margin-left:40px"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></div>

<br><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">And here is the Small_network.net file<br>


</span><br>
<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">NAME = "Small network"</span></p>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">TYPE = FIXED</span></p>




<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">#Now we'll use the cluster private network <br>



(physical)</span></p>
<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">BRIDGE = br0</span></p>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">LEASES = [ IP="192.168.0.5"]</span></p>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">LEASES = [ IP="192.168.0.6"]</span></p>




<p dir="ltr" style="font-family:'Times New Roman';font-size:medium;margin-left:30pt;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">LEASES = [ IP="192.168.0.7"]</span></p>




<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>

<br></div>$ onehost list<div class="im"><br>  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT<br></div>   3 192.168.0.2       default    0    200    199    200    2.9G    2.7G   on<br><br>$ onevm list  <br>
<div class="im"> ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME<br></div>
   19 oneadmin ttylinux fail   0      0K     192.168.0.2 00 00:00:24<br>   20 oneadmin ttylinux fail   0      0K     192.168.0.2 00 00:00:25<br>


<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span><br>

And here is the oned.log :<br><br><br>Mon Jul  4 12:43:04 2011 [InM][I]: Monitoring host 192.168.0.2 (3)<br>Mon Jul  4 12:43:09 2011 [InM][D]: Host 3 successfully monitored.<br>Mon Jul  4 12:43:13 2011 [ReM][D]: HostPoolInfo method invoked<br>

Mon Jul  4 12:43:28 2011 [ReM][D]: HostPoolInfo method invoked<br>Mon Jul  4 12:43:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Mon Jul  4 12:43:35 2011 [ReM][D]: VirtualMachineAllocate invoked<br>Mon Jul  4 12:43:58 2011 [ReM][D]: HostPoolInfo method invoked<br>

Mon Jul  4 12:43:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Mon Jul  4 12:43:59 2011 [ReM][D]: VirtualMachineDeploy invoked<br>Mon Jul  4 12:43:59 2011 [DiM][D]: Deploying VM 20<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2:/var/lib/one//20/images/disk.0<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 STDERR follows.<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE --8<------<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts.<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE ------>8--<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ExitCode: 1<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2:/var/lib/one//20/images/disk.0<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: DST: /var/lib/one//20/images/disk.0<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: Creating directory /var/lib/one//20/images<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Command "/usr/bin/ssh 192.168.0.2 mkdir -p /var/lib/one//20/images" failed.<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts.<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: TRANSFER FAILURE 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts.
<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: mkdir: cannot create directory `/var/lib/one': Permission denied<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Deleting /var/lib/one//20/images<br>

<br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Executed "/usr/bin/ssh 192.168.0.2 rm -rf /var/lib/one//20/images".<br><br>Mon Jul  4 12:44:00 2011 [TM][D]: Message received: TRANSFER SUCCESS 20 -<br>

<br>Mon Jul  4 12:44:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked<br>Mon Jul  4 12:44:28 2011 [ReM][D]: HostPoolInfo method invoked<div class="im"><br><br><br><br>


<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">The frontend ip is : 192.168.0.4</span><br>




<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">The node ip is : 192.168.0.2</span><br>




<br></div>Any help !!<br>
<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>




<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Regards.  </span><br>




<font size="2"><span style="font-size:10pt;font-family:'Courier New';font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></font><br>




<span style="font-size:10pt;font-family:'Courier New';background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ami</span></div>




</div>
</div></div></div>
</div><br></div>
</blockquote></div><br></div>