Rayees Namathponnan created CLOUDSTACK-5046: -----------------------------------------------
Summary: [Automation] Vmware- System's StartCommand failed due to "NumberFormatException" Key: CLOUDSTACK-5046 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5046 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Automation, VMware Affects Versions: 4.3.0 Environment: vmware ; 5.0 branch : master (4.3) Reporter: Rayees Namathponnan Priority: Blocker Fix For: 4.3.0 Create build from master branch; deploy advance zone in vmware setup system vms are not getting created, observed NumberFormatException in ms log 2013-11-05 11:03:50,915 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-45:ctx-a29b989d 10.223.250.130) Prepare NIC device based on NicTO: {"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"6f144332-f9e1-4ff6-9c15-d628272c2645","ip":"10.223.243.2","netmask":"255.255.255.192","gateway":"10.223.243.1","mac":"06:61:3a:00:00:3b","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://510","isolationUri":"vlan://510","isSecurityGroupEnabled":false} 2013-11-05 11:03:50,930 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-45:ctx-a29b989d 10.223.250.130) Prepare network on vmwaresvs P[vSwitch0:untagged] with name prefix: cloud.public 2013-11-05 11:03:50,970 WARN [c.c.h.v.r.VmwareResource] (DirectAgent-45:ctx-a29b989d 10.223.250.130) StartCommand failed due to Exception: java.lang.NumberFormatException 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:940) at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:3533) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2880) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:519) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) 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:744) 2013-11-05 11:03:50,973 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-45:ctx-a29b989d) Seq 2-1387069469: Cancelling because one of the answers is false and it is stop on error. 2013-11-05 11:03:50,973 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-45:ctx-a29b989d) Seq 2-1387069469: Response Received: 2013-11-05 11:03:50,975 DEBUG [c.c.a.t.Request] (DirectAgent-45:ctx-a29b989d) Seq 2-1387069469: Processing: { Ans: , MgmtId: 90928106758026, via: 2, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":1,"name":"v-1-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-1-VM","arch":"i686","os":"Debian GNU/Linux 5.0 (32: -- This message was sent by Atlassian JIRA (v6.1#6144)