Hi, It's not clear to me if you finally tried to "export ONE_AUTH=/var/lib/one/.one/one_auth" with the oneadmin user and run opennebula with the oneadmin user. It seems ONE_AUTH is not pointing to the right file or it cannot be read (in theory it does not matter where it is as long as ONE_AUTH is defined). This file needs to have the line "oneadmin:password" in it.
Any case, normally you wouldn't run opennebula with the root user. I hope this helps, Hector El 04/06/11 00:01, Robert Schweikert escribió: > 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 > -- Héctor Sanjuán OpenNebula Sunstone Developer _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org