[one-users] Contextualization of Data in template file

Jaime Melis j.melis at fdi.ucm.es
Wed Sep 23 09:40:05 PDT 2009


Hi Prathiban,

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.

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:

CONTEXT = ssh/tm_context.sh

Thank you very much for your feedback!

Jaime

On Wed, Sep 23, 2009 at 6:21 PM, Jaime Melis <j.melis at fdi.ucm.es> wrote:

> Hi Prathiban,
> could you please send us your template file? I would like to check the
> syntax you are using.
>
> Jaime
>
> On Wed, Sep 23, 2009 at 9:44 AM, Prathiban <
> pmohanasundaram at spikesource.com> wrote:
>
>>  Hi ,
>>          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
>>
>> *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".
>> 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.
>> 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.
>> Wed Sep 23 03:17:00 2009 [DiM][I]: New VM state is FAILED
>> Wed Sep 23 03:17:01 2009 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Deleting
>> /var/lib/one//4/images
>>
>> 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".
>>
>> Wed Sep 23 03:17:01 2009 [TM][W]: Ignored: TRANSFER SUCCESS 4 -
>>
>> *Has anyone done this before, If yes please share me the steps.
>>
>> Regards,
>> Prathiban
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090923/a4b66e4d/attachment-0003.htm>


More information about the Users mailing list