incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Trippaers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-693) Adding a VPC virtual router to a NiciraNVP enabled network fails
Date Mon, 31 Dec 2012 07:28:12 GMT

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

Hugo Trippaers updated CLOUDSTACK-693:
--------------------------------------

    Component/s:     (was: Cloudmonkey)
                 Network Devices
    
> Adding a VPC virtual router to a NiciraNVP enabled network fails
> ----------------------------------------------------------------
>
>                 Key: CLOUDSTACK-693
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-693
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Devices
>    Affects Versions: 4.0.0
>            Reporter: Roeland Kuipers
>             Fix For: 4.0.2
>
>
> A possible fix has been submitted for review: https://reviews.apache.org/r/8701/
> Hugo Trippaers is aware of this problem.
> Nicira NVP uses the following broadcast_uri: lswitch:<lswitch-guid> while a vlan
uses the following uri vlan://<vlan_id>. Because this value is cast into a long datatype
this failes for the lswitch guid, throwing an error. The VPC router is then correctly configured
on the Hypervisor and plugged correctly on a NVP logicalswitch but the the "setupguestnetwork"
command never makes it to the the VPCRouter leaving the interfaces within the VPCRouter unconfigured
without IP's rendering the VPC network useless (No DHCP etc etc)
> Stacktrace / CS log:
> 2012-12-20 11:57:46,168 WARN  [network.router.VpcVirtualNetworkApplianceManagerImpl]
(Job-Executor-45:job-395) Failed to add router VM[DomainRouter|r-890-VM] to network Ntwk[224|Guest|23]
due to
> java.lang.NumberFormatException: null
>         at java.lang.Long.parseLong(Long.java:375)
>         at java.lang.Long.parseLong(Long.java:468)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createSetupGuestNetworkCommand(VpcVirtualNetworkApplianceManagerImpl.java:450)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.setupVpcGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:401)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.addVpcRouterToGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:257)
>         at com.cloud.network.element.VpcVirtualRouterElement.implement(VpcVirtualRouterElement.java:169)
>         at com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
>         at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2110)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2929)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2601)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2589)
>         at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:330)
>         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)
> 2012-12-20 11:57:46,169 DEBUG [network.router.VpcVirtualNetworkApplianceManagerImpl]
(Job-Executor-45:job-395) Removing the router VM[DomainRouter|r-890-VM] from network Ntwk[224|Guest|23]
as a part of cleanup
> 2012-12-20 11:57:46,203 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Service SecurityGroup is not supported in the network id=224
> 2012-12-20 11:57:46,254 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Service SecurityGroup is not supported in the network id=224
> 2012-12-20 11:57:46,265 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Cleaning up because we're unable to implement the network Ntwk[224|Guest|23]
> 2012-12-20 11:57:46,284 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Releasing 0 port forwarding rules for network id=224 as a part of shutdownNetworkRules
> 2012-12-20 11:57:46,285 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
There are no rules to forward to the network elements
> 2012-12-20 11:57:46,288 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Releasing 0 static nat rules for network id=224 as a part of shutdownNetworkRules
> 2012-12-20 11:57:46,289 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
There are no rules to forward to the network elements
> 2012-12-20 11:57:46,293 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
There are no rules to forward to the network elements
> 2012-12-20 11:57:46,297 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Releasing 0 firewall rules for network id=224 as a part of shutdownNetworkRules
> 2012-12-20 11:57:46,297 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
There are no rules to forward to the network elements
> 2012-12-20 11:57:46,301 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Releasing 0 Network ACLs for network id=224 as a part of shutdownNetworkRules
> 2012-12-20 11:57:46,301 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
There are no rules to forward to the network elements
> 2012-12-20 11:57:46,306 DEBUG [network.rules.RulesManagerImpl] (Job-Executor-45:job-395)
Found 0 static nat rules to apply for network id 224
> 2012-12-20 11:57:46,332 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Sending network shutdown to VpcVirtualRouter
> 2012-12-20 11:57:46,374 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Service SecurityGroup is not supported in the network id=224
> 2012-12-20 11:57:46,426 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Service SecurityGroup is not supported in the network id=224
> 2012-12-20 11:57:46,437 WARN  [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Unable to complete shutdown of the network elements due to element: VpcVirtualRouter
> 2012-12-20 11:57:46,437 WARN  [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Unable to complete shutdown of the network elements due to element: VpcVirtualRouter
> java.lang.NumberFormatException: null
>         at java.lang.Long.parseLong(Long.java:375)
>         at java.lang.Long.parseLong(Long.java:468)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createSetupGuestNetworkCommand(VpcVirtualNetworkApplianceManagerImpl.java:450)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.setupVpcGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:401)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.removeVpcRouterFromGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:295)
>         at com.cloud.network.element.VpcVirtualRouterElement.shutdown(VpcVirtualRouterElement.java:242)
>         at com.cloud.network.NetworkManagerImpl.shutdownNetworkElementsAndResources(NetworkManagerImpl.java:3465)
>         at com.cloud.network.NetworkManagerImpl.shutdownNetwork(NetworkManagerImpl.java:3407)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1978)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2110)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2929)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2601)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2589)
>         at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:330)
>         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)
> 2012-12-20 11:57:46,445 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-45:job-395)
Lock is released for network id 224 as a part of network implement
> 2012-12-20 11:57:46,446 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-45:job-395)
Failed to start instance VM[User|db1]
> java.lang.NumberFormatException: null
>         at java.lang.Long.parseLong(Long.java:375)
>         at java.lang.Long.parseLong(Long.java:468)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.createSetupGuestNetworkCommand(VpcVirtualNetworkApplianceManagerImpl.java:450)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.setupVpcGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:401)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.removeVpcRouterFromGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:295)
>         at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.addVpcRouterToGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:268)
>         at com.cloud.network.element.VpcVirtualRouterElement.implement(VpcVirtualRouterElement.java:169)
>         at com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:2033)
>         at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1965)
>         at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2110)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2929)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2601)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2589)
>         at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
>         at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:330)
>         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)
> 2012-12-20 11:57:46,452 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-45:job-395)
Cleaning up resources for the vm VM[User|db1] in Starting state
> 2012-12-20 11:57:46,469 DEBUG [agent.manager.ClusteredAgentAttache] (Job-Executor-45:job-395)
Seq 91-1391132685: Forwarding Seq 91-1391132685:  { Cmd , MgmtId: 345052370018, via: 91, Ver:
v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-5-897-VM","wait":0}}] } to
345052370017
> 2012-12-20 11:57:46,573 DEBUG [agent.transport.Request] (AgentManager-Handler-5:null)
Seq 91-1391132685: Processing:  { Ans: , MgmtId: 345052370018, via: 91, Ver: v1, Flags: 110,
[{"StopAnswer":{"vncPort":0,"result":true,"details":"VM does not exist","wait":0}}] }
> 2012-12-20 11:57:46,573 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-5:null)
Seq 91-1391132685: No more commands found

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