Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A6C9D73D for ; Mon, 11 Feb 2013 06:34:43 +0000 (UTC) Received: (qmail 5547 invoked by uid 500); 11 Feb 2013 06:34:43 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 5478 invoked by uid 500); 11 Feb 2013 06:34:42 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 5425 invoked by uid 99); 11 Feb 2013 06:34:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 06:34:40 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Kishan.Kavala@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2013 06:34:36 +0000 X-IronPort-AV: E=Sophos;i="4.84,641,1355097600"; d="scan'208";a="777550" Received: from banpmailmx01.citrite.net ([10.103.128.73]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 11 Feb 2013 06:34:14 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.71]) by BANPMAILMX01.citrite.net ([10.103.128.73]) with mapi; Mon, 11 Feb 2013 12:04:12 +0530 From: Kishan Kavala To: Sailaja Mada , Jayapal Reddy Uradi , "cloudstack-dev@incubator.apache.org" Date: Mon, 11 Feb 2013 12:04:10 +0530 Subject: RE: [ACS41]Failed to login to Management Server Thread-Topic: [ACS41]Failed to login to Management Server Thread-Index: Ac4IDwGRRhsfOg2cQ36swLzq3kA0YwABJOegAACtAzAAAqiHEA== Message-ID: <33740054EBF5B64BB213E2E0916F2C13F074E7A668@BANPMAILBOX01.citrite.net> References: <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6AAB8@BANPMAILBOX01.citrite.net> <67EF18FDCA335F489B366120481AB6C5F6BCF0EE47@BANPMAILBOX01.citrite.net> <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6AAD7@BANPMAILBOX01.citrite.net> In-Reply-To: <4FCA39B99132DA4EA70BE3CE408C193D0119F0C6AAD7@BANPMAILBOX01.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org This is not a login issue. listCapabilities api is throwing NPE due to miss= ing configs related to API rate limit. Deploydb will solve this problem. Al= ternately, you can run below upgrade queries from schema-40to410.sql INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', '= management-server', 'api.throttling.interval', '1', 'Time interval (in seco= nds) to reset API count'); INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', '= management-server', 'api.throttling.max', '25', 'Max allowed number of APIs= within fixed interval'); INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Advanced', 'DEFAULT', '= management-server', 'api.throttling.cachesize', '50000', 'Account based API= count cache size'); Actual queries in schema-40to410.sql have a double quote in config name whi= ch has to be removed. I'll file a bug for the same. > -----Original Message----- > From: Sailaja Mada [mailto:sailaja.mada@citrix.com] > Sent: Monday, 11 February 2013 11:02 AM > To: Jayapal Reddy Uradi; cloudstack-dev@incubator.apache.org > Subject: RE: [ACS41]Failed to login to Management Server >=20 > Hi Jayapal, >=20 > These are the contents of my git log with CLOUDSTACK-1175 . Can you > please confirm if anything is missed. >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 > commit 3050c43909df2548c8d9d540ddc08eeb89afb99c > Author: Min Chen > Date: Thu Feb 7 21:20:07 2013 -0800 >=20 > Revert "CLOUDSTACK-1175: Fix NPE by making _store a static variable > shared by objects" >=20 > This reverts commit b513448ec2748619cf90fc215336b5065796a5c6. >=20 > commit b513448ec2748619cf90fc215336b5065796a5c6 > Author: Rohit Yadav > Date: Thu Feb 7 18:23:05 2013 +0530 >=20 > CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by > objects >=20 > Signed-off-by: Rohit Yadav > (cherry picked from commit 9b691fc443cc27f1e2026ec239fc4aa11a4167aa) >=20 > Signed-off-by: Rohit Yadav >=20 > commit dd675a16da85dd2d4c1d78293e47ad847f0df543 > Author: Kishan Kavala > Date: Wed Feb 6 15:23:47 2013 +0530 >=20 > CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due > @Component annotation. Removed the annotation so that MD5 > authenticator will be used >=20 > commit 1c88f3c732e0946f6a8070ffc6d708ab9919f2fa >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D >=20 > Thanks, > Sailaja.M >=20 > -----Original Message----- > From: Jayapal Reddy Uradi > Sent: Monday, February 11, 2013 10:30 AM > To: Sailaja Mada; cloudstack-dev@incubator.apache.org > Cc: Sailaja Mada > Subject: RE: [ACS41]Failed to login to Management Server >=20 > Hi Sailaja, >=20 > Please check the below commit for the log in issue. For me this solved th= e log > in issue. >=20 > https://git-wip-us.apache.org/repos/asf?p=3Dincubator- > cloudstack.git;a=3Dcommit;h=3D2a0c2be1365b042fcabc2ab18c1ba4f374c5ce37 > CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due > @Component annotation. Removed the annotation so that MD5 > authenticator will be used >=20 > Thanks, > Jayapal >=20 > > -----Original Message----- > > From: Sailaja Mada [mailto:sailaja.mada@citrix.com] > > Sent: Monday, February 11, 2013 10:06 AM > > To: cloudstack-dev@incubator.apache.org > > Cc: Sailaja Mada > > Subject: [ACS41]Failed to login to Management Server > > > > Hi, > > > > I just did a git pull from 4.1 branch. Now I am not able to login to > > management server with admin or any user. > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 2013-02-11 09:45:49,805 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DSTART=3D=3D=3D 10.144.7.13 -- POST null > > 2013-02-11 09:45:49,808 DEBUG [cloud.user.AccountManagerImpl] > > (28034142@qtp-26773506-2:null) Attempting to log in user: admin in > > domain > > 1 > > 2013-02-11 09:45:49,808 DEBUG [server.auth.MD5UserAuthenticator] > > (28034142@qtp-26773506-2:null) Retrieving user: admin > > 2013-02-11 09:45:49,814 DEBUG [cloud.user.AccountManagerImpl] > > (28034142@qtp-26773506-2:null) User: admin in domain 1 has > > successfully logged in > > 2013-02-11 09:45:49,930 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DEND=3D=3D=3D 10.144.7.13 -- POST null > > 2013-02-11 09:45:49,968 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DSTART=3D=3D=3D 10.144.7.13 -- GET > > > command=3DlistCapabilities&response=3Djson&sessionkey=3DhZEuopLVcZ%2BflL5= e > > 1XBu%2FM4dIZs%3D&_=3D1360556156827 > > INFO [cloud.api.ApiServer] (28034142@qtp-26773506-2:) null > > 2013-02-11 09:45:49,998 INFO [cloud.api.ApiServer] (28034142@qtp- > > 26773506-2:null) null > > 2013-02-11 09:45:50,000 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DEND=3D=3D=3D 10.144.7.13 -- GET > > > command=3DlistCapabilities&response=3Djson&sessionkey=3DhZEuopLVcZ%2BflL5= e > > 1XBu%2FM4dIZs%3D&_=3D1360556156827 > > 2013-02-11 09:45:50,044 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DSTART=3D=3D=3D 10.144.7.13 -- GET > > > command=3DlistSwifts&response=3Djson&sessionkey=3DhZEuopLVcZ%2BflL5e1XBu > > %2FM4dIZs%3D&_=3D1360556156886 > > 2013-02-11 09:45:50,073 DEBUG [cloud.api.ApiServlet] (28034142@qtp- > > 26773506-2:null) =3D=3D=3DEND=3D=3D=3D 10.144.7.13 -- GET > > > command=3DlistSwifts&response=3Djson&sessionkey=3DhZEuopLVcZ%2BflL5e1XBu > > %2FM4dIZs%3D&_=3D1360556156886 > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > Thanks and Regards, > > Sailaja.M