Hello Philippe,<div><br></div><div>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'.</div>
<div>
<br></div><div>I suggest you do the following:</div><div><br></div><div>1) copy the remotes from lib to var again: "cp -r $ONE_LOCATION/lib/remotes $ONE_LOCATION/var"</div><div>2) revert the changes you made to the one_im_ssh.rb and CommandManager.rb scripts</div>
<div><br></div><div><div>Regards,</div></div><div>Jaime</div><div><br></div><div><div class="gmail_quote">On Fri, Dec 10, 2010 at 1:30 PM, Philippe Berthault <span dir="ltr"><<a href="mailto:Philippe.Berthault@bull.net" target="_blank">Philippe.Berthault@bull.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've installed OpenNebula 2.0.1 from sources in a dedicated directory on my system.<br>
<br>
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.<br>
<br>
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.<br>
<br>
The directory "remotes" is placed in "${ONE_LOCATION}/lib/", not in "${ONE_LOCATION}/var/".<br>
<br>
I've replaced the line<br>
REMOTES_LOCATION=ONE_LOCATION+"/var/remotes/"<br>
by<br>
REMOTES_LOCATION=ONE_LOCATION+"/lib/remotes/"<br>
<br>
in the one_im_ssh.rb and CommandManager.rb scripts, and after this, onehost list & show commands are OK !<br>
<br>
_______________________________________________<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>
</blockquote></div><br></div>