Hi
I found one solution, i dont know why, but CS do not move some .sh script.
Do it by myself. Now on Xs disk created but stiil couldnt start Vm



On Wed, May 7, 2014 at 9:43 AM, Anton Rubets <plejik....@gmail.com> wrote:

> Nope =( Its fails, always ,when i do this installation
>
> Logs:
> 2014-05-07 09:41:53,804 DEBUG [o.a.c.s.m.AncientDataMotionStrategy]
> (consoleproxy-1:ctx-610fb7b8) copyAsync inspecting src type TEMPLATE
> copyAsync inspecting dest type TEMPLATE
> 2014-05-07 09:41:53,835 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997832: Sending  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"3256ab4c-d533-11e3-9144-5e6d11318666","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 10.12.41.100/secondary
> ","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"3256ab4c-d533-11e3-9144-5e6d11318666","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6151255b-f3c4-50be-1408-b8f237bf8f4f","id":1,"poolType":"LVM","host":"10.12.41.85","path":"lvm","port":0,"url":"LVM://
> 10.12.41.85/lvm/?ROLE=Primary&STOREUUID=6151255b-f3c4-50be-1408-b8f237bf8f4f"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}]
> }
> 2014-05-07 09:41:53,837 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997832: Executing:  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"3256ab4c-d533-11e3-9144-5e6d11318666","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 10.12.41.100/secondary
> ","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2","uuid":"3256ab4c-d533-11e3-9144-5e6d11318666","id":1,"format":"VHD","accountId":1,"checksum":"74b92f031cc5c2089ee89efb81344dcf","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"6151255b-f3c4-50be-1408-b8f237bf8f4f","id":1,"poolType":"LVM","host":"10.12.41.85","path":"lvm","port":0,"url":"LVM://
> 10.12.41.85/lvm/?ROLE=Primary&STOREUUID=6151255b-f3c4-50be-1408-b8f237bf8f4f"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":false,"options":{},"wait":10800}}]
> }
> 2014-05-07 09:41:53,838 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-4:ctx-319289ab) Seq 2-1425997832: Executing request
> 2014-05-07 09:41:56,012 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-4:ctx-319289ab) destoryVDIbyNameLabel failed due to there are
> 0 VDIs with name cloud-eddb2ea1-9a73-41ca-9097-b2e78f8c692f
> 2014-05-07 09:41:56,012 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-4:ctx-319289ab) failed
> 2014-05-07 09:41:56,013 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> (DirectAgent-4:ctx-319289ab) Catch Exception
> com.cloud.utils.exception.CloudRuntimeException for template +  due to
> com.cloud.utils.exception.CloudRuntimeException: failed
> com.cloud.utils.exception.CloudRuntimeException: failed
>         at
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
>         at
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
>         at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
>         at
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
>         at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
>         at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
>         at
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
>         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-05-07 09:41:56,015 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-4:ctx-319289ab) Seq 2-1425997832: Response Received:
> 2014-05-07 09:41:56,016 DEBUG [c.c.a.t.Request]
> (DirectAgent-4:ctx-319289ab) Seq 2-1425997832: Processing:  { Ans: ,
> MgmtId: 103822532904550, via: 2, Ver: v1, Flags: 10,
> [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Catch
> Exception com.cloud.utils.exception.CloudRuntimeException for template +
>  due to com.cloud.utils.exception.CloudRuntimeException:
> failed","wait":0}}] }
> 2014-05-07 09:41:56,017 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997832: Received:  { Ans: , MgmtId:
> 103822532904550, via: 2, Ver: v1, Flags: 10, { CopyCmdAnswer } }
> 2014-05-07 09:41:56,038 INFO  [o.a.c.s.v.VolumeServiceImpl]
> (consoleproxy-1:ctx-610fb7b8) releasing lock for VMTemplateStoragePool 1
> 2014-05-07 09:41:56,039 WARN  [c.c.u.d.Merovingian2]
> (consoleproxy-1:ctx-610fb7b8) Was unable to find lock for the key
> template_spool_ref1 and thread id 2032272430
> 2014-05-07 09:41:56,040 DEBUG [o.a.c.e.o.VolumeOrchestrator]
> (consoleproxy-1:ctx-610fb7b8) Unable to create Vol[2|vm=2|ROOT]:Catch
> Exception com.cloud.utils.exception.CloudRuntimeException for template +
>  due to com.cloud.utils.exception.CloudRuntimeException: failed
> 2014-05-07 09:41:56,041 INFO  [c.c.v.VirtualMachineManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Unable to contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
> is unreachable: Unable to create Vol[2|vm=2|ROOT]:Catch Exception
> com.cloud.utils.exception.CloudRuntimeException for template +  due to
> com.cloud.utils.exception.CloudRuntimeException: failed
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
>         at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
>         at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
>         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.runAndReset(FutureTask.java:304)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         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-05-07 09:41:56,049 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Cleaning up resources for the vm
> VM[ConsoleProxy|v-2-VM] in Starting state
> 2014-05-07 09:41:56,056 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997833: Sending  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-2-VM","wait":0}}]
> }
> 2014-05-07 09:41:56,057 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997833: Executing:  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"v-2-VM","wait":0}}]
> }
> 2014-05-07 09:41:56,057 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-1:ctx-8def7769) Seq 2-1425997833: Executing request
> 2014-05-07 09:41:56,150 INFO  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-1:ctx-8def7769) VM does not exist on
> XenServer291c020b-9df5-426c-ba11-28fb95ee6605
> 2014-05-07 09:41:56,151 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-1:ctx-8def7769) Seq 2-1425997833: Response Received:
> 2014-05-07 09:41:56,152 DEBUG [c.c.a.t.Request]
> (DirectAgent-1:ctx-8def7769) Seq 2-1425997833: Processing:  { Ans: ,
> MgmtId: 103822532904550, via: 2, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not
> exist","wait":0}}] }
> 2014-05-07 09:41:56,152 DEBUG [c.c.a.t.Request]
> (consoleproxy-1:ctx-610fb7b8) Seq 2-1425997833: Received:  { Ans: , MgmtId:
> 103822532904550, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
> 2014-05-07 09:41:56,183 DEBUG [c.c.n.g.ControlNetworkGuru]
> (consoleproxy-1:ctx-610fb7b8) Released nic: NicProfile[6-2-null-null-null
> 2014-05-07 09:41:56,202 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl]
> (consoleproxy-1:ctx-610fb7b8) Releasing ip address for
> reservationId=b84f9af5-f3e3-455e-9c4b-616d1784fba4, instance=7
> 2014-05-07 09:41:56,203 DEBUG [c.c.n.g.PodBasedNetworkGuru]
> (consoleproxy-1:ctx-610fb7b8) Released nic: NicProfile[7-2-null-null-null
> 2014-05-07 09:41:56,210 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Successfully released network resources for
> the vm VM[ConsoleProxy|v-2-VM]
> 2014-05-07 09:41:56,210 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Successfully cleanued up resources for the vm
> VM[ConsoleProxy|v-2-VM] in Starting state
> 2014-05-07 09:41:56,214 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Deploy avoids pods: null, clusters: null,
> hosts: [2]
> 2014-05-07 09:41:56,216 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) DeploymentPlanner allocation algorithm:
> com.cloud.deploy.FirstFitPlanner@1b605afd
> 2014-05-07 09:41:56,217 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Trying to allocate a host and storage pools
> from dc:1, pod:null,cluster:null, requested cpu: 500, requested ram:
> 1073741824
> 2014-05-07 09:41:56,217 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Is ROOT volume READY (pool already
> allocated)?: No
> 2014-05-07 09:41:56,217 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) Searching all possible resources under this
> Zone: 1
> 2014-05-07 09:41:56,218 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) Listing clusters in order of aggregate
> capacity, that have (atleast one host with) enough CPU and RAM capacity
> under this Zone: 1
> 2014-05-07 09:41:56,229 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Checking resources in Cluster: 1 under Pod: 1
> 2014-05-07 09:41:56,229 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) Looking for hosts in
> dc: 1  pod:1  cluster:1
> 2014-05-07 09:41:56,233 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) FirstFitAllocator
> has 1 hosts to check for allocation: [Host[-2-Routing]]
> 2014-05-07 09:41:56,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) Found 1 hosts for
> allocation after prioritization: [Host[-2-Routing]]
> 2014-05-07 09:41:56,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) Looking for
> speed=500Mhz, Ram=1024
> 2014-05-07 09:41:56,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) Host name: ark3.,
> hostId: 2 is in avoid set, skipping this and trying other available hosts
> 2014-05-07 09:41:56,237 DEBUG [c.c.a.m.a.i.FirstFitAllocator]
> (consoleproxy-1:ctx-610fb7b8 FirstFitRoutingAllocator) Host Allocator
> returning 0 suitable hosts
> 2014-05-07 09:41:56,237 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) No suitable hosts found
> 2014-05-07 09:41:56,237 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) No suitable hosts found under this Cluster: 1
> 2014-05-07 09:41:56,239 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Could not find suitable Deployment
> Destination for this VM under any clusters, returning.
> 2014-05-07 09:41:56,239 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) Searching all possible resources under this
> Zone: 1
> 2014-05-07 09:41:56,241 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) Listing clusters in order of aggregate
> capacity, that have (atleast one host with) enough CPU and RAM capacity
> under this Zone: 1
> 2014-05-07 09:41:56,245 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) Removing from the clusterId list these
> clusters from avoid set: [1]
> 2014-05-07 09:41:56,245 DEBUG [c.c.d.FirstFitPlanner]
> (consoleproxy-1:ctx-610fb7b8) No clusters found after removing disabled
> clusters and clusters in avoid list, returning.
> 2014-05-07 09:41:56,262 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) VM state transitted from :Starting to Stopped
> with event: OperationFailedvm's original host id: null new host id: null
> host id before state transition: 2
> 2014-05-07 09:41:56,273 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Hosts's actual total CPU: 13568 and CPU after
> applying overprovisioning: 13568
> 2014-05-07 09:41:56,274 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Hosts's actual total RAM: 31580478720 and RAM
> after applying overprovisioning: 31580479488
> 2014-05-07 09:41:56,274 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) release cpu from host: 2, old used:
> 1000,reserved: 0, actual total: 13568, total with overprovisioning: 13568;
> new used: 500,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2014-05-07 09:41:56,274 DEBUG [c.c.c.CapacityManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) release mem from host: 2, old used:
> 1610612736,reserved: 0, total: 31580479488; new used: 536870912,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2014-05-07 09:41:56,280 WARN  [c.c.c.ConsoleProxyManagerImpl]
> (consoleproxy-1:ctx-610fb7b8) Exception while trying to start console proxy
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for VM[ConsoleProxy|v-2-VM]Scope=interface
> com.cloud.dc.DataCenter; id=1
>         at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:921)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:555)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:941)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1666)
>         at
> com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:157)
>         at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:118)
>         at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
>         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.runAndReset(FutureTask.java:304)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         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-05-07 09:41:58,795 INFO  [o.a.c.s.v.VolumeServiceImpl]
> (secstorage-1:ctx-f5e96f85) Unable to acquire lock on VMTemplateStoragePool
> 1
> 2014-05-07 09:41:58,801 ERROR [c.c.v.VirtualMachineManagerImpl]
> (secstorage-1:ctx-f5e96f85) Failed to start instance
> VM[SecondaryStorageVm|s-1-VM]
> java.lang.NullPointerException
>         at
> org.apache.cloudstack.storage.volume.VolumeServiceImpl.createBaseImageAsync(VolumeServiceImpl.java:454)
>         at
> org.apache.cloudstack.storage.volume.VolumeServiceImpl.createVolumeFromTemplateAsync(VolumeServiceImpl.java:603)
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1190)
>         at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
>         at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
>         at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
>         at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
>         at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
>         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.runAndReset(FutureTask.java:304)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         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-05-07 09:41:58,810 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (secstorage-1:ctx-f5e96f85) Cleaning up resources for the vm
> VM[SecondaryStorageVm|s-1-VM] in Starting state
> 2014-05-07 09:41:58,817 DEBUG [c.c.a.t.Request]
> (secstorage-1:ctx-f5e96f85) Seq 2-1425997834: Sending  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-1-VM","wait":0}}]
> }
> 2014-05-07 09:41:58,817 DEBUG [c.c.a.t.Request]
> (secstorage-1:ctx-f5e96f85) Seq 2-1425997834: Executing:  { Cmd , MgmtId:
> 103822532904550, via: 2(ark3.), Ver: v1, Flags: 100011,
> [{"com.cloud.agent.api.StopCommand":{"isProxy":false,"executeInSequence":false,"vmName":"s-1-VM","wait":0}}]
> }
> 2014-05-07 09:41:58,818 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-7:ctx-a05f1d88) Seq 2-1425997834: Executing request
> 2014-05-07 09:41:58,880 INFO  [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-7:ctx-a05f1d88) VM does not exist on
> XenServer291c020b-9df5-426c-ba11-28fb95ee6605
> 2014-05-07 09:41:58,881 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-7:ctx-a05f1d88) Seq 2-1425997834: Response Received:
> 2014-05-07 09:41:58,881 DEBUG [c.c.a.t.Request]
> (DirectAgent-7:ctx-a05f1d88) Seq 2-1425997834: Processing:  { Ans: ,
> MgmtId: 103822532904550, via: 2, Ver: v1, Flags: 10,
> [{"com.cloud.agent.api.StopAnswer":{"result":true,"details":"VM does not
> exist","wait":0}}] }
> 2014-05-07 09:41:58,882 DEBUG [c.c.a.t.Request]
> (secstorage-1:ctx-f5e96f85) Seq 2-1425997834: Received:  { Ans: , MgmtId:
> 103822532904550, via: 2, Ver: v1, Flags: 10, { StopAnswer } }
> 2014-05-07 09:41:58,920 DEBUG [c.c.n.g.ControlNetworkGuru]
> (secstorage-1:ctx-f5e96f85) Released nic: NicProfile[2-1-null-null-null
> 2014-05-07 09:41:58,940 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl]
> (secstorage-1:ctx-f5e96f85) Releasing ip address for
> reservationId=f6cfd891-b4ce-426c-afa1-bbf055db8a04, instance=3
> 2014-05-07 09:41:58,941 DEBUG [c.c.n.g.PodBasedNetworkGuru]
> (secstorage-1:ctx-f5e96f85) Released nic: NicProfile[3-1-null-null-null
> 2014-05-07 09:41:58,973 DEBUG [c.c.d.d.DataCenterIpAddressDaoImpl]
> (secstorage-1:ctx-f5e96f85) Releasing ip address for
> reservationId=f6cfd891-b4ce-426c-afa1-bbf055db8a04, instance=4
> 2014-05-07 09:41:58,975 DEBUG [c.c.n.g.PodBasedNetworkGuru]
> (secstorage-1:ctx-f5e96f85) Released nic: NicProfile[4-1-null-null-null
> 2014-05-07 09:41:58,983 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (secstorage-1:ctx-f5e96f85) Successfully released network resources for the
> vm VM[SecondaryStorageVm|s-1-VM]
> 2014-05-07 09:41:58,983 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (secstorage-1:ctx-f5e96f85) Successfully cleanued up resources for the vm
> VM[SecondaryStorageVm|s-1-VM] in Starting state
> 2014-05-07 09:41:58,995 DEBUG [c.c.c.CapacityManagerImpl]
> (secstorage-1:ctx-f5e96f85) VM state transitted from :Starting to Stopped
> with event: OperationFailedvm's original host id: null new host id: null
> host id before state transition: 2
> 2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
> (secstorage-1:ctx-f5e96f85) Hosts's actual total CPU: 13568 and CPU after
> applying overprovisioning: 13568
> 2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
> (secstorage-1:ctx-f5e96f85) Hosts's actual total RAM: 31580478720 and RAM
> after applying overprovisioning: 31580479488
> 2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
> (secstorage-1:ctx-f5e96f85) release cpu from host: 2, old used:
> 500,reserved: 0, actual total: 13568, total with overprovisioning: 13568;
> new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse
> 2014-05-07 09:41:59,006 DEBUG [c.c.c.CapacityManagerImpl]
> (secstorage-1:ctx-f5e96f85) release mem from host: 2, old used:
> 536870912,reserved: 0, total: 31580479488; new used: 0,reserved:0;
> movedfromreserved: false,moveToReserveredfalse
> 2014-05-07 09:41:59,011 WARN  [c.c.s.s.SecondaryStorageManagerImpl]
> (secstorage-1:ctx-f5e96f85) Exception while trying to start secondary
> storage vm
> com.cloud.exception.AgentUnavailableException: Resource [Host:2] is
> unreachable: Host 2: Unable to start instance due to null
>
>
>
> On Wed, May 7, 2014 at 12:03 AM, Daan Hoogland <daan.hoogl...@gmail.com>wrote:
>
>> If I understand your description it seems correct. Can you start
>> cloudstack and do the system vms get started?
>>
>> On Tue, May 6, 2014 at 6:30 PM, Anton Rubets <plejik....@gmail.com>
>> wrote:
>> > Okay
>> > Lets begin from start, if you can help me, because i cant google it =(
>> > Now i am trying to understand advanced network installation on
>> Xenserver.
>> > I have 2 NIC, one of the will use as management and storage traffic.
>> Second
>> > for public and guest traffic. But i cant understand/find in google/
>> find in
>> > documentation  how to configure guest traffic on Xenserver.
>> > I don't anything at NIC except the label cloud-mgmt . It works and even
>> > storage traffic created (I use local storage, so CS will created it by
>> > himself and i see that in log file).
>> > So it clear for me, but on the Second network i have no idea how to do
>> it
>> > right.
>> > If i understand it , in CS Advanced Network I moved  public and guest
>> > traffic type on Second NIC (Physical network name). Then assign label
>> for
>> > public and guest network as cloud-public, after add public network
>> > ip/netmask and assign it as Vlan 42. Add vlan for guest network
>> 1000-1500.
>> > So i have netx configuration
>> > XS 6.2
>> >  xe network-list
>> > uuid ( RO)                : 0af6214f-61eb-f041-1979-4998a51c0930
>> >           name-label ( RW): cloud-public
>> >     name-description ( RW):
>> >               bridge ( RO): xenbr1
>> >
>> >
>> > uuid ( RO)                : 9faf1d2b-50eb-79e7-9c5a-20616738f6c8
>> >           name-label ( RW): Host internal management network
>> >     name-description ( RW): Network on which guests will be assigned a
>> > private link-local IP address which can be used to talk XenAPI
>> >               bridge ( RO): xenapi
>> >
>> >
>> > uuid ( RO)                : 2502b2fd-f385-05d7-cedf-58fea3a86de8
>> >           name-label ( RW): cloud-mgmt
>> >     name-description ( RW):
>> >               bridge ( RO): xenbr0
>> > On CS4.3
>> > cloud-mgmt -> management traffic
>> >                       storage traffic
>> > cloud-public -> public traffic (Vlan: 42)
>> >                        guest traffic (Vlans 1000-1500)
>> >
>> > So there a question:
>> > This is right configuration or i need to change the XS network config (
>> for
>> > example add guest network as internal )?
>> > This is right configuration on CS4.3?
>> > Or what i need to change on this config?
>> >
>> > Best regard
>> > Anton Rubets
>> >
>> >
>> >
>> >
>> > On Mon, May 5, 2014 at 9:08 PM, Daan Hoogland <daan.hoogl...@gmail.com
>> >wrote:
>> >
>> >> i have no idea what you mean Anton.
>> >> Can you write out a way of reproducing on a clean installation?
>> >> preferably in some scripting language.
>> >>
>> >> On Mon, May 5, 2014 at 6:39 PM, Anton Rubets <plejik....@gmail.com>
>> wrote:
>> >> > Hi
>> >> > I have some strange in installation. I found that storage traffic
>> created
>> >> > only when i added host that sec storage and after that enable the
>> zone by
>> >> > hands
>> >> >
>> >> >
>> >> > On Mon, May 5, 2014 at 7:00 PM, Daan Hoogland <
>> daan.hoogl...@gmail.com
>> >> >wrote:
>> >> >
>> >> >> what table are you referring, Anton?
>> >> >>
>> >> >> there are several in the system, most importantly networks and
>> >> >> network_offerings but also firewall_rule and vpc_acl_item.
>> >> >>
>> >> >> On Tue, Apr 29, 2014 at 9:43 AM, Anton Rubets <plejik....@gmail.com
>> >
>> >> >> wrote:
>> >> >> > Hi
>> >> >> > I have old CS4.1 system, but now setup new and have some trouble;
>> >> >> > Now i have check the cloud database traffic type and see that on
>> old
>> >> >> system
>> >> >> > Storage traffic_type present, but i don`t add it myself
>> (automatic i
>> >> >> > think), but in new CS4.3 this traffic_type don`t added, so can
>> someone
>> >> >> look
>> >> >> > at their DB (i use local storage) and show it if your CS working
>> well?
>> >> >> > Thanks
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Daan
>> >> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Daan
>> >>
>>
>>
>>
>> --
>> Daan
>>
>
>

Reply via email to