You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tejas Gadaria <re...@gmail.com> on 2014/02/24 14:27:23 UTC

unable to deploy ubuntu as guest vm

Hi,

I am using CS 4.0.2 with basic zone, xenserver (6.0.2) as hypervisor.
I am able to deploy Windows 7 vm from ISO but not ubuntu.
Also I tried to deploy centOS 5 from ISO, where graphics doesn't supports.

Any help would be appreciated.



2014-02-24 17:33:17,601 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Creating VIF for i-2-3-VM on nic
[Nic:Guest-10.129.151.107-vlan://untagged]
2014-02-24 17:33:17,653 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Created a vif a77b6f5e-c663-f0a4-29fb-4be2511479b8 on
0
2014-02-24 17:33:17,936 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-13:null) Ping from 1
2014-02-24 17:33:18,320 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-148:null) Seq 1-410714114: Executing request
2014-02-24 17:33:18,549 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-148:null) Ignoring VM i-2-3-VM in transition state starting.
2014-02-24 17:33:18,549 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-148:null) Seq 1-410714114: Response Received:
2014-02-24 17:33:18,550 DEBUG [agent.transport.Request]
(DirectAgent-148:null) Seq 1-410714114: Processing:  { Ans: , MgmtId:
345049281638, via: 1, Ver: v1, Flags: 10,
[{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}]
}
2014-02-24 17:33:18,639 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) StorageCollector is running...
2014-02-24 17:33:18,695 DEBUG [agent.transport.Request]
(StatsCollector-3:null) Seq 4-356385005: Received:  { Ans: , MgmtId:
345049281638, via: 4, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2014-02-24 17:33:18,699 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-130:null) Seq 1-410714197: Executing request
2014-02-24 17:33:19,192 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-130:null) Seq 1-410714197: Response Received:
2014-02-24 17:33:19,193 DEBUG [agent.transport.Request]
(StatsCollector-3:null) Seq 1-410714197: Received:  { Ans: , MgmtId:
345049281638, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2014-02-24 17:33:20,792 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) HostStatsCollector is running...
2014-02-24 17:33:20,800 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-129:null) Seq 1-410714198: Executing request
2014-02-24 17:33:20,976 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-129:null) Seq 1-410714198: Response Received:
2014-02-24 17:33:20,977 DEBUG [agent.transport.Request]
(StatsCollector-3:null) Seq 1-410714198: Received:  { Ans: , MgmtId:
345049281638, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
2014-02-24 17:33:21,712 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Task failed! Task record:                 uuid:
8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

2014-02-24 17:33:21,719 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Unable to start VM(i-2-3-VM) on
host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task failed! Task
record:                 uuid: 8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

Task failed! Task record:                 uuid:
8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3146)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3258)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,728 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Catch Exception: class
com.cloud.utils.exception.CloudRuntimeException due to
com.cloud.utils.exception.CloudRuntimeException: Unable to start
VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
failed! Task record:                 uuid:
8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

com.cloud.utils.exception.CloudRuntimeException: Unable to start
VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
failed! Task record:                 uuid:
8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3269)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,729 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Unable to start i-2-3-VM due to
com.cloud.utils.exception.CloudRuntimeException: Unable to start
VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
failed! Task record:                 uuid:
8f05db8d-5b3e-2fc9-0a35-919336415ca1
           nameLabel: Async.VM.start_on
     nameDescription:
   allowedOperations: []
   currentOperations: {}
             created: Mon Feb 24 17:33:17 IST 2014
            finished: Mon Feb 24 17:33:20 IST 2014
              status: FAILURE
          residentOn: com.xensource.xenapi.Host@dadd4d39
            progress: 1.0
                type: <none/>
              result:
           errorInfo: [INVALID_SOURCE, Unable to access a required file in
the specified repository:
file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
         otherConfig: {}
           subtaskOf: com.xensource.xenapi.Task@aaf13f6f
            subtasks: []

    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3269)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,808 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) 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:207)
    at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
    at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
    at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,825 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) 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:207)
    at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
    at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
    at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,841 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) Unable to cleanup VIF
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:207)
    at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
    at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
    at com.xensource.xenapi.VIF.unplug(VIF.java:804)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1100)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
    at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
    at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
    at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
    at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
2014-02-24 17:33:21,848 DEBUG [xen.resource.CitrixResourceBase]
(DirectAgent-26:null) The VM is in stopped state, detected problem during
startup : i-2-3-VM
2014-02-24 17:33:21,848 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-26:null) Seq 1-410714196: Response Received:
2014-02-24 17:33:21,848 DEBUG [agent.transport.Request]
(DirectAgent-26:null) Seq 1-410714196: Processing:  { Ans: , MgmtId:
345049281638, via: 1, Ver: v1, Flags: 110,
[{"StartAnswer":{"vm":{"id":3,"name":"i-2-3-VM","bootloader":"CD","type":"User","cpus":1,"speed":1000,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"Ubuntu
10.10
(64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"1013f89c4c330198","params":{},"uuid":"5b40d5c2-7c95-4f1d-91c1-a35109966569","disks":[{"id":3,"name":"ROOT-3","mountPoint":"lvm","path":"da4d6fed-ae2d-46fc-b92c-c1da167832f7","size":21474836480,"type":"ROOT","storagePoolType":"LVM","storagePoolUuid":"ba600233-58f9-c0c3-0f7b-c5245413ad68","deviceId":0},{"id":3,"name":"Ubuntu","path":"nfs://
10.129.151.51/vol/secondary/template/tmpl//2/202//202-2-41e39588-e541-33ba-b044-5914df13f00d.iso","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3,"guestOsType":"Ubuntu
10.10
(64-bit)"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"a0a69c89-acd2-486c-83aa-72e1d04bf9af","ip":"10.129.151.107","netmask":"255.255.255.0","gateway":"10.129.151.2","mac":"06:8c:a0:00:00:07","dns1":"10.129.150.6","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false}]},"result":false,"details":"Unable
to start i-2-3-VM due to ","wait":0}}] }
2014-02-24 17:33:21,848 DEBUG [agent.manager.AgentAttache]
(DirectAgent-26:null) Seq 1-410714196: No more commands found
2014-02-24 17:33:21,848 DEBUG [agent.transport.Request]
(Job-Executor-1:job-8) Seq 1-410714196: Received:  { Ans: , MgmtId:
345049281638, via: 1, Ver: v1, Flags: 110, { StartAnswer } }
2014-02-24 17:33:21,853 INFO  [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-1:job-8) Unable to start VM on Host[-1-Routing] due to Unable
to start i-2-3-VM due to
2014-02-24 17:33:21,858 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-1:job-8) Cleaning up resources for the vm VM[User|ubuntu] in
Starting state


Regards,
Tejas

Re: unable to deploy ubuntu as guest vm

Posted by Kirk Kosinski <ki...@gmail.com>.
Hi, installing Ubuntu from ISO is not supported on XenServer [1].
Instead, perform a network installation of Ubuntu on a standalone
XenServer, copy the VHD to a web server, and import it as a template to
CloudStack.

Kirk

[1]
http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/guest.html#install_linux

On 02/24/2014 05:27 AM, Tejas Gadaria wrote:
> Hi,
> 
> I am using CS 4.0.2 with basic zone, xenserver (6.0.2) as hypervisor.
> I am able to deploy Windows 7 vm from ISO but not ubuntu.
> Also I tried to deploy centOS 5 from ISO, where graphics doesn't supports.
> 
> Any help would be appreciated.
> 
> 
> 
> 2014-02-24 17:33:17,601 DEBUG [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Creating VIF for i-2-3-VM on nic
> [Nic:Guest-10.129.151.107-vlan://untagged]
> 2014-02-24 17:33:17,653 DEBUG [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Created a vif a77b6f5e-c663-f0a4-29fb-4be2511479b8 on
> 0
> 2014-02-24 17:33:17,936 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-13:null) Ping from 1
> 2014-02-24 17:33:18,320 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-148:null) Seq 1-410714114: Executing request
> 2014-02-24 17:33:18,549 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-148:null) Ignoring VM i-2-3-VM in transition state starting.
> 2014-02-24 17:33:18,549 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-148:null) Seq 1-410714114: Response Received:
> 2014-02-24 17:33:18,550 DEBUG [agent.transport.Request]
> (DirectAgent-148:null) Seq 1-410714114: Processing:  { Ans: , MgmtId:
> 345049281638, via: 1, Ver: v1, Flags: 10,
> [{"ClusterSyncAnswer":{"_clusterId":1,"_newStates":{},"_isExecuted":false,"result":true,"wait":0}}]
> }
> 2014-02-24 17:33:18,639 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) StorageCollector is running...
> 2014-02-24 17:33:18,695 DEBUG [agent.transport.Request]
> (StatsCollector-3:null) Seq 4-356385005: Received:  { Ans: , MgmtId:
> 345049281638, via: 4, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2014-02-24 17:33:18,699 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-130:null) Seq 1-410714197: Executing request
> 2014-02-24 17:33:19,192 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-130:null) Seq 1-410714197: Response Received:
> 2014-02-24 17:33:19,193 DEBUG [agent.transport.Request]
> (StatsCollector-3:null) Seq 1-410714197: Received:  { Ans: , MgmtId:
> 345049281638, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
> 2014-02-24 17:33:20,792 DEBUG [cloud.server.StatsCollector]
> (StatsCollector-3:null) HostStatsCollector is running...
> 2014-02-24 17:33:20,800 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-129:null) Seq 1-410714198: Executing request
> 2014-02-24 17:33:20,976 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-129:null) Seq 1-410714198: Response Received:
> 2014-02-24 17:33:20,977 DEBUG [agent.transport.Request]
> (StatsCollector-3:null) Seq 1-410714198: Received:  { Ans: , MgmtId:
> 345049281638, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer } }
> 2014-02-24 17:33:21,712 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Task failed! Task record:                 uuid:
> 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
> 2014-02-24 17:33:21,719 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Unable to start VM(i-2-3-VM) on
> host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task failed! Task
> record:                 uuid: 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
> Task failed! Task record:                 uuid:
> 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3146)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3258)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,728 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Catch Exception: class
> com.cloud.utils.exception.CloudRuntimeException due to
> com.cloud.utils.exception.CloudRuntimeException: Unable to start
> VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
> failed! Task record:                 uuid:
> 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
> com.cloud.utils.exception.CloudRuntimeException: Unable to start
> VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
> failed! Task record:                 uuid:
> 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3269)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,729 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Unable to start i-2-3-VM due to
> com.cloud.utils.exception.CloudRuntimeException: Unable to start
> VM(i-2-3-VM) on host(f8701eb8-3edb-4b58-94e4-1889da729595) due to Task
> failed! Task record:                 uuid:
> 8f05db8d-5b3e-2fc9-0a35-919336415ca1
>            nameLabel: Async.VM.start_on
>      nameDescription:
>    allowedOperations: []
>    currentOperations: {}
>              created: Mon Feb 24 17:33:17 IST 2014
>             finished: Mon Feb 24 17:33:20 IST 2014
>               status: FAILURE
>           residentOn: com.xensource.xenapi.Host@dadd4d39
>             progress: 1.0
>                 type: <none/>
>               result:
>            errorInfo: [INVALID_SOURCE, Unable to access a required file in
> the specified repository:
> file:///tmp/cdrom-repo-5hkOHp/install.amd/xen/vmlinuz., ]
>          otherConfig: {}
>            subtaskOf: com.xensource.xenapi.Task@aaf13f6f
>             subtasks: []
> 
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3269)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1292)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,808 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) 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:207)
>     at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>     at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>     at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,825 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) 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:207)
>     at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>     at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>     at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1092)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,841 WARN  [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) Unable to cleanup VIF
> 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:207)
>     at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
>     at
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
>     at com.xensource.xenapi.VIF.unplug(VIF.java:804)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailure(CitrixResourceBase.java:1100)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1353)
>     at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:497)
>     at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>     at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>     at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     at java.lang.Thread.run(Thread.java:679)
> 2014-02-24 17:33:21,848 DEBUG [xen.resource.CitrixResourceBase]
> (DirectAgent-26:null) The VM is in stopped state, detected problem during
> startup : i-2-3-VM
> 2014-02-24 17:33:21,848 DEBUG [agent.manager.DirectAgentAttache]
> (DirectAgent-26:null) Seq 1-410714196: Response Received:
> 2014-02-24 17:33:21,848 DEBUG [agent.transport.Request]
> (DirectAgent-26:null) Seq 1-410714196: Processing:  { Ans: , MgmtId:
> 345049281638, via: 1, Ver: v1, Flags: 110,
> [{"StartAnswer":{"vm":{"id":3,"name":"i-2-3-VM","bootloader":"CD","type":"User","cpus":1,"speed":1000,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"Ubuntu
> 10.10
> (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"1013f89c4c330198","params":{},"uuid":"5b40d5c2-7c95-4f1d-91c1-a35109966569","disks":[{"id":3,"name":"ROOT-3","mountPoint":"lvm","path":"da4d6fed-ae2d-46fc-b92c-c1da167832f7","size":21474836480,"type":"ROOT","storagePoolType":"LVM","storagePoolUuid":"ba600233-58f9-c0c3-0f7b-c5245413ad68","deviceId":0},{"id":3,"name":"Ubuntu","path":"nfs://
> 10.129.151.51/vol/secondary/template/tmpl//2/202//202-2-41e39588-e541-33ba-b044-5914df13f00d.iso","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3,"guestOsType":"Ubuntu
> 10.10
> (64-bit)"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"a0a69c89-acd2-486c-83aa-72e1d04bf9af","ip":"10.129.151.107","netmask":"255.255.255.0","gateway":"10.129.151.2","mac":"06:8c:a0:00:00:07","dns1":"10.129.150.6","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false}]},"result":false,"details":"Unable
> to start i-2-3-VM due to ","wait":0}}] }
> 2014-02-24 17:33:21,848 DEBUG [agent.manager.AgentAttache]
> (DirectAgent-26:null) Seq 1-410714196: No more commands found
> 2014-02-24 17:33:21,848 DEBUG [agent.transport.Request]
> (Job-Executor-1:job-8) Seq 1-410714196: Received:  { Ans: , MgmtId:
> 345049281638, via: 1, Ver: v1, Flags: 110, { StartAnswer } }
> 2014-02-24 17:33:21,853 INFO  [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-1:job-8) Unable to start VM on Host[-1-Routing] due to Unable
> to start i-2-3-VM due to
> 2014-02-24 17:33:21,858 DEBUG [cloud.vm.VirtualMachineManagerImpl]
> (Job-Executor-1:job-8) Cleaning up resources for the vm VM[User|ubuntu] in
> Starting state
> 
> 
> Regards,
> Tejas
>