[one-users] Cannot install scripts on the cluster nodes with OpenNebula 2.0.1

Jaime Melis j.melis at fdi.ucm.es
Fri Dec 10 05:50:17 PST 2010


Hello Philippe,

I'm afraid you must have accidentally removed the remotes from
'$ONE_LOCATION/var/remotes'. Currently, the install.sh script installs the
remotes both in ''$ONE_LOCATION/var' and in ''$ONE_LOCATION/lib'. The ones
in ''$ONE_LOCATION/lib' are meant as a reference only, and are not, by
default, used by OpenNebula. In case someone accidentally removes the
remotes from ''$ONE_LOCATION/var' you can copy them from
''$ONE_LOCATION/lib'.

I suggest you do the following:

1) copy the remotes from lib to var again: "cp -r $ONE_LOCATION/lib/remotes
$ONE_LOCATION/var"
2) revert the changes you made to the one_im_ssh.rb and CommandManager.rb
scripts

Regards,
Jaime

On Fri, Dec 10, 2010 at 1:30 PM, Philippe Berthault <
Philippe.Berthault at bull.net> wrote:

> I've installed OpenNebula 2.0.1 from sources in a dedicated directory on my
> system.
>
> The command "onehost list" reports errors on all my cluster nodes. The
> problem comes from the remote scripts which aren't copied on the cluster
> nodes.
>
> In the oned.log, I saw that OpenNebula wants to copy scripts from the
> directory "${ONE_LOCATION}/var/remotes/" but this directory doesn't exists
> on OpenNebula 2.0.1.
>
> The directory "remotes" is placed in "${ONE_LOCATION}/lib/", not in
> "${ONE_LOCATION}/var/".
>
> I've replaced the line
>    REMOTES_LOCATION=ONE_LOCATION+"/var/remotes/"
> by
>    REMOTES_LOCATION=ONE_LOCATION+"/lib/remotes/"
>
> in the one_im_ssh.rb and CommandManager.rb scripts, and after this, onehost
> list & show commands are OK !
>
> _______________________________________________
> 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/20101210/4f1b74ca/attachment-0003.htm>


More information about the Users mailing list