[one-users] Setup help

Robert Schweikert rschweikert at novell.com
Fri Jun 3 15:01:56 PDT 2011


Hi,

Trying to follow the docs and arrived at 
http://opennebula.org/documentation:rel2.2:cg When I try to add a host I 
get the following msg:

# onehost create 192.168.1.5 im_kvm vmm_kvm tm_nfs
/usr/lib/one/ruby/OpenNebula.rb:93:in `initialize': ONE_AUTH file not 
present (RuntimeError)
	from /usr/lib/one/ruby/client_utilities.rb:239:in `new'
	from /usr/lib/one/ruby/client_utilities.rb:239:in `get_one_client'
	from /usr/bin/onehost:262

I suspect the basic problem is that $HOME/.one/one_auth does not exist. 
However, it is not obvious to me how to resolve this based on what I 
have read. The oneadmin user cannot login (by design), thus I execute 
the onehost command as root. But root has no one_auth file, oneadmin has 
one in /var/lib/one/.one/

I am very confused about all of this help is appreciated. Did I miss a 
part of the docs that explains this?

Do I always have to set ONE_AUTH environment variable to point to 
/var/lib/one/.one/one_auth? Or should the one_auth file for oneadmin 
really be located in root's home directory?

Confused.....

Thanks,
Robert

-- 
Robert Schweikert                           MAY THE SOURCE BE WITH YOU
SUSE-IBM Software Integration Center                   LINUX
Tech Lead
rschweikert at novell.com
rschweikert at ca.ibm.com
781-464-8147



More information about the Users mailing list