Hi Prathiban,<br><br>actually, there is no need for you to send us that file, we have found out what's wrong. Basically there is one line missing in the tm_ssh.conf file which defines the CONTEXT command. We have already fixed it and commited it to subversion.<br>
<br>To fix this manually (without doing a svn checkout) you should edit $ONE_LOCATION/etc/tm_ssh/tm_ssh.conf and add the following line:<br><br>CONTEXT = ssh/tm_context.sh<br><br>Thank you very much for your feedback!<br>
<br>Jaime<br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 6:21 PM, Jaime Melis <span dir="ltr"><<a href="mailto:j.melis@fdi.ucm.es">j.melis@fdi.ucm.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Prathiban,<br>could you please send us your template file? I would like to check the syntax you are using.<br><br>Jaime<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Sep 23, 2009 at 9:44 AM, Prathiban <span dir="ltr"><<a href="mailto:pmohanasundaram@spikesource.com" target="_blank">pmohanasundaram@spikesource.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">



<div bgcolor="#ffffff" text="#000000">
<small>Hi ,<br>
         I am trying to Add a hostname to the vm during deployment. The
documentation in open nebula website says that this can be achieved
through contextualization of data using CONTEXT variable. I tried this
as per the documentation given and this is what i get <br>
<br>
<i>Wed Sep 23 03:17:00 2009 [TM][I]: tm_clone.sh: Executed "ssh
192.168.1.196 chmod a+w /var/lib/one//4/images/disk.0".<br>
Wed Sep 23 03:17:00 2009 [TM][I]: COMMAND not found: CONTEXT
/var/lib/one/4/context.sh /opt/sugarcrm/init.sh
192.168.1.196:/var/lib/one//4/images/disk.1.<br>
Wed Sep 23 03:17:00 2009 [TM][E]: Error excuting image transfer script:
COMMAND not found: CONTEXT /var/lib/one/4/context.sh
/opt/sugarcrm/init.sh 192.168.1.196:/var/lib/one//4/images/disk.1.<br>
Wed Sep 23 03:17:00 2009 [DiM][I]: New VM state is FAILED<br>
Wed Sep 23 03:17:01 2009 [TM][W]: Ignored: LOG - 4 tm_delete.sh:
Deleting /var/lib/one//4/images<br>
<br>
Wed Sep 23 03:17:01 2009 [TM][W]: Ignored: LOG - 4 tm_delete.sh:
Executed "ssh 192.168.1.196 rm -rf /var/lib/one//4/images".<br>
<br>
Wed Sep 23 03:17:01 2009 [TM][W]: Ignored: TRANSFER SUCCESS 4 -<br>
<br>
</i>Has anyone done this before, If yes please share me the steps.<br>
<br>
Regards,<br>
Prathiban<br>
<br>
</small>
</div>

<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>
</blockquote></div><br>