Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0689610B29 for ; Thu, 20 Jun 2013 09:55:22 +0000 (UTC) Received: (qmail 78705 invoked by uid 500); 20 Jun 2013 09:55:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 78556 invoked by uid 500); 20 Jun 2013 09:55:21 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 78534 invoked by uid 500); 20 Jun 2013 09:55:21 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 78527 invoked by uid 99); 20 Jun 2013 09:55:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jun 2013 09:55:21 +0000 Date: Thu, 20 Jun 2013 09:55:20 +0000 (UTC) From: "Abhinav Roy (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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