[
https://issues.apache.org/jira/browse/CLOUDSTACK-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692035#comment-13692035
]
ASF subversion and git services commented on CLOUDSTACK-2916:
-------------------------------------------------------------
Commit f7b1d3d8d5be58a8032fc79eec4dd5711226b93a in branch refs/heads/master
from [~harikrishna.patnala]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f7b1d3d ]
CLOUDSTACK-2916: admin is not able to login through UI after setting GP
"cluster.cpu.allocated.capacity.notificationthreshold" to some string
CLOUDSTACK-2457: No check for input values,special character,-ive values can
be assigne to GLobal parameter "cluster.cpu.allocated.capacity.disablethreshold"
Added validation for float values and checking limit for weight based
parameters by creating a set of parameters.
Signed off by : nitin mehta<[email protected]>
> admin is not able to login through UI after setting GP
> "cluster.cpu.allocated.capacity.notificationthreshold" to some string
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2916
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2916
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.2.0
> Reporter: prashant kumar mishra
> Assignee: Harikrishna Patnala
> Fix For: 4.2.0
>
> Attachments: logs.rar
>
>
> Steps to Reproduce
> -----------------------------
> 1-Set GP "cluster.cpu.allocated.capacity.notificationthreshold" to some
> string ("asda")
> 2- restart MS
> 3-try to login through UI
> Expected
> --------------
> Admin should be able to login
> Actual
> ---------
> Admin is not able to login
> Snippet of Log
> ----------------------
> 2013-06-10 08:05:53,893 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-19:null) Attempting to log in user: admin in domain 1
> 2013-06-10 08:05:53,893 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
> (catalina-exec-19:null) Retrieving user: admin
> 2013-06-10 08:05:53,909 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-19:null) User: admin in domain 1 has successfully logged in
> 2013-06-10 08:05:53,943 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null)
> ===END=== 10.252.192.33 -- POST null
> 2013-06-10 08:05:54,065 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null)
> ===START=== 10.252.192.33 -- GET
> command=listCapabilities&response=json&sessionkey=K1c%2FHMQLGtYXIwatCDmQW8tlN9s%3D&_=1370846503258
> 2013-06-10 08:05:54,082 DEBUG [cloud.api.ApiServer] (catalina-exec-21:null)
> The given command:listCapabilities does not exist or it is not available for
> user with id:2
> 2013-06-10 08:05:54,085 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null)
> ===END=== 10.252.192.33 -- GET
> command=listCapabilities&response=json&sessionkey=K1c%2FHMQLGtYXIwatCDmQW8tlN9s%3D&_=1370846503258
> 2013-06-10 08:05:54,184 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null)
> ===START=== 10.252.192.33 -- GET
> command=listSwifts&response=json&sessionkey=K1c%2FHMQLGtYXIwatCDmQW8tlN9s%3D&_=1370846503357
> 2013-06-10 08:05:54,210 DEBUG [cloud.api.ApiServer] (catalina-exec-5:null)
> The given command:listSwifts does not exist or it is not available for user
> with id:2
> 2013-06-10 08:05:54,213 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null)
> ===END=== 10.252.192.33 -- GET
> command=listSwifts&response=json&sessionkey=K1c%2FHMQLGtYXIwatCDmQW8tlN9s%3D&_=1370846503357
--
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