You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Abhinav Roy (JIRA)" <ji...@apache.org> on 2013/06/20 11:55:20 UTC
[jira] [Updated] (CLOUDSTACK-3091) Not able to login to the CS UI
using admin:password after modifying the internallbvm.service.offering and
restarting management server
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhinav Roy updated CLOUDSTACK-3091:
------------------------------------
Assignee: Alena Prokharchyk
Priority: Major (was: Blocker)
Description:
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.
was:
Steps :
=============================
1. Changed the API port and expunge settings in CS.
2. Restarted management server service
#service cloudstack-management restart
Observation :
=============================
Not able to login to the UI with admin:password
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
NOTE : The issue is not seen when restart is done for the 1st time. But when we do a restart for 2nd or 3rd time then it is seen.
Summary: Not able to login to the CS UI using admin:password after modifying the internallbvm.service.offering and restarting management server (was: Not able to login to the CS UI using admin:password after restarting the management server service in the latest build from master branch)
> 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: CS-3091.dmp
>
>
> 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