Hi again,<br><br>We are going to need a bit more info to solve this. Could you please comment the following lines:<br><br>-------8<----------<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
def call(action, *args)<br># begin<br> response=@server.call("one."+action, "sessionID", *args)<br>
</blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> response<<nil if response.length<2<br> response<br>
# rescue Exception => e<br> [false, e.message + " Fails here!!!!!!!!!!! "]<br> # end<br> end<br> end</blockquote>------>8------------<br><br>repeat the deletion and send back the stacktrace it should now output?<br>
<br>Best regards,<br><br>-Tino<br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 11:57 AM, Alvaro Canales <<a href="mailto:accleo@gmail.com" target="_blank">accleo@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Oh yes!!<br>You're definitely right, I had not my oned process running. :( Sorry!<br><br>The problem is that it suddenly died and I didn't know about it. I have reproduced when it dies. When I do:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
onehost delete 0<br>Error: end of file reached Fails here!!!!!!!!!!! </blockquote><div>And the oned process dies.<br> </div><div>I have traced the error and it turns out to be the same point as in the previous message, it fails here:<div>
<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> def call(action, *args)<br> begin<br> response=@server.call("one."+action, "sessionID", *args)<br>
</blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> response<<nil if response.length<2<br> response<br>
rescue Exception => e<br> [false, e.message + " Fails here!!!!!!!!!!! "]<br> end<br> end<br> end</blockquote><br></div> Do you know what can be? I have this, and want to delete the first host (though I get the same error on all the hosts), which is useless:<br>
HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT<br> 0 invented 0 0 100 on<br> 1 localhost 0 0 100 on<br>
2 localhost 0 0 100 on<br></div><br>Thank you very much for your help and attention!! :)<div><div></div><div><br><br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 11:29 AM, Tino Vazquez <<a href="mailto:tinova@fdi.ucm.es" target="_blank">tinova@fdi.ucm.es</a>> 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 Alvaro,<br><br>Did you change the default port in $ONE_LOCATION/etc/oned.conf?. If not, could you check if the default port is open (2633)?<br>
<br># telnet localhost 2633<br><br>And just to for completeness sake, please note that the "oned" process must be running.<br>
<br>Best regards,<br><br>-Tino<br><br><div class="gmail_quote"><div><div></div><div>On Thu, Jun 26, 2008 at 11:12 AM, Alvaro Canales <<a href="mailto:accleo@gmail.com" target="_blank">accleo@gmail.com</a>> 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>
Dear users:<br><br>When I try to submit an image with this command:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">onevm submit images/myfirstVM.template</blockquote>
<div><br>I get the following error:<br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Error: Connection refused - connect(2)</blockquote>
<div><br>I have seen that the error comes in the "def call(action, *args)" call, in file lib/ruby/one.rb:<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
# Server class. This is the one that makes xml-rpc calls.<br> class Server<br> #def initialize(host="localhost", port=60666, path="/RPC2")<br> # @server=XMLRPC::Client.new(host, path, port)<br>
#end<br><br> def initialize(endpoint=nil)<br> if endpoint<br> one_endpoint=endpoint<br> elsif ENV["ONE_XMLRPC"]<br> one_endpoint=ENV["ONE_XMLRPC"]<br>
else<br> one_endpoint="<a href="http://localhost:2633/RPC2" target="_blank">http://localhost:2633/RPC2</a>"<br> end<br> @server=XMLRPC::Client.new2(one_endpoint)<br>
end<br>
<br> def call(action, *args)<br> begin<br> response=@server.call("one."+action, "sessionID", *args)<br> response<<nil if response.length<2<br> response<br>
rescue Exception => e<br> [false, e.message + " Fails here!!!!!!!!!!! "]<br> end<br> end<br> end<br></blockquote> <br>Do you know what I can do? I'm lost, I don't know what to investigate...<br>
Many thanks in advance!<br></div><font color="#888888"><br><br>-- <br>Álvaro
</font><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><font color="#888888"><br><br clear="all"><br>-- <br>Constantino Vázquez, Grid Technology Engineer/Researcher: <a href="http://www.dsa-research.org/doku.php?id=people:tinova" target="_blank">http://www.dsa-research.org/doku.php?id=people:tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a> <br>OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>
</font></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Álvaro
</font></blockquote></div><br><br clear="all"><br>-- <br>Constantino Vázquez, Grid Technology Engineer/Researcher: <a href="http://www.dsa-research.org/doku.php?id=people:tinova" target="_blank">http://www.dsa-research.org/doku.php?id=people:tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a> <br>OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>