You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/13 11:34:15 UTC

[jira] [Commented] (CLOUDSTACK-6652) CLONE - [Automation] Vmware- System's StartCommand failed with "NumberFormatException" while using VMware DVS

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996216#comment-13996216 ] 

ASF subversion and git services commented on CLOUDSTACK-6652:
-------------------------------------------------------------

Commit a605ca09cd3e40a8f25ae3e36ce37f1f24ac489b in cloudstack's branch refs/heads/master from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a605ca0 ]

CLOUDSTACK-6652 CLONE - [Automation] Vmware-  System's StartCommand failed with "NumberFormatException" while using VMware DVS

vlan id format was like "vlan://<id>" instead of just "<id>". This causes numberformatexception while converting the vlan id to integer form from string form. this was fixed for standard vswitch in bug Cloudstack-5046. now fixed for other 2 cases of dvswitch as well as pvlan.

Signed-off-by: Sateesh Chodapuneedi <sa...@apache.org>


> CLONE - [Automation] Vmware-  System's StartCommand failed with "NumberFormatException" while using VMware DVS
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6652
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6652
>             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: Sateesh Chodapuneedi
>            Assignee: Min Chen
>            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.2#6252)