Can you check if you are using the same OpenNebula and Java OCA versions? -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula<http://twitter.com/opennebula><[email protected]>
On Tue, Nov 27, 2012 at 3:37 AM, Hoàng Thái Xuân Khoa <[email protected]>wrote: > On 11/26/2012 4:47 PM, Giovanni Toraldo wrote: > > On Mon, Nov 26, 2012 at 10:43 AM, Hoàng Thái Xuân Khoa<[email protected]> > <[email protected]> wrote: > > Client client = new > Client("oneadmin:7f44b494160f2e69fed6c21b2ce555b8","http://localhost:2633/RPC2" > <http://localhost:2633/RPC2>); > > This looks like an md5 hash, you should put your *real* password instead. > > -- > Giovanni Toraldohttp://gionn.net > > It's still didn't work. > > The 7f44b494160f2e69fed6c21b2ce555b8 is a default password when i > installed OpenNebula. So, i don't know *real* password behind it. I decide > use oneuser command to change oneadmin's password: > oneadmin@cluster:~#oneuser passwd 0 123 > with 0 is the id of oneadmin user and 123 is a new password. After that, i > can use password 123 to logon to SunStone server, managed private cloud via > command line successfully. But, when i used it in Java code, it's didn't > work. > Client client = new > Client("oneadmin:123","http://localhost:2633/RPC2"<http://localhost:2633/RPC2> > ); > I got the same error: > > *Error message: [HostPoolInfo] User couldn't be authenticated, aborting > call.* > > -- > Hoang Thai Xuan Khoa > Ho Chi Minh city, Vietnam > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
