You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Daan Hoogland <da...@gmail.com> on 2015/01/12 21:32:28 UTC

Re: VMware dvSwitch issues on 4.4.2.

sounds like a regression, The contents of the fix was made on branch 4.5
and 4.3. 17676d6bb96a473facddba69be0809884db70d66

There is a vote on 4.4.3 out but it doesn't contain this and that is a
blocker I think.

On Mon, Jan 12, 2015 at 4:45 PM, Steve Searles <ss...@zimcom.net> wrote:

>  Is anyone running 4.4.2 with a vmware dvSwitch for guest and public
> traffic successfully.  I have enabled vmware.use.dvswitch=true in the
> global config but still am getting the java.lang.NumberFormatException when
> trying to provision an instance.  I have opened a new JIRA issue for this
> as it seems that the same issue was reported in CLOUDSTACK-5046 and has
> returned.  Below is the relevant portion of the management server log.
> Does anyone have any idea that might help? I have defined my network in the
> following format for traffic labels "dvSwitch0,1901,vmwaredvs” Any help
> would be appreciated.
>
>
>
>
>  2015-01-12 10:14:09,535 INFO  [c.c.h.v.r.VmwareResource]
> (DirectAgent-5:ctx-8212ae15 esx01.p1c1.us-east-cvg.cs.zimcom.net) Prepare
> NIC device based on NicTO:
> {"deviceId":0,"networkRateMbps":200,"defaultNic":false,"uuid":"0a9287b8-656b-4f3a-904f-47ee13a2fe70","ip":"172.31.255.1","netmask":"255.255.255.0","mac":"02:00:16:4a:00:02","dns1":"209.212.245.10","dns2":"209.212.246.10","broadcastType":"Vlan","type":"Guest","broadcastUri":"
> vlan://2016","isolationUri":"vlan://2016
> ","isSecurityGroupEnabled":false,"name":"dvSwitch0,1901,vmwaredvs"}
> 2015-01-12 10:14:09,542 INFO  [c.c.h.v.r.VmwareResource]
> (DirectAgent-5:ctx-8212ae15 esx01.p1c1.us-east-cvg.cs.zimcom.net) Prepare
> network on vmwaredvs dvSwitch0 with name prefix: cloud.guest
> 2015-01-12 10:14:09,550 WARN  [c.c.h.v.r.VmwareResource]
> (DirectAgent-5:ctx-8212ae15 esx01.p1c1.us-east-cvg.cs.zimcom.net) dvsw
> Message: null
>
>  java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:454)
> at java.lang.Integer.parseInt(Integer.java:527)
> at
> com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:484)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2350)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1606)
> at
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:448)
> at
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:307)
> 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)
> 2015-01-12 10:14:09,555 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-5:ctx-8212ae15) Seq 1-6221722885212340234: Cancelling because
> one of the answers is false and it is stop on error.
>
>
>
>
>
>
>  Steven Searles, CTO | ssearles@zimcom.net
>  Zimcom Internet Solutions  | www.zimcom.net
>  O: 513.231.9500  |  D: 513.233.4130
>
>
>


-- 
Daan