Hi ,

This looks like:
 https://issues.apache.org/jira/browse/CLOUDSTACK-8148 (dvSwitch Broken with 
java.lang.NumberFormatException)

Could you confirm the version of CloudStack which you get this error on please.

Regards,

Paul Angus
Cloud Architect
D: +44 20 3468 5163 |S: +44 20 3603 0540 | M: +44 7711 418 784 | T: @CloudyAngus
paul.an...@shapeblue.com

-----Original Message-----
From: wangyuyang1...@163.com [mailto:wangyuyang1...@163.com]
Sent: 19 March 2015 10:29
To: dev
Subject: abort cloudstack manager vmware by dvs or vds error

hi,all:
      who manager vmware with dvs or vds get this error:
      i config the vlan is 217。

      my email is :wangyuyang1...@163.com,if some one want get detail 
info,email for me !
      thanks all  !


    2015-03-19 15:54:12,266 INFO [c.c.h.v.r.VmwareResource] 
(DirectAgent-170:ctx-80df2ec4 192.168.212.153) Prepare NIC device based on 
NicTO: 
{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a3acb204-825f-4809-9415-07ff2de3860d","ip":"192.168.217.230","netmask":"255.255.255.0","gateway":"192.168.217.254","mac":"06:08:b4:00:00:0c","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://217","isolationUri":"vlan://217","isSecurityGroupEnabled":false,"name":"dvSwitch0,,vmwaredvs"}
2015-03-19 15:54:12,287 INFO [c.c.h.v.r.VmwareResource] 
(DirectAgent-170:ctx-80df2ec4 192.168.212.153) Prepare network on vmwaredvs 
dvSwitch0 with name prefix: cloud.public
2015-03-19 15:54:12,308 WARN [c.c.h.v.r.VmwareResource] 
(DirectAgent-170:ctx-80df2ec4 192.168.212.153) 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: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-03-19 15:54:12,320 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-170:ctx-80df2ec4) Seq 2-8682940081570316457: Cancelling because 
one of the answers is false and it is stop on error.





wangyuyang1...@163.com
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to