Wonder if Daan is talking about
https://issues.apache.org/jira/browse/CLOUDSTACK-4346


As you can see from
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob;f=plugins/h
ypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixReso
urceBase.java;h=9313e5673f30e6a70f915258ee78c7e5832399d4;hb=HEAD#l1019 ,
the first check for ³untagged² should¹ve gone through, except that it goes
through and either hits line 1025 instead.
So, check your Œnetworks¹ table and see if the URI is correct.


From:  Carlos Reátegui <create...@gmail.com>
Reply-To:  "dev@cloudstack.apache.org" <dev@cloudstack.apache.org>
Date:  Friday, October 3, 2014 at 12:15 PM
To:  "dev@cloudstack.apache.org" <dev@cloudstack.apache.org>
Subject:  Re: Can't launch VMs


Thanks for having a look.  Inline...

On Oct 3, 2014, at 11:38 AM, Chiradeep Vittal
<chiradeep.vit...@citrix.com> wrote:

> Not sure what is a ³basic zone no security groups².
Basic Zone type with the following Network Offering:
DefaultSharedNetworkOffering as opposed to the default/first option
DefaultSharedNetworkOfferingWithSGService.

> Check your vlan table to see if there has been any allocation of vlans?
mysql> select * from vlan;
+----+--------------------------------------+-----------------+------------
--+---------------+-----------------------------+----------------+---------
-------+------------+---------------------+-------------+----------+-------
----+
| id | uuid                                 | vlan_id         |
vlan_gateway | vlan_netmask  | description                 | vlan_type
 | data_center_id | network_id | physical_network_id | ip6_gateway |
ip6_cidr | ip6_range |
+----+--------------------------------------+-----------------+------------
--+---------------+-----------------------------+----------------+---------
-------+------------+---------------------+-------------+----------+-------
----+
|  1 | 5ebc3075-2946-4be4-9e7a-f32a86e7edfc | vlan://untagged |
172.30.45.1  | 255.255.255.0 | 172.30.45.100-172.30.45.174 |
DirectAttached |              1 |        204 |                 200 | NULL
      | NULL     | NULL      |
+----+--------------------------------------+-----------------+------------
--+---------------+-----------------------------+----------------+---------
-------+------------+---------------------+-------------+----------+-------
----+
1 row in set (0.00 sec)



> 
> From: Carlos Reategui <create...@gmail.com<mailto:create...@gmail.com>>
> Reply-To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>"
><dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>,
>"car...@reategui.com<mailto:car...@reategui.com>"
><car...@reategui.com<mailto:car...@reategui.com>>
> Date: Thursday, October 2, 2014 at 3:48 PM
> To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>"
><dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
> Subject: Fwd: Can't launch VMs
> 
> Hi devs,
> Daan suggested I check with you all regarding this email I sent to the
> users list.
> 
> He said "the line of code that breaks expects a uri for a vlan", However
>I
> am using basic networking and I don't know where to add a vlan in that
>setup.
> He also said this was a known issue.  Hopefully one of you all knows a
>fix.
> 
> This deployment had been working fine.  Originally a 4.1, upgraded to
>4.2.1
> and more recently to 4.3 and 4.3.1.  It was definitely working under
>4.2.1
> and I though it had been working under 4.3 as well but I am not sure now.
> There is no problem with existing instances.  The problem is when trying
>to
> launch new ones.
> 
> Let me know what additional info would be useful.
> 
> thank you,
> Carlos
> 
> 
> 
> ---------- Forwarded message ----------
> From: Carlos Reategui <create...@gmail.com<mailto:create...@gmail.com>>
> Date: Mon, Sep 29, 2014 at 4:53 PM
> Subject: Can't launch VMs
> To: "us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>"
><us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org>>
> 
> 
> Following up on my earlier email regarding errors in my logs it appears
> things are not as great as I thought.  Trying to launch instances is not
> working.  Please help.
> thanks,
> Carlos
> 
> ACS: 4.3.1
> Hosts: XenServer 6.2
> Network: Basic Shared Network no SG
> 
> Things appear ok up until it tries to create the VIF.  Here are the logs:
> 
> 2014-09-29 16:26:24,816 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-235:ctx-7f8db7ac) Seq 2-868943178: Executing request
> 
> 2014-09-29 16:26:25,003 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) 1. The VM i-3-98-VM is in Starting state.
> 
> 2014-09-29 16:26:25,174 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Created VM
> 71314961-a1bf-689e-eaec-73b9e3639db8 for i-3-98-VM
> 
> 2014-09-29 16:26:25,405 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) VBD 9297b527-7b1f-600c-0d55-8486a8bd35d7
> created for com.cloud.agent.api.to.DiskTO@53d6031b
> 
> 2014-09-29 16:26:25,509 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-399:ctx-73a60525) Seq 2-868943177: Response Received:
> 
> 2014-09-29 16:26:25,509 DEBUG [c.c.a.t.Request]
> (StatsCollector-3:ctx-13616221) Seq 2-868943177: Received:  { Ans: ,
> MgmtId: 233845174730255, via: 2, Ver: v1, Flags: 10, {
> GetStorageStatsAnswer } }
> 
> 2014-09-29 16:26:25,512 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-392:ctx-401c432d) Seq 2-868943179: Executing request
> 
> 2014-09-29 16:26:25,618 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) VBD 6609b989-ec81-10c1-8b00-b1fb1eb3885f
> created for com.cloud.agent.api.to.DiskTO@7fbb227a
> 
> 2014-09-29 16:26:25,658 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-12:ctx-a4bf4221) ===START===  172.30.36.159 -- GET
> 
>command=queryAsyncJobResult&jobId=f38a8e56-9a85-48aa-9da2-d498d3179634&res
>ponse=json&sessionkey=UWhJaGdVTH3zXZ9WFdv4EwAlqA4%3D&_=1412033185658
> 
> 2014-09-29 16:26:25,679 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-12:ctx-a4bf4221 ctx-d566be7f) ===END===  172.30.36.159 --
> GET
> 
>command=queryAsyncJobResult&jobId=f38a8e56-9a85-48aa-9da2-d498d3179634&res
>ponse=json&sessionkey=UWhJaGdVTH3zXZ9WFdv4EwAlqA4%3D&_=1412033185658
> 
> 2014-09-29 16:26:25,735 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) VBD d47f3673-7dc8-68ff-7eb7-fcd6ba8b0c41
> created for com.cloud.agent.api.to.DiskTO@194e84ba
> 
> 2014-09-29 16:26:25,735 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Creating VIF for i-3-98-VM on nic
> [Nic:Guest-172.30.45.143-null]
> 
> 2014-09-29 16:26:25,834 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Catch Exception: class
> java.lang.NullPointerException due to java.lang.NullPointerException
> 
> java.lang.NullPointerException
> 
>        at
> 
>com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.jav
>a:173)
> 
>        at
> 
>com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:228)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixReso
>urceBase.java:1035)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResou
>rceBase.java:1088)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
>eBase.java:1718)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
>ResourceBase.java:545)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
>rver56Resource.java:59)
> 
>        at
> 
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.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.acces
>s$201(ScheduledThreadPoolExecutor.java:178)
> 
>        at
> 
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.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-09-29 16:26:25,835 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Unable to start i-3-98-VM due to
> 
> java.lang.NullPointerException
> 
>        at
> 
>com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.jav
>a:173)
> 
>        at
> 
>com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:228)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixReso
>urceBase.java:1035)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResou
>rceBase.java:1088)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
>eBase.java:1718)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
>ResourceBase.java:545)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
>rver56Resource.java:59)
> 
>        at
> 
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.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.acces
>s$201(ScheduledThreadPoolExecutor.java:178)
> 
>        at
> 
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.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-09-29 16:26:26,052 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Unable to clean up VBD due to
> 
> You gave an invalid object reference.  The object may have recently been
> deleted.  The class parameter gives the type of reference given, and the
> handle parameter echoes the bad value given.
> 
>        at com.xensource.xenapi.Types.checkResponse(Types.java:209)
> 
>        at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect
>ion.dispatch(XenServerConnectionPool.java:909)
> 
>        at com.xensource.xenapi.VBD.unplug(VBD.java:1059)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(
>CitrixResourceBase.java:1462)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
>eBase.java:1800)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
>ResourceBase.java:545)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
>rver56Resource.java:59)
> 
>        at
> 
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.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.acces
>s$201(ScheduledThreadPoolExecutor.java:178)
> 
>        at
> 
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.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-09-29 16:26:26,092 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Unable to clean up VBD due to
> 
> You gave an invalid object reference.  The object may have recently been
> deleted.  The class parameter gives the type of reference given, and the
> handle parameter echoes the bad value given.
> 
>        at com.xensource.xenapi.Types.checkResponse(Types.java:209)
> 
>        at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect
>ion.dispatch(XenServerConnectionPool.java:909)
> 
>        at com.xensource.xenapi.VBD.unplug(VBD.java:1059)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(
>CitrixResourceBase.java:1462)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
>eBase.java:1800)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
>ResourceBase.java:545)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
>rver56Resource.java:59)
> 
>        at
> 
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.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.acces
>s$201(ScheduledThreadPoolExecutor.java:178)
> 
>        at
> 
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.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-09-29 16:26:26,137 WARN  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) Unable to clean up VBD due to
> 
> You gave an invalid object reference.  The object may have recently been
> deleted.  The class parameter gives the type of reference given, and the
> handle parameter echoes the bad value given.
> 
>        at com.xensource.xenapi.Types.checkResponse(Types.java:209)
> 
>        at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnect
>ion.dispatch(XenServerConnectionPool.java:909)
> 
>        at com.xensource.xenapi.VBD.unplug(VBD.java:1059)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(
>CitrixResourceBase.java:1462)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourc
>eBase.java:1800)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citrix
>ResourceBase.java:545)
> 
>        at
> 
>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenSe
>rver56Resource.java:59)
> 
>        at
> 
>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt
>tache.java:216)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed
>ContextRunnable.java:49)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De
>faultManagedContext.java:56)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC
>ontext(DefaultManagedContext.java:103)
> 
>        at
> 
>org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo
>ntext(DefaultManagedContext.java:53)
> 
>        at
> 
>org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo
>ntextRunnable.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.acces
>s$201(ScheduledThreadPoolExecutor.java:178)
> 
>        at
> 
>java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
>cheduledThreadPoolExecutor.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-09-29 16:26:26,138 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-235:ctx-7f8db7ac) The VM is in stopped state, detected
>problem
> during startup : i-3-98-VM
> 
> 2014-09-29 16:26:26,138 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-235:ctx-7f8db7ac) Seq 2-868943178: Response Received:
> 
> 2014-09-29 16:26:26,141 DEBUG [c.c.a.t.Request]
> (DirectAgent-235:ctx-7f8db7ac) Seq 2-868943178: Processing:  { Ans: ,
> MgmtId: 233845174730255, via: 2, Ver: v1, Flags: 10,
> 
>[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":98,"name":"i-3-98-VM","boo
>tloader":"PyGrub","type":"User","cpus":1,"minSpeed":2000,"maxSpeed":2000,"
>minRam":1782579200,"maxRam":1782579200,"arch":"x86_64","os":"CentOS
> 5.7
> 
>(64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUs
>e":true,"enableDynamicallyScaleVm":false,"vncPassword":"a19a39dac48334d5",
>"params":{"hypervisortoolsversion":"xenserver56"},"uuid":"c474454f-4772-44
>79-b9a5-3829c97006e0","disks":[{"data":{"org.apache.cloudstack.storage.to.
>VolumeObjectTO":{"uuid":"d348a1d2-18ea-4043-b868-18d3cf8ce21f","volumeType
>":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO
>":{"uuid":"17b0a8a5-2376-3d11-b60e-31eebeafb217","id":202,"poolType":"Netw
>orkFilesystem","host":"172.30.19.1","path":"/export/primary","port":2049,"
>url":"NetworkFilesystem://
> 
>172.30.19.1//export/primary/?ROLE=Primary&STOREUUID=17b0a8a5-2376-3d11-b60
>e-31eebeafb217
> 
>"}},"name":"ROOT-98","size":10737418240,"path":"18801349-c195-468a-99db-67
>534434d137","volumeId":124,"vmName":"i-3-
> 98-VM
> 
>","accountId":3,"format":"VHD","id":124,"deviceId":0,"hypervisorType":"Xen
>Server"}},"diskSeq":0,"path":"18801349-c195-468a-99db-67534434d137","type"
>:"ROOT","_details":{"managed":"false","storagePort":"2049","storageHost":"
>172.30.19.1","volumeSize":"10737418240"}},{"data":{"org.apache.cloudstack.
>storage.to.VolumeObjectTO":{"uuid":"9d70a3ed-9737-4a34-8a87-048c067deae0",
>"volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.Pri
>maryDataStoreTO":{"uuid":"17b0a8a5-2376-3d11-b60e-31eebeafb217","id":202,"
>poolType":"NetworkFilesystem","host":"172.30.19.1","path":"/export/primary
>","port":2049,"url":"NetworkFilesystem://
> 
>172.30.19.1//export/primary/?ROLE=Primary&STOREUUID=17b0a8a5-2376-3d11-b60
>e-31eebeafb217
> 
>"}},"name":"DATA-98","size":5368709120,"path":"a343a4a0-1a7c-45b6-8e64-1e1
>ed1bdfd48","volumeId":125,"vmName":"i-3-
> 
>98-VM","accountId":3,"format":"VHD","id":125,"deviceId":1,"hypervisorType"
>:"XenServer"}},"diskSeq":1,"path":"a343a4a0-1a7c-45b6-8e64-1e1ed1bdfd48","
>type":"DATADISK","_details":{"managed":"false","storagePort":"2049","stora
>geHost":"172.30.19.1","volumeSize":"5368709120"}},{"data":{"org.apache.clo
>udstack.storage.to.TemplateObjectTO":{"id":0,"format":"ISO","accountId":0,
>"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRat
>eMbps":200,"defaultNic":true,"uuid":"a98bcc83-4cbe-41e3-a992-1bd162883816"
>,"ip":"172.30.45.143","netmask":"255.255.255.0","gateway":"172.30.45.1","m
>ac":"06:4f:1e:00:00:41","dns1":"172.30.20.176","dns2":"172.30.20.175","bro
>adcastType":"Vlan","type":"Guest","isSecurityGroupEnabled":false}],"vcpuMa
>xLimit":16},"_iqnToPath":{},"result":false,"details":"Unable
> to start i-3-98-VM due to ","wait":0}}] }
> 
> 2014-09-29 16:26:26,141 DEBUG [c.c.a.t.Request]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Seq 2-868943178: Received:  {
> Ans: , MgmtId: 233845174730255, via: 2, Ver: v1, Flags: 10, {
>StartAnswer }
> }
> 
> 2014-09-29 16:26:26,144 INFO  [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Unable to start VM on
> Host[-2-Routing] due to Unable to start i-3-98-VM due to
> 
> 2014-09-29 16:26:26,147 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Cleaning up resources for the
> vm VM[User|sununxcld19] in Starting state
> 
> 2014-09-29 16:26:26,150 DEBUG [c.c.a.t.Request]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Seq 2-868943180: Sending  {
>Cmd
> , MgmtId: 233845174730255, via: 2(srvengxen02), Ver: v1, Flags: 100011,
> 
>[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":f
>alse,"vmName":"i-3-
> 98-VM","wait":0}}] }
> 
> 2014-09-29 16:26:26,150 DEBUG [c.c.a.t.Request]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Seq 2-868943180: Executing:
>{
> Cmd , MgmtId: 233845174730255, via: 2(srvengxen02), Ver: v1, Flags:
>100011,
> 
>[{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":f
>alse,"vmName":"i-3-
> 98-VM","wait":0}}] }
> 
> 2014-09-29 16:26:26,150 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-236:ctx-234da2e1) Seq 2-868943180: Executing request
> 
> 2014-09-29 16:26:26,310 INFO  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-236:ctx-234da2e1) VM does not exist on
> XenServer63befa52-4c03-460a-9557-9100d51cedaf
> 
> 2014-09-29 16:26:26,310 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-236:ctx-234da2e1) Seq 2-868943180: Response Received:
> 
> 2014-09-29 16:26:26,310 DEBUG [c.c.a.t.Request]
> (DirectAgent-236:ctx-234da2e1) Seq 2-868943180: Processing:  { Ans: ,
> MgmtId: 233845174730255, via: 2, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not
> exist","wait":0}}] }
> 
> 2014-09-29 16:26:26,310 DEBUG [c.c.a.t.Request]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Seq 2-868943180: Received:  {
> Ans: , MgmtId: 233845174730255, via: 2, Ver: v1, Flags: 10, { StopAnswer
>} }
> 
> 2014-09-29 16:26:26,319 DEBUG [c.c.n.NetworkModelImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Service SecurityGroup is not
> supported in the network id=204
> 
> 2014-09-29 16:26:26,321 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Changing active number of
>nics
> for network id=204 on -1
> 
> 2014-09-29 16:26:26,326 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Asking VirtualRouter to
>release
> NicProfile[127-98-c794b1fc-374c-4d69-a469-5ec708074d02-172.30.45.143-null
> 
> 2014-09-29 16:26:26,326 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Successfully released network
> resources for the vm VM[User|sununxcld19]
> 
> 2014-09-29 16:26:26,326 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Successfully cleanued up
> resources for the vm VM[User|sununxcld19] in Starting state
> 
> 2014-09-29 16:26:26,330 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-24:ctx-38a388ee ctx-b9ffa188) Root volume is ready, need to
> place VM in volume's cluster
> 


Reply via email to