[
https://issues.apache.org/jira/browse/CLOUDSTACK-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alena Prokharchyk resolved CLOUDSTACK-3091.
-------------------------------------------
Resolution: Fixed
> Not able to login to the CS UI using admin:password after modifying the
> internallbvm.service.offering and restarting management server
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3091
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3091
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Reporter: Abhinav Roy
> Assignee: Alena Prokharchyk
> Fix For: 4.2.0
>
> Attachments: apilog.log, CS-3091.dmp, management-server.log
>
>
> Steps & Observations :
> ==================================
> 1. Goto global setting and set internallbvm.service.offering to some UUID
> (belonging to some other service offering)
> 2. Restart management server service
> #service cloudstack-management restart
> Following error is seen in management server logs
> 013-06-20 14:28:02,597 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-1:null) Attempting to log in user: admin in domain 1
> 2013-06-20 14:28:02,597 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
> (catalina-exec-1:null) Retrieving user: admin
> 2013-06-20 14:28:02,847 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-1:null) User: admin in domain 1 has successfully logged in
> 2013-06-20 14:28:02,870 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null)
> ===END=== 10.144.6.28 -- POST null
> 2013-06-20 14:28:02,892 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
> ===START=== 10.144.6.28 -- GET
> command=listCapabilities&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818773
> 2013-06-20 14:28:02,899 DEBUG [cloud.api.ApiServer] (catalina-exec-2:null)
> The given command:listCapabilities does not exist or it is not available for
> user with id:2
> 2013-06-20 14:28:02,907 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
> ===END=== 10.144.6.28 -- GET
> command=listCapabilities&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818773
> 2013-06-20 14:28:02,928 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null)
> ===START=== 10.144.6.28 -- GET
> command=listSwifts&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818816
> 2013-06-20 14:28:02,933 DEBUG [cloud.api.ApiServer] (catalina-exec-3:null)
> The given command:listSwifts does not exist or it is not available for user
> with id:2
> 2013-06-20 14:28:02,935 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null)
> ===END=== 10.144.6.28 -- GET
> command=listSwifts&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818816
> 2013-06-20 14:28:05,361 DEBUG [storage.secondary.SecondaryStorageManagerImpl]
> (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
> api server logs :
> -------------------------------------------------
> 013-06-20 14:28:02,597 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-1:null) Attempting to log in user: admin in domain 1
> 2013-06-20 14:28:02,597 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
> (catalina-exec-1:null) Retrieving user: admin
> 2013-06-20 14:28:02,847 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-1:null) User: admin in domain 1 has successfully logged in
> 2013-06-20 14:28:02,870 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null)
> ===END=== 10.144.6.28 -- POST null
> 2013-06-20 14:28:02,892 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
> ===START=== 10.144.6.28 -- GET
> command=listCapabilities&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818773
> 2013-06-20 14:28:02,899 DEBUG [cloud.api.ApiServer] (catalina-exec-2:null)
> The given command:listCapabilities does not exist or it is not available for
> user with id:2
> 2013-06-20 14:28:02,907 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
> ===END=== 10.144.6.28 -- GET
> command=listCapabilities&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818773
> 2013-06-20 14:28:02,928 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null)
> ===START=== 10.144.6.28 -- GET
> command=listSwifts&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818816
> 2013-06-20 14:28:02,933 DEBUG [cloud.api.ApiServer] (catalina-exec-3:null)
> The given command:listSwifts does not exist or it is not available for user
> with id:2
> 2013-06-20 14:28:02,935 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null)
> ===END=== 10.144.6.28 -- GET
> command=listSwifts&response=json&sessionkey=m6pPGoe%2FSIgDok2pOfO8CMTbmTE%3D&_=1371718818816
> 2013-06-20 14:28:05,361 DEBUG [storage.secondary.SecondaryStorageManagerImpl]
> (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
> 3. Now login to the DB and remove that uuid, set the value of
> interballbvm.service.offering to NULL again.
> 4. Restart management server service
> This time no error is seen, management server comes up and login to UI
> succeeds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira