[
https://issues.apache.org/jira/browse/CLOUDSTACK-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kishan Kavala resolved CLOUDSTACK-5322.
---------------------------------------
Resolution: Fixed
Adding new tier, creates a new network in Allocated state. It is not still
implemented and no commands are sent to VR.
When a new Vm is created in this tier, network is implemented and commands are
sent to VR.
When VR is at older version, new Vm creation fails which is the expected
behaviour.
Failure logs:
2013-12-11 15:10:13,204 DEBUG [c.c.a.t.Request] (Job-Executor-6:ctx-73163d21
ctx-a4c9b5ae) Seq 1-1862336579: Received: { Ans: , MgmtId: 101318455136477,
via: 1, Ver: v1, Flags: 110, { PlugNicAnswer } }
2013-12-11 15:10:13,205 DEBUG [c.c.v.VirtualMachineManagerImpl]
(Job-Executor-6:ctx-73163d21 ctx-a4c9b5ae) Nic is plugged successfully for vm
VM[DomainRouter|r-6-VM] in network Ntwk[206|Guest|11]. Vm is a part of network
now
2013-12-11 15:10:13,273 DEBUG [c.c.n.NetworkModelImpl]
(Job-Executor-6:ctx-73163d21 ctx-a4c9b5ae) Service SecurityGroup is not
supported in the network id=206
2013-12-11 15:10:13,282 WARN [c.c.n.r.VpcVirtualNetworkApplianceManagerImpl]
(Job-Executor-6:ctx-73163d21 ctx-a4c9b5ae) Failed to add router
VM[DomainRouter|r-6-VM] to network Ntwk[206|Guest|11] due to
com.cloud.utils.exception.CloudRuntimeException: Router requires upgrade.
Unable to send command to router:6
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.sendCommandsToRouter(VirtualNetworkApplianceManagerImpl.java:3437)
at
com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.setupVpcGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:354)
at
com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.addVpcRouterToGuestNetwork(VpcVirtualNetworkApplianceManagerImpl.java:273)
> CreateNetwork command doesnt fails on non upgraded vpc router
> --------------------------------------------------------------
>
> Key: CLOUDSTACK-5322
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5322
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Upgrade, Virtual Router
> Affects Versions: 4.3.0
> Reporter: shweta agarwal
> Assignee: Kishan Kavala
> Priority: Critical
> Fix For: 4.3.0
>
>
> Repro steps:
> On 3.0.7 setup create a vpc network and some vms in that network
> Upgrade to 4.3
> while router is still in old version template create a new tire in VPC network
> bug:
> New Tier is created without any failure
> Expected result:
> We should not let new tire creation till router of the VPC network is upgraded
> this in turn is creating further problems
> 1. able to create a new VM withing this new tier even though router is not
> upgraded
> 2. able to create a new PF rule /LB rule within this new tier without failure
> so to block all these issue we should block creation of new tier itself
> inside a VPC network if its router is not upgraded.
> API call
> http://10.147.40.27:8080/client/api?command=createNetwork&response=json&sessionkey=RFrlpoXdvIxKUO5UzITn%2BF6IuYk%3D&zoneId=71c3d210-e0f7-4ea0-80b3-1a3769cdaeb2&vpcid=19dae370-c4db-469d-9328-4966a90f2c09&domainid=1&account=admin&networkOfferingId=700de393-1d94-4f74-94b6-42e1191781f5&name=data-8&displayText=data-8&gateway=10.0.1.1&netmask=255.255.255.0&_=1385966007752
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)