manasaveloori created CLOUDSTACK-2699:
-----------------------------------------

             Summary: [VPC][Private gateway]Unable to create static nat rule 
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
            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 nat.Verify the static nat rule in VR.( ip route show 
table static_route)
5.      Now reboot the VPC VR fron CS.
6.      Try to create a static nat rule for a private gateway now.

Observations:

1.      The configured static nat rules 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

Reply via email to