This is not a login issue. listCapabilities api is throwing NPE due to missing
configs related to API rate limit. Deploydb will solve this problem.
Alternately, 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
seconds) 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 which
has to be removed. I'll file a bug for the same.
> -----Original Message-----
> From: Sailaja Mada [mailto:[email protected]]
> Sent: Monday, 11 February 2013 11:02 AM
> To: Jayapal Reddy Uradi; [email protected]
> Subject: RE: [ACS41]Failed to login to Management Server
>
> Hi Jayapal,
>
> These are the contents of my git log with CLOUDSTACK-1175 . Can you
> please confirm if anything is missed.
>
> ==========================================================
> =======
>
> commit 3050c43909df2548c8d9d540ddc08eeb89afb99c
> Author: Min Chen <[email protected]>
> Date: Thu Feb 7 21:20:07 2013 -0800
>
> Revert "CLOUDSTACK-1175: Fix NPE by making _store a static variable
> shared by objects"
>
> This reverts commit b513448ec2748619cf90fc215336b5065796a5c6.
>
> commit b513448ec2748619cf90fc215336b5065796a5c6
> Author: Rohit Yadav <[email protected]>
> Date: Thu Feb 7 18:23:05 2013 +0530
>
> CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by
> objects
>
> Signed-off-by: Rohit Yadav <[email protected]>
> (cherry picked from commit 9b691fc443cc27f1e2026ec239fc4aa11a4167aa)
>
> Signed-off-by: Rohit Yadav <[email protected]>
>
> commit dd675a16da85dd2d4c1d78293e47ad847f0df543
> Author: Kishan Kavala <[email protected]>
> Date: Wed Feb 6 15:23:47 2013 +0530
>
> CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due
> @Component annotation. Removed the annotation so that MD5
> authenticator will be used
>
> commit 1c88f3c732e0946f6a8070ffc6d708ab9919f2fa
>
> ==========================================================
> =======
>
> Thanks,
> Sailaja.M
>
> -----Original Message-----
> From: Jayapal Reddy Uradi
> Sent: Monday, February 11, 2013 10:30 AM
> To: Sailaja Mada; [email protected]
> Cc: Sailaja Mada
> Subject: RE: [ACS41]Failed to login to Management Server
>
> Hi Sailaja,
>
> Please check the below commit for the log in issue. For me this solved the log
> in issue.
>
> https://git-wip-us.apache.org/repos/asf?p=incubator-
> cloudstack.git;a=commit;h=2a0c2be1365b042fcabc2ab18c1ba4f374c5ce37
> CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due
> @Component annotation. Removed the annotation so that MD5
> authenticator will be used
>
> Thanks,
> Jayapal
>
> > -----Original Message-----
> > From: Sailaja Mada [mailto:[email protected]]
> > Sent: Monday, February 11, 2013 10:06 AM
> > To: [email protected]
> > 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.
> >
> >
> ==========================================================
> >
> ==========================================================
> > ======================================
> > 2013-02-11 09:45:49,805 DEBUG [cloud.api.ApiServlet] (28034142@qtp-
> > 26773506-2:null) ===START=== 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) ===END=== 10.144.7.13 -- POST null
> > 2013-02-11 09:45:49,968 DEBUG [cloud.api.ApiServlet] (28034142@qtp-
> > 26773506-2:null) ===START=== 10.144.7.13 -- GET
> >
> command=listCapabilities&response=json&sessionkey=hZEuopLVcZ%2BflL5e
> > 1XBu%2FM4dIZs%3D&_=1360556156827
> > 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) ===END=== 10.144.7.13 -- GET
> >
> command=listCapabilities&response=json&sessionkey=hZEuopLVcZ%2BflL5e
> > 1XBu%2FM4dIZs%3D&_=1360556156827
> > 2013-02-11 09:45:50,044 DEBUG [cloud.api.ApiServlet] (28034142@qtp-
> > 26773506-2:null) ===START=== 10.144.7.13 -- GET
> >
> command=listSwifts&response=json&sessionkey=hZEuopLVcZ%2BflL5e1XBu
> > %2FM4dIZs%3D&_=1360556156886
> > 2013-02-11 09:45:50,073 DEBUG [cloud.api.ApiServlet] (28034142@qtp-
> > 26773506-2:null) ===END=== 10.144.7.13 -- GET
> >
> command=listSwifts&response=json&sessionkey=hZEuopLVcZ%2BflL5e1XBu
> > %2FM4dIZs%3D&_=1360556156886
> >
> ==========================================================
> >
> ==========================================================
> > ======================================
> >
> > Thanks and Regards,
> > Sailaja.M