[one-users] User couldn't be authenticated, aborting call.
Carlos Martín Sánchez
cmartin at opennebula.org
Wed Oct 31 03:59:44 PDT 2012
Hi,
Can you execute CLI commands with those "oneadmin:onead" credentials? Try
any command, like 'oneuser show' or 'onevm list'
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Wed, Oct 31, 2012 at 5:28 AM, rajesh kannan <asrajeshkannan at gmail.com>wrote:
> sorry for asking once again because i dont have choice to ask any one so
> pls help me ....i had this problem past one month.... i try out all
> possibility ....i refer all your passed question on [one_users] ...they are
> said about only ONE_AUTH file but am specified correctly .....
>
> i dont know what was the problem pls help..............
>
> //this java program given in opennebula websites
>
> // i made only changes on this only
>
> //passing the parameter username:password and XML-RPC
>
> //then change the vmTemplate Variable
>
>
> Client oneClient = new Client("oneadmin:onead","http://localhost:2633/RPC2
> ");
>
> String vmTemplate =
> "NAME = vm_from_java CPU = 0.1 MEMORY = 64\n"
> + "DISK = [\n"
> + "\tsource = \"/var/lib/images/ttylinux.img\",\n"
> + "\ttarget = \"hda\",\n"
> +"\thostname = \"$NAME\",\n"
> +"\tip_public = \"PUBLIC_IP\",\n"
> +"\t root_pubkey = \"id_rsa\",\n"
> +"\tfiles = \"/var/lib/one/init.sh ~/.ssh/id_rsa\",\n"
> +"\tusername = \"opennebula\",\n"
> +"\tuser_pubkey = \"id_rsa\",\n"
> + "\treadonly = \"no\" ]\n"
> + "FEATURES = [ acpi=\"no\" ]";
>
> oneadmin at SONY-VAIO:~/lib/java$ javac vmcre.java
>
> oneadmin at SONY-VAIO:~/lib/java$ java vmcre
>
> ERRR
> [VirtualMachineAllocate] User couldn't be authenticated, aborting call.
>
>
> when i try to install opennebula i did this kind of ssh operation
>
>
> su -l oneadmin
> ssh-keygen
> {Note - all defaults, and no passphrase.}
> cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
> nano ~/.ssh/config
> [add below two lines to SSH config file]
> Host *
> StrictHostKeyCheckingno
>
>
> Is there any problem on this????????
>
>
> Env variable
>
> oneadmin at SONY-VAIO:~/lib/java$ cat ~/.bash_profile
>
>
> export ONE_LOCATION=/var/lib/one
> export ONE_AUTH=$ONE_LOCATION/.one/one_auth
> export ONE_XMLRPC=http://localhost:2633/RPC2
> export
> PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:/var/lib/gems/1.8/:$PATH
>
>
> Username:password ONE_AUTH file
>
> oneadmin at SONY-VAIO:~/lib/java$ cat ~/.one/one_auth
>
> oneadmin:onead
>
> //(Username:password)
>
>
> oneadmin at SONY-VAIO:~/lib/java$ cat ~/etc/oned.conf
>
> AUTH_MAD = [
> executable = "one_auth_mad",
> arguments = "--authn ssh,x509,ldap,server_cipher,server_x509" ]
>
> uncomment this line also
>
>
>
> i dont know what else suppose to do to recover this problem
>
> sorry for distrub
>
> i need to finish the project on this month pls help me
>
> if u know something else do on this pls mail me
>
> ................if know please help...................
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121031/45dbe642/attachment-0002.htm>
More information about the Users
mailing list