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">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><br><br>-- <br>Álvaro