<div dir="ltr">It looks you don't have the one_auth file set properly:<div><br></div><div>this is the piece of the code that is doing the search:</div><div><div><br></div><div>                if ENV["ONE_AUTH"] and !ENV["ONE_AUTH"].empty? and File.file?(ENV["ONE_AUTH"])</div>

<div>                    one_auth = File.read(ENV["ONE_AUTH"])</div><div>                elsif File.file?(ENV["HOME"]+"/.one/one_auth")</div><div>                    one_auth = File.read(ENV["HOME"]+"/.one/one_auth")</div>

<div>                end</div><div><br></div><div>                one_auth.rstrip!</div></div><div><br></div><div><br></div><div>You probably need to create a file in $HOME/.one/one_auth with the <username>:<password> content</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 12:18 PM, Tobias Honacker <span dir="ltr"><<a href="mailto:t.honacker@googlemail.com" target="_blank">t.honacker@googlemail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi guys,</span><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">after installing and starting opennebula-gate i got this error:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>root@sunstone ~]# tail /var/log/one/onegate.error</div><div>/usr/lib/one/ruby/opennebula/oneflow_client.rb:315:in `initialize': undefined method `rstrip!' for nil:NilClass (NoMethodError)</div>


<div><span style="white-space:pre-wrap">  </span>from /usr/lib/one/onegate/onegate-server.rb:84:in `new'</div><div><span style="white-space:pre-wrap">      </span>from /usr/lib/one/onegate/onegate-server.rb:84:in `<main>'</div>


</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">onegate-server.conf standard configured, only changed:<br>


:host: 0.0.0.0<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Setup is CentOS 7 with OpenNebula 4.8</div><div style="font-family:arial,sans-serif;font-size:13px">


<br></div><div style="font-family:arial,sans-serif;font-size:13px">Any hints?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">


Best regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Tobias</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>

</div>