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<http://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<http://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<http://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 | [email protected]<mailto:[email protected]>
Zimcom Internet Solutions  | www.zimcom.net<http://www.zimcom.net>
O: 513.231.9500  |  D: 513.233.4130

[cid:[email protected]]

Reply via email to