cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alena Prokharchyk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-2364) NTier: Creation of Private Gateway on a Virtual Private Cloud (VPC) fails due to IndexOutOfBoundsException
Date Tue, 07 May 2013 20:09:16 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alena Prokharchyk resolved CLOUDSTACK-2364.
-------------------------------------------

    Resolution: Fixed
    
> NTier: Creation of Private Gateway on a Virtual Private Cloud (VPC) fails due to IndexOutOfBoundsException
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2364
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2364
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: Chandan Purushothama
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> ===============
> Steps to Reproduce:
> ===============
> 1. Create a Private Gateway to a VPC on a CloudStack Advanced Zone deployment with KVM
hosts.
> =======================
> IndexOutOfBoundsException :
> =======================
> 2013-05-07 11:28:16,872 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===
 10.216.132.104 -- GET  command=createPrivateGateway&response=json&sessionkey=k1EQuvVWVDnwGPmfeQE%2BW6WKrxc%3D&physicalnetworkid=aa64a672-74cc-4498-a0e9-5cbb333a141f&vpcid=5fa9c995-17c4-4599-83ac-d35e2a5d812d&ipaddress=10.223.60.30&gateway=10.223.60.1&netmask=255.255.255.0&vlan=600&_=1367951331972
> 2013-05-07 11:28:16,888 DEBUG [network.vpc.VpcManagerImpl] (catalina-exec-3:null) Creating
Private gateway for VPC [VPC [1-Atoms-VPC-1]
> 2013-05-07 11:28:16,895 DEBUG [db.Transaction.Transaction] (catalina-exec-3:null) Rolling
back the transaction: Time = 7 Name =  createVpcPrivateGateway; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-VpcManagerImpl.createVpcPrivateGateway:1314-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-CreatePrivateGatewayCmd.create:125-ApiDispatcher.dispatchCreateCmd:101-ApiServer.queueCommand:466-ApiServer.handleRequest:369-ApiServlet.processRequest:304
> 2013-05-07 11:28:16,903 ERROR [cloud.api.ApiServer] (catalina-exec-3:null) unhandled
exception executing api command: createPrivateGateway
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.rangeCheck(ArrayList.java:571)
>         at java.util.ArrayList.get(ArrayList.java:349)
>         at com.cloud.network.NetworkManagerImpl.createGuestNetwork(NetworkManagerImpl.java:2008)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.NetworkServiceImpl.createPrivateNetwork(NetworkServiceImpl.java:3636)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at com.cloud.network.vpc.VpcManagerImpl.createVpcPrivateGateway(VpcManagerImpl.java:1314)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.admin.vpc.CreatePrivateGatewayCmd.create(CreatePrivateGatewayCmd.java:125)
>         at com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:101)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:466)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:369)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
>         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:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-05-07 11:28:16,912 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===END===
 10.216.132.104 -- GET  command=createPrivateGateway&response=json&sessionkey=k1EQuvVWVDnwGPmfeQE%2BW6WKrxc%3D&physicalnetworkid=aa64a672-74cc-4498-a0e9-5cbb333a141f&vpcid=5fa9c995-17c4-4599-83ac-d35e2a5d812d&ipaddress=10.223.60.30&gateway=10.223.60.1&netmask=255.255.255.0&vlan=600&_=1367951331972
> 2013-05-07 11:28:18,107 DEBUG [agent.transport.Request] (AgentManager-Handler-11:null)
Seq 1-271122434: Processing:  { Ans: , MgmtId: 7508777239729, via: 1, Ver: v1, Flags: 10,
[{"Answer":{"result":true,"details":"","wait":0}}] }

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

Mime
View raw message