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] [Commented] (CLOUDSTACK-4193) vpc router won't restart when a gateway is defined
Date Thu, 08 Aug 2013 17:17:51 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733706#comment-13733706
] 

Alena Prokharchyk commented on CLOUDSTACK-4193:
-----------------------------------------------

>From the code, seems like the exception happens because networkId is NULL for the Private
Gateway by some reason. Will change the gatewayVO constructor to not accept NULL value for
networkId
                
> vpc router won't restart when a gateway is defined
> --------------------------------------------------
>
>                 Key: CLOUDSTACK-4193
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4193
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Devices, Virtual Router
>    Affects Versions: 4.0.2, 4.1.1
>            Reporter: Daan Hoogland
>            Assignee: Alena Prokharchyk
>             Fix For: 4.2.0
>
>
> reproduce by creating a vpc and adding a gateway (static route optional)
> after removing the gateway the vpc wil restart again.
> 2013-08-08 17:42:05,550 WARN  [network.vpc.VpcManagerImpl] (Job-Executor-47:job-76327)
Failed to start vpc [VPC [35-SBP_VPC_PSAFENET1] due to
> java.lang.NullPointerException
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createPrivateNicProfileForGateway(VpcVirtualNetworkApplianceManagerImpl.java:1259)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createVpcRouterNetworks(VpcVirtualNetworkApplianceManagerImpl.java:1214)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.deployVpcRouter(VpcVirtualNetworkApplianceManagerImpl.java:318)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.findOrDeployVirtualRouterInVpc(VpcVirtualNetworkApplianceManagerImpl.java:218)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.deployVirtualRouterInVpc(VpcVirtualNetworkApplianceManagerImpl.java:167)
>         at com.cloud.network.element.VpcVirtualRouterElement.implementVpc(VpcVirtualRouterElement.java:118)
>         at com.cloud.network.vpc.VpcManagerImpl.startVpc(VpcManagerImpl.java:908)
>         at com.cloud.network.vpc.VpcManagerImpl.startVpc(VpcManagerImpl.java:884)
>         at com.cloud.network.vpc.VpcManagerImpl.restartVpc(VpcManagerImpl.java:1183)
>         at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at com.cloud.api.commands.RestartVPCCmd.execute(RestartVPCCmd.java:81)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662) 

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