Do you see any calls in vcenter that failed? if so, try to extract the error from the hypervisor.

If the error is too generic, you would need to identify the hypervisor and look at the hostd.log file and/or vcenters error log.

On 8/10/14, 6:42 PM, Xerex Bueno wrote:
Also if someone could give me some guidance or at least a hint on this I am 
willing to create documentation for implementation. I looked at the 
documentation provided by Citrix and I am not sure that it is correct.



On Aug 9, 2014, at 9:03 AM, "Xerex Bueno" <[email protected]> wrote:

So I looked at the logs further and I believe I have found the issue.  It looks 
like it is getting hung up when it goes to talk with the Nexus 1000V.  Could 
someone give me assistance on how the N1KV should be setup in cloudstack please?



2014-08-09 08:50:45,999 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-311:ctx-ce841b57 10.100.1.12) Prepare NIC device based on NicTO: 
{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a9c80c9c-bac3-4357-b0dd-34db97f4f0e4","ip":"96.38.39.84","netmask":"255.255.255.0","gateway":"96.38.39.81","mac":"06:79:04:00:00:65","dns1":"8.8.8.8","dns2":"4.2.2.2","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://999","isolationUri":"vlan://999","isSecurityGroupEnabled":false,"name":"n1kv-eth-2,,nexusdvs"}
2014-08-09 08:50:46,008 INFO  [c.c.h.v.r.VmwareResource] 
(DirectAgent-311:ctx-ce841b57 10.100.1.12) Prepare network on nexusdvs 
n1kv-eth-2 with name prefix: cloud.public
2014-08-09 08:50:46,016 WARN  [c.c.h.v.r.VmwareResource] 
(DirectAgent-311:ctx-ce841b57 10.100.1.12) StartCommand failed due to 
Exception: java.lang.NumberFormatException
________________________________________
From: Bharat Kumar [[email protected]]
Sent: Friday, August 08, 2014 11:50 PM
To: [email protected]
Subject: Re: Could use a little help

I am thinking  you are using advanced networking, can you check the vlan id 
provided while adding the public ip range.

Regards,
Bharat.

On 09-Aug-2014, at 9:32 am, Carlos Reátegui <[email protected]> wrote:

Usually the log entries just before the exception provide some hints as to what 
may have happened



On Aug 8, 2014, at 7:40 PM, Xerex Bueno <[email protected]> wrote:

We have just installed ACS 4.4 on Vmware running Nexus 1000v.  It creates the 
zone but has issues starting the system Vms.  Can someone take a look at the 
log below and give me your best guess as to what is going wrong please.

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:2351)
at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1607)
at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:449)
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:745)
2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Cancelling because one 
of the answers is false and it is stop on error.
2014-08-08 21:20:44,999 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Response Received:
2014-08-08 21:20:45,000 DEBUG [c.c.a.t.Request] (DirectAgent-11:ctx-da7b943b) Seq 1-6699385920690323610: Processing:  { Ans: , MgmtId: 345052286326, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":6,"name":"v-6-VM","bootloader":"HVM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"hostName":"v-6-VM","arch":"x86_64","os":"Debian GNU/Linux 5.0 (64-bit)","platformEmulator":"debian5Guest","bootArgs":" template=domP type=consoleproxy host=10.10.1.12 port=8250 name=v-6-VM zone=1 pod=1 guid=Proxy.6 proxy_vm=6 disable_rp_filter=true eth2ip=96.38.39.84 eth2mask=255.255.255.0 gateway=96.38.39.81 eth0ip=0.0.0.0 eth0mask=0.0.0.0 eth1ip=10.100.1.171 eth1mask=255.255.255.0 mgmtcidr=10.10.1.0/24 localgw=10.100.1.1 internaldns1=10.10.1.10 dns1=8.8.8.8 
dns2=4.2.2.2","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"df11bf739d02f384","params":{"nicAdapter":"E1000","vmware.reserve.cpu":"false","vmware.reserve.mem":"false"},"uuid":"42f0c842-ccdd-47bd-a6e3-9edb35ddd0ea","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"6b0fce07-bff8-4523-aec4-4fdcf2186f5e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"62160fe2-b9e5-4357-b4ef-987626f26a56","id":1,"poolType":"LVM","host":"10.100.1.12","path":"datastore-16","port":0,"url":"LVM://10.100.1.12/datastore-16/?ROLE=Primary&STOREUUID=62160fe2-b9e5-4357-b4ef-987626f26a56"}},"name":"ROOT-6","size":0,"path":"ROOT-6-000001","volumeId":6,"vmName":"v-6-VM","accountId":1,"format":"OVA","id":6,"deviceId":0,"hypervisorType":"VMware"}},"diskSeq":0,"path":"ROOT-6-000001","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"10.100.1.12","volumeSize":"0"}}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"a9c80c9c-bac3-4357-b0dd-34db97f4f0e4","ip":"96.38.39.84","netmask":"255.255.255.0","gateway":"96.38.39.81","mac":"06:79:04:00:00:65","dns1":"8.8.8.8","dns2":"4.2.2.2","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://999","isolationUri":"vlan://999","isSecurityGroupEnabled":false,"name":"n1kv-eth-2,,nexusdvs"},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"4612129e-c57f-4ebb-9b34-d1bb882cbea5","mac":"02:00:33:39:00:06","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false,"name":"vSwitch0,100"},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"de39047a-8826-4ab4-8cf7-5ae3f7697b37","ip":"10.100.1.171","netmask":"255.255.255.0","gateway":"10.100.1.1","mac":"06:1d:26:00:00:47","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"vSwitch0,100"}]},"result":false,"details":"StartCommand
 failed due to Exception: java.lang.NumberFormatException\nMessage: null\n","wait":0}}] }
2014-08-08 21:20:45,001 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-53:ctx-21314812 job-7/job-80 ctx-3a61ca73) Seq 
1-6699385920690323610: Received:  { Ans: , MgmtId: 345052286326, via: 1, Ver: 
v1, Flags: 10, { StartAnswer } }
2014-08-08 21:20:45,046 INFO  [c.c.v.VirtualMachineManagerImpl] 
(Work-Job-Executor-53:ctx-21314812 job-7/job-80 ctx-3a61ca73) Unable to start 
VM on Host[-1-Routing] due to StartCommand failed due to Exception: 
java.lang.NumberFormatException
Message: null





Virtualization. Networking. Storage.

Xerex Bueno
Cloud Architect


615.613.1051 CELL
615.564.5941 OFFICE
615.349.9009 FAX
[email protected]

1.866.577.2902
lpsintegration.com








Citrix Platinum Partner    |    Cisco Silver Partner    |    EMC² Signature 
Partner    |    Microsoft Gold Partner
Think before you print.



This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, 
redistributed, or displayed to any other party without the expressed written 
permission of LPS Integration, Inc. If you are not the intended recipient and 
have received this email in error, please destroy the email and contact the LPS 
Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 
Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)


Reply via email to