Community
 
 
 

CloudPlatform 4.x

284 followers
 
Avatar
Administrator

Why I can't login with default username/password:admin/password

Avatar

Why I can't login with default username/password:admin/password

I installed CloudPortal with package CloudPlatform-4.2.1-2-rhel6.4.tar.gz in CentOS6.0.

 

But when can't login it with username/password:admin/password

 

Who can help me to check the log to get the reason? Thanks a lot.

 

Here is the log:

=================================================

 

2014-01-29 09:08:13,290 DEBUG [cloud.server.ConfigurationServerImpl] (Timer-2:null) ConfigurationServer saved "10.67.255.116" as host.
2014-01-29 09:08:13,825 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Processing updateSSLKeyStore
2014-01-29 09:08:13,886 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) SSL keystore located at /etc/cloudstack/management/cloudmanagementserver.keystore
2014-01-29 09:08:13,934 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Processing updateKeyPairs
2014-01-29 09:08:13,934 INFO  [cloud.server.ConfigurationServerImpl] (Timer-2:null) Systemvm keypairs not found in database. Need to store them in the database
2014-01-29 09:08:13,935 DEBUG [utils.script.Script] (Timer-2:null) Executing: /bin/bash -c if [ -f /usr/share/cloud/portal/.ssh/id_rsa ]; then rm -f /usr/share/cloud/portal/.ssh/id_rsa; fi; ssh-keygen -t rsa -N '' -f /usr/share/cloud/portal/.ssh/id_rsa -q
2014-01-29 09:09:45,869 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===START===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986585779
2014-01-29 09:09:45,947 DEBUG [cloud.api.ApiServlet] (catalina-exec-4:null) ===END===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986585779
2014-01-29 09:10:02,386 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===START===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986602303
2014-01-29 09:10:02,456 DEBUG [cloud.api.ApiServlet] (catalina-exec-22:null) ===END===  10.67.15.188 -- GET  command=listCapabilities&response=json&sessionkey=null&_=1390986602303
2014-01-29 09:10:10,126 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===  10.67.15.188 -- POST  
2014-01-29 09:10:10,143 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) Attempting to log in user: admin in domain 1
2014-01-29 09:10:10,143 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,176 WARN  [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-8:null) The stored password for admin isn't in the right format for this authenticator
2014-01-29 09:10:10,485 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,494 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-8:null) Password does not match
2014-01-29 09:10:10,497 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,513 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-8:null) LDAP authenticator is not configured.
2014-01-29 09:10:10,514 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-8:null) Retrieving user: admin
2014-01-29 09:10:10,521 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-8:null) Password does not match
2014-01-29 09:10:10,524 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) Unable to authenticate user with username admin in domain 1
2014-01-29 09:10:10,529 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-8:null) User admin is disabled/locked
2014-01-29 09:10:10,533 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-8:null) User: admin in domain 1 has failed to log in
2014-01-29 09:10:10,565 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===  10.67.15.188 -- POST  
 

 


Yongjun Tan MEMBERS 29 January 2014 - 09:16 AM
8 comments
0

Please sign in to leave a comment.

 
 

Previous 8 comments

Avatar
Gert Jensen

Hello,

 

I am not the most competent perso to anserw this, but..

 

have a look at:

https://issues.apache.org/jira/browse/CLOUDSTACK-4837

 

You need to give the servers running cloudstack more that 2Gb of memory.

 

Kind regards Gert

 


Comment actions Permalink
Avatar
Administrator
Avatar

Thanks a lot, Gert, I tried expanded the memory to the 3Gb but still failed to login.

 

The error message is different from the ticket you referred. Everytime I click login button, It pops a messagebox said "Invalid username or password". No error message like "Unable to reach management server".


Yongjun Tan MEMBERS 07 February 2014 - 02:37 AM
Comment actions Permalink
Avatar
Gert Jensen

Ok,

 

I just focused on the line.. :)

2014-01-29 09:10:10,513 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-8:null) LDAP authenticator is not configured.

 

Just to make sure, which product is it you have problems with.

 

Cloudplatform or Cloud portal.

 

I would try to reset password.

Cloudplatform:

http://support.citrix.com/article/CTX133469

 

Cloudportal

default password:

User name: root

Password: Portal123#

I do not know how to reset this..

 

and you have set it to CAS authentification when you installed it ?

 

Kind regards

Gert


Comment actions Permalink
Avatar
Administrator
Avatar

It is Cloudplatform. I can install Cloud Portal successfully. Since Cloud Portal needs to create a service instance during configuration. So I try to install CloudPlatform with package CloudPlatform-4.2.1-2-rhel6.4.tar.gz.

 

After installed. The first login with admin/password should trigger the setup guide steps such as config host/network...

 

But I failed to login.


Yongjun Tan MEMBERS 07 February 2014 - 09:20 AM
Comment actions Permalink
Avatar
Gert Jensen

Ok, i had the same with 3.6.

 

Did you try to reset the password :

http://support.citri...ticle/CTX133469

 

afterwards the usernam/password is : admin/password

 

And are you trying to install CP and CPBM on the same server?

 

Kind regards

Gert


Comment actions Permalink
Avatar
Gert Jensen

Hello,

 

My admin is enabled.

 

Perhaps there was something wrong with the installation..

 

You could try to change the state on the admin to enabled, and see if everything works, but I personally would remove the sql database and reinstall cloud platform..

 

Kind regards Gert


Comment actions Permalink
Avatar
Administrator
Avatar

Gert, I tried reset the password. You can see it. But same error didn't disappear.

User admin's state field disabled is right?

 
UPDATE user SET password = '5f4dcc3b5aa765d61d8327deb882cf99' WHERE username = 'admin';

 

mysql> select * from user;
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+---------+
| id | uuid                                 | username | password                         | account_id | firstname | lastname | email | state    | api_key | secret_key | created             | removed | timezone | registration_token | is_registered | incorrect_login_attempts | default |
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+---------+
|  1 | 2d16af9e-8fdb-11e3-a72f-00505695de05 | system   | 0.523638487349859                |          1 | system    | cloud    | NULL  | enabled  | NULL    | NULL       | 2014-02-07 09:35:26 | NULL    | NULL     | NULL               |             0 |                        0 |       1 |
|  2 | 2d187de2-8fdb-11e3-a72f-00505695de05 | admin    | 5f4dcc3b5aa765d61d8327deb882cf99 |          2 | admin     | cloud    | NULL  | disabled | NULL    | NULL       | 2014-02-07 09:35:26 | NULL    | NULL     | NULL               |             0 |                        0 |       1 |
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+---------+
2 rows in set (0.00 sec)

Yongjun Tan MEMBERS 07 February 2014 - 09:44 AM
Comment actions Permalink
Avatar
Administrator
Avatar

The problem sovled, Thanks Gert, In my installation, It should be caused by that I only assigned one cpu to CloudPlatform VM.


Yongjun Tan MEMBERS 14 February 2014 - 01:07 AM
Comment actions Permalink

Top Contributors