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

[jira] [Closed] (CLOUDSTACK-2691) [VPC][PrivateGateway]Unable to delete the private gateways on VPC after VPC router reboot.

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

manasaveloori closed CLOUDSTACK-2691.
-------------------------------------


Able to delete the private gateway after VR reboot. Hence closing the bug.
                
> [VPC][PrivateGateway]Unable to delete the private gateways on VPC after VPC router reboot.
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2691
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2691
>             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: Kishan Kavala
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.zip
>
>
> Steps:
> 1.	Have a CS with advanced zone.
> 2.	Create a VPC .
> 3.	Add a private gateway  to the vpc.
> 4.	Now reboot the VPC VR.
> 5.	Try to delete the created private gateway.
> Observation:
> Observed  2 NPEs while deleting the private gateway. The private gateway is not getting deleted.
> Below is the snippet from the management server log. Also attaching the log
> 2013-05-27 19:37:42,281 ERROR [xen.resource.CitrixResourceBase] (DirectAgent-426:null) SetNetworkACL failed due to java.lang.NullPointerException
> java.lang.NullPointerException
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:8274)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:600)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         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 19:37:42,283 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-426:null) Seq 3-1205666345: Response Received:
> 2013-05-27 19:37:42,284 DEBUG [agent.transport.Request] (DirectAgent-426:null) Seq 3-1205666345: Processing:  { Ans: , MgmtId: 6805241462820, via: 3, Ver: v1, Flags: 0, [{"routing.SetNetworkACLAnswer":{"results":[null,null],"result":false,"wait":0}}] }
> 2013-05-27 19:37:42,284 DEBUG [agent.transport.Request] (Job-Executor-32:job-39) Seq 3-1205666345: Received:  { Ans: , MgmtId: 6805241462820, via: 3, Ver: v1, Flags: 0, { SetNetworkACLAnswer } }
> 2013-05-27 19:37:42,303 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-32:job-39) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vpc.DeletePrivateGatewayCmd
> com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable: Unable to apply network acls on router
>         at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3739)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.applyNetworkACLs(VpcVirtualNetworkApplianceManagerImpl.java:717)
>         at com.cloud.network.element.VpcVirtualRouterElement.applyACLItemsToPrivateGw(VpcVirtualRouterElement.java:463)
>         at com.cloud.network.vpc.NetworkACLManagerImpl.applyACLItemsToPrivateGw(NetworkACLManagerImpl.java:304)
>         at com.cloud.network.vpc.NetworkACLManagerImpl.revokeACLItemsForPrivateGw(NetworkACLManagerImpl.java:266)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.destroyPrivateGateway(VpcVirtualNetworkApplianceManagerImpl.java:1053)
>         at com.cloud.network.element.VpcVirtualRouterElement.deletePrivateGateway(VpcVirtualRouterElement.java:378)
>         at com.cloud.network.vpc.VpcManagerImpl.deleteVpcPrivateGateway(VpcManagerImpl.java:1458)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.admin.vpc.DeletePrivateGatewayCmd.execute(DeletePrivateGatewayCmd.java:85)
>         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 19:37:42,305 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-32:job-39) Complete async job-39, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Resource [DataCenter:1] is unreachable: Unable to apply network acls on router
> 2013-05-27 19:37:42,326 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-32:job-39) Sync queue (1) is currently empty
> 2013-05-27 19:37:43,778 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null) 

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