[one-users] undefined method `rstrip!'

Jaime Melis jmelis at opennebula.org
Wed Aug 27 03:22:01 PDT 2014


It looks you don't have the one_auth file set properly:

this is the piece of the code that is doing the search:

                if ENV["ONE_AUTH"] and !ENV["ONE_AUTH"].empty? and
File.file?(ENV["ONE_AUTH"])
                    one_auth = File.read(ENV["ONE_AUTH"])
                elsif File.file?(ENV["HOME"]+"/.one/one_auth")
                    one_auth = File.read(ENV["HOME"]+"/.one/one_auth")
                end

                one_auth.rstrip!


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


On Wed, Aug 27, 2014 at 12:18 PM, Tobias Honacker <t.honacker at googlemail.com
> wrote:

> Hi guys,
>
> after installing and starting opennebula-gate i got this error:
>
> root at sunstone ~]# tail /var/log/one/onegate.error
> /usr/lib/one/ruby/opennebula/oneflow_client.rb:315:in `initialize':
> undefined method `rstrip!' for nil:NilClass (NoMethodError)
>  from /usr/lib/one/onegate/onegate-server.rb:84:in `new'
> from /usr/lib/one/onegate/onegate-server.rb:84:in `<main>'
>
>
> onegate-server.conf standard configured, only changed:
> :host: 0.0.0.0
>
> Setup is CentOS 7 with OpenNebula 4.8
>
> Any hints?
>
>
> Best regards,
> Tobias
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140827/3db4fad9/attachment.htm>


More information about the Users mailing list