findRouterEthDeviceIndex() in VmwareResource returned -1.

Looks like CLOUDSTACK-9491: incorrect parsing of device list to find ethernet 
index of plugged NIC

There is a PR https://github.com/apache/cloudstack/pull/1681



On 26/09/16, 5:13 PM, "Prashanth Manthena" 
<prashanth.manth...@nuagenetworks.net> wrote:

>Hi All,
>
>We are hitting an issue where VPC VR is failing to come up due to IpAssoc
>failure in ACS+VMware setup.
>
>We have tried with the following system VM templates:
>
>http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmware.ova
>
>http://cloudstack.apt-get.eu/templates/4.7/systemvm64template-2016-05-18-4.7.0-vmware.ova
>
>
>Is there a more latest system VM template that fixes this issue ?
>
>
>Here is the error log:
>
>[1:00]
>IpAssocVpcCommand) (logid:f727c105) Prepare Ip Assoc failure on applying
>one ip due to exception:
>com.cloud.exception.InternalErrorException: Failed to find DomR VIF to
>associate/disassociate IP with.
>       at
>com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkElementCommand(VmwareResource.java:917)
>       at
>com.cloud.hypervisor.vmware.resource.VmwareResource.prepareCommand(VmwareResource.java:803)
>       at
>com.cloud.agent.resource.virtualnetwork.VirtualRoutingResource.executeRequest(VirtualRoutingResource.java:97)
>       at
>com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:387)
>       at
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
>       at
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>       at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>       at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>       at
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>       at
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>       at
>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>       at
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>       at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:745)
>2016-09-26 02:30:22,053 ERROR [c.c.a.r.v.VirtualRoutingResource]
>(DirectAgent-80:ctx-d0fb047f 10.31.56.182, job-65/job-66, cmd:
>IpAssocVpcCommand) (logid:f727c105) Failed to prepare VR command due to
>com.cloud.exception.InternalErrorException: Failed to find DomR VIF to
>associate/disassociate IP with.
>
>With regards,
>Prashanth

Reply via email to