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

Min Chen commented on CLOUDSTACK-1624:
--------------------------------------

Restart MS makes this problem go away, this issue only happens when we start MS 
the first time. It seems that ConfigurationManagerImpl.configure is run before 
Configuration table is populated with value for default.page.size=500, thus the 
internal defaultPageSize is not initialized and is 0. So all the following list 
APIs with pageSize throws this error. This is something related to Spring 
component lifecycle order, discussed with Kelven and assign to him to fix.
                
> API is not returning response in details:UI is also not returning any output
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1624
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1624
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: Min Chen
>            Priority: Blocker
>             Fix For: 4.1.0
>
>
> UI is not returning any output because of Page size can't exceed max allowed 
> page size value: 0
> 2013-03-11 09:15:08,174 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) 
> ===START===  10.252.249.233 -- GET  
> command=listPods&response=json&sessionkey=pSQXeB%2BopckP9buzyfCd24eUEw0%3D&page=1&pagesize=1&_=1363007842892
> 2013-03-11 09:15:08,186 INFO  [cloud.api.ApiServer] (catalina-exec-19:null) 
> Page size can't exceed max allowed page size value: 0
> 2013-03-11 09:15:08,188 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) 
> ===END===  10.252.249.233 -- GET  
> command=listPods&response=json&sessionkey=pSQXeB%2BopckP9buzyfCd24eUEw0%3D&page=1&pagesize=1&_=1363007842892
> 2013-03-11 09:15:26,381 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) 
> ===START===  10.252.249.233 -- GET  
> command=listConfigurations&response=json&sessionkey=pSQXeB%2BopckP9buzyfCd24eUEw0%3D&page=1&pagesize=20&_=1363007861127
> 2013-03-11 09:15:26,409 INFO  [cloud.api.ApiServer] (catalina-exec-20:null) 
> Page size can't exceed max allowed page size value: 0
> 2013-03-11 09:15:26,410 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) 
> ===END===  10.252.249.233 -- GET  
> command=listConfigurations&response=json&sessionkey=pSQXeB%2BopckP9buzyfCd24eUEw0%3D&page=1&pagesize=20&_=1363007861127
> 2013-03-11 09:15:28,521 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
> (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage 
> UPintenance mode
> 2013-03-11 09:15:28,851 DEBUG 
> [network.router.VirtualNetworkApplianceManagerImpl] 
> (RouterStatusMonitor-1:null) Found
> 2013-03-11 09:13:49,510 INFO  [cloud.api.ApiServer] (catalina-exec-18:null) 
> Page size can't exceed max allowed page size value: 0
> ==================================================================
> API:
> APIs are not returning any response
> http://10.223.49.195:8096/client/api?command=listDiskOfferings
> 2013-03-11 09:17:08,124 ERROR [cloud.api.ApiServer] (ApiServer-9:null) 
> invalid request, no command sent
> 2013-03-11 09:17:08,124 INFO  [cloud.api.ApiServer] (ApiServer-9:null) 
> Invalid request, no command sent

--
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