[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689434#comment-13689434
 ] 

ASF subversion and git services commented on CLOUDSTACK-3091:
-------------------------------------------------------------

Commit 121c1c72d8185adf2a19eb7da1e18cc340d9e525 in branch 
refs/heads/master-6-17-stable from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=121c1c7 ]

CLOUDSTACK-3091: expect UUID instead of actual DB id, when read 
internallbvm.service.offering global config

                
> 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

Reply via email to