Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-4837

Unable to Login into UI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Hi,

      I have installed Cloudstack-4.2 in centOS-6.3. The installation went successful. But after that i cannot able to LOGIN in UI.

      Username: admin
      Password: password

      When i click login button it throws this error,

      "Invalid username or password"

      If i click the Login button again, then it throws this error,

      "Unable to reach management server"

      The cloudstack-management service is getting stopped, whenever i try to login into UI

      Log Entries:

      $ tail -f /var/log/cloudstack/management/management-server.log

      2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===START=== 10.14.114.205 – POST
      2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-2:null) Attempting to log in user: admin in domain 1
      2013-10-09 02:22:42,836 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-2:null) Retrieving user: admin
      2013-10-09 02:22:44,011 WARN [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-2:null) The stored password for admin isn't in the right format for this authenticator
      2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-2:null) Retrieving user: admin
      2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-2:null) Password does not match
      2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-2:null) Retrieving user: admin
      2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-2:null) LDAP authenticator is not configured.
      2013-10-09 02:22:54,632 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-2:null) Retrieving user: admin
      2013-10-09 02:22:55,698 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-2:null) Password does not match
      2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-2:null) Unable to authenticate user with username admin in domain 1
      2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl] (catalina-exec-2:null) User admin is disabled/locked
      2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-2:null) User: admin in domain 1 has failed to log in
      2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END=== 10.14.114.205 – POST

      In management database i found this info,

      mysql> use cloud
      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

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      1 aa8bcc98-3068-11e3-8747-000c2957f30f system 0.910423140889428 1 system cloud NULL enabled NULL NULL 2013-10-09 03:56:24 NULL NULL NULL 0 0
      2 aa8daff4-3068-11e3-8747-000c2957f30f admin 0.811178035858253 2 admin cloud NULL disabled NULL NULL 2013-10-09 03:56:24 NULL NULL NULL 0 0

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      For admin user, it is showing disabled state.

      -Karthikeyan

      Attachments

        Activity

          People

            Unassigned Unassigned
            Karthik819 karthikeyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: