cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Jagirdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6678) API:MS: listCapacity returns error code 503
Date Thu, 15 May 2014 00:02:31 GMT
Parth Jagirdar created CLOUDSTACK-6678:
------------------------------------------

             Summary: API:MS: listCapacity returns error code 503
                 Key: CLOUDSTACK-6678
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6678
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API
    Affects Versions: 4.4.0
            Reporter: Parth Jagirdar


Login to UI and observe following::
(Screen attached)



2014-05-14 16:51:42,535 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-447de431) ===START===
 10.215.2.19 -- GET  command=listCapacity&response=json&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPYe6w%3D
2014-05-14 16:51:42,552 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-12:ctx-447de431
ctx-86d79d2a) IAM access check for 2-null-null-DomainResourceCapability from cache: false
2014-05-14 16:51:42,555 ERROR [c.c.a.ApiServer] (catalina-exec-12:ctx-447de431 ctx-86d79d2a)
unhandled exception executing api command: [Ljava.lang.String;@7234ac72
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at com.cloud.api.ApiResponseHelper.createCapacityResponse(ApiResponseHelper.java:1741)
        at org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd.execute(ListCapacityCmd.java:129)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
        at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
2014-05-14 16:51:42,558 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-12:ctx-447de431
ctx-86d79d2a) IAM access check for 2-null-null-SystemCapability from cache: true
2014-05-14 16:51:42,558 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-12:ctx-447de431 ctx-86d79d2a)
Root Access granted to Acct[957b761c-dbb9-11e3-98fe-ced18bec4952-admin] by RoleBasedEntityAccessChecker
2014-05-14 16:51:42,559 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-447de431 ctx-86d79d2a)
===END===  10.215.2.19 -- GET  command=listCapacity&response=json&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPYe6w%3D
2014-05-14 16:51:44,701 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-76b750ab) ===START===
 10.215.2.19 -- GET  command=listCapacity&response=json&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPYe6w%3D
2014-05-14 16:51:44,714 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-2:ctx-76b750ab
ctx-5dcdc38e) IAM access check for 2-null-null-DomainResourceCapability from cache: false
2014-05-14 16:51:44,717 ERROR [c.c.a.ApiServer] (catalina-exec-2:ctx-76b750ab ctx-5dcdc38e)
unhandled exception executing api command: [Ljava.lang.String;@3c1dcc2e
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at com.cloud.api.ApiResponseHelper.createCapacityResponse(ApiResponseHelper.java:1741)
        at org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd.execute(ListCapacityCmd.java:129)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
        at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
2014-05-14 16:51:44,720 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-2:ctx-76b750ab
ctx-5dcdc38e) IAM access check for 2-null-null-SystemCapability from cache: true
2014-05-14 16:51:44,720 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-76b750ab ctx-5dcdc38e)
Root Access granted to Acct[957b761c-dbb9-11e3-98fe-ced18bec4952-admin] by RoleBasedEntityAccessChecker
2014-05-14 16:51:44,721 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-76b750ab ctx-5dcdc38e)
===END===  10.215.2.19 -- GET  command=listCapacity&response=json&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPYe6w%3D
2014-05-14 16:51:46,008 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-c7228d54)
Found 0 routers to update status.
2014-05-14 16:51:46,009 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-c7228d54)
Found 0 networks to update RvR status.
2014-05-14 16:51:50,034 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-14077093)
Skip capacity scan due to there is no Primary Storage UPintenance mode
2014-05-14 16:52:16,008 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-569b01e8)
Found 0 routers to update status.
2014-05-14 16:52:16,010 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-569b01e8)
Found 0 networks to update RvR status.
2014-05-14 16:52:20,034 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-6f166514)
Skip capacity scan due to there is no Primary Storage UPintenance mode
2014-05-14 16:52:22,736 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-152ecdae) ===START===
 10.215.2.19 -- GET  command=listCapacity&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPYe6w%3D
2014-05-14 16:52:22,751 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-5:ctx-152ecdae
ctx-25a932b3) IAM access check for 2-null-null-DomainResourceCapability from cache: false
2014-05-14 16:52:22,754 ERROR [c.c.a.ApiServer] (catalina-exec-5:ctx-152ecdae ctx-25a932b3)
unhandled exception executing api command: [Ljava.lang.String;@14f5a35b
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at com.cloud.api.ApiResponseHelper.createCapacityResponse(ApiResponseHelper.java:1741)
        at org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd.execute(ListCapacityCmd.java:129)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:683)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:506)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
        at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.c            
               dContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.r            
               Context.java:53)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A            
               90)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
        at org.apache.catalina.core.StandardContextValve.invoke(StandardConte
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.ja
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProce
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler            
               ava:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndp
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
        at java.lang.Thread.run(Thread.java:744)
2014-05-14 16:52:22,757 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalin            
               a932b3) IAM access check for 2-null-null-SystemCapability from cache: true
2014-05-14 16:52:22,757 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-5:ctx            
                Access granted to Acct[957b761c-dbb9-11e3-98fe-ced18bec4952-admin] by RoleBa
2014-05-14 16:52:22,759 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-152ecda            
               0.215.2.19 -- GET  command=listCapacity&sessionkey=nsbKmWhCoLVlvuVOLWzgE%2BPY
2014-05-14 16:52:31,129 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-99            
               running...
2014-05-14 16:52:31,166 DEBUG [c.c.s.StatsCollector] (StatsCollector-4:ctx-19            
               is running...
2014-05-14 16:52:31,189 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-ca            
               s running...
2014-05-14 16:52:31,190 DEBUG [c.c.s.StatsCollector] (StatsCollector-1:ctx-f3            
               running...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message