Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Cannot Reproduce
-
4.4.2
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
-
Vmware 5.5, Cloudstack 4.4.2.
Description
Deploying any networks on VMware via vDS fails with java.lang.NumberFormatException.
This issue seems to have returned with the latest 4.4.2 version. This issue has already been reported and declared fixed in CLOUDSTACK-5046.
Managment_server.log
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.