You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jayapal Reddy (JIRA)" <ji...@apache.org> on 2013/06/03 11:16:20 UTC

[jira] [Resolved] (CLOUDSTACK-2699) [VPC][Private gateway]Unable to create static route for a private gateway after VPC VR is rebooted.

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

Jayapal Reddy resolved CLOUDSTACK-2699.
---------------------------------------

    Resolution: Cannot Reproduce

Followed steps mentioned in the bug.
Can't reproduce the issue in latest master.
                
> [VPC][Private gateway]Unable to create static route for a private gateway after VPC VR is rebooted.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2699
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2699
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: manasaveloori
>            Assignee: Jayapal Reddy
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> 1.	Have a CS with advanced zone.
> 2.	Create a VPC .
> 3.	Add a private gateway  to the vpc.
> 4.	Create a static route.Verify the static route in VR.( ip route show table static_route)
> 5.	Now reboot the VPC VR fron CS.
> 6.	Try to add a static route for a private gateway now.
> Observations:
> 1.	The configured static route are visible in UI but not getting configured back in VR after reboot.( ip route show table static_route  ----is empty)
> 2.	Aslo after the VR is rebooted ,unable to add any more static routes.giving following exception:
> 2013-05-27 23:05:53,489 DEBUG [agent.transport.Request] (DirectAgent-404:null) Seq 3-1205667013: Processing:  { Ans: , MgmtId: 6805241462820, via: 3, Ver: v1, Flags: 0, [{"routing.SetStaticRouteAnswer":{"results":["Failed","Failed","Failed","Failed","Failed"],"result":false,"wait":0}}] }
> 2013-05-27 23:05:53,489 DEBUG [agent.transport.Request] (Job-Executor-77:job-63) Seq 3-1205667013: Received:  { Ans: , MgmtId: 6805241462820, via: 3, Ver: v1, Flags: 0, { SetStaticRouteAnswer } }
> 2013-05-27 23:05:53,504 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-77:job-63) Unexpected exception while executing org.apache.cloudstack.api.command.user.vpc.CreateStaticRouteCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to apply static routes in vpc [VPC [1-vpc1]
>    at com.cloud.network.element.VpcVirtualRouterElement.applyStaticRoutes(VpcVirtualRouterElement.java:441)
>    at com.cloud.network.vpc.VpcManagerImpl.applyStaticRoutes(VpcManagerImpl.java:1638)
>    at com.cloud.network.vpc.VpcManagerImpl.applyStaticRoutes(VpcManagerImpl.java:1601)
>    at com.cloud.network.vpc.VpcManagerImpl.applyStaticRoutes(VpcManagerImpl.java:1586)
>    at com.cloud.network.vpc.VpcManagerImpl.revokeStaticRoute(VpcManagerImpl.java:1663)
>    at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>    at org.apache.cloudstack.api.command.user.vpc.CreateStaticRouteCmd.execute(CreateStaticRouteCmd.java:108)
>    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>    at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>    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-27 23:05:53,506 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-77:job-63) Complete async job-63, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to apply static routes in vpc [VPC [1-vpc1]
> 2013-05-27 23:05:53,533 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-77:job-63) Sync queue (1) is currently empty
> 2013-05-27 23:05:53,826 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-112:null) Ping from 3
> 2013-05-27 23:05:54,360 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) ===START===  10.252.241.232 -- GET  command=queryAsyncJobResult&jobId=43385df3-eb7f-44e3-a092-

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