[
https://issues.apache.org/jira/browse/CLOUDSTACK-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338777#comment-14338777
]
Art Cancro commented on CLOUDSTACK-8148:
----------------------------------------
Confirmed on CloudStack 4.4.2 with vSphere 5.5 as the underlying compute layer.
The system allows creation of networks, but upon VM startup, the
"java.lang.NumberFormatException: null" is encountered.
This behavior is present for both dvSwitch and Nexus 1000V switches.
> dvSwitch Broken with java.lang.NumberFormatException
> ----------------------------------------------------
>
> Key: CLOUDSTACK-8148
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8148
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: VMware
> Affects Versions: 4.4.2
> Environment: Vmware 5.5, Cloudstack 4.4.2.
> Reporter: Steve Searles
> Priority: Blocker
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)