Hello Fred,

Have you define new service offerings that use local storage. Defaults are
configured to use shared storage.

Le mardi 1 avril 2014, Fred Newtz <fbne...@gmail.com> a écrit :

> Hello,
>
> I have finally gotten past the networking hurdle and when I am attempting
> to provision my first VM instance I am getting the following error
> messages:
>
> 2014-04-01 11:11:17,681 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Checking suitable pools for volume (Id, Type): (3,ROOT)
> 2014-04-01 11:11:17,681 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) We need
> to allocate new storagepool for this volume
> 2014-04-01 11:11:17,682 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) Calling
> StoragePoolAllocators to find suitable pools
> 2014-04-01 11:11:17,682 DEBUG [storage.allocator.LocalStoragePoolAllocator]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> LocalStoragePoolAllocator trying to find storage pool to fit the vm
> 2014-04-01 11:11:17,684 DEBUG
> [storage.allocator.AbstractStoragePoolAllocator] (Job-Executor-13:job-13 =
> [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) Checking if storage pool is
> suitable, name: null ,poolId: 1
> 2014-04-01 11:11:17,686 DEBUG [cloud.storage.StorageManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Checking pool 1 for storage, totalSize: 52844687360, usedBytes: 2048802816,
> usedPct: 0.03877027035930221, disable threshold: 0.85
> 2014-04-01 11:11:17,690 DEBUG [cloud.storage.StorageManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Checking pool: 1 for volume allocation [Vol[3|vm=3|ROOT]], maxSize :
> 52844687360, totalAllocatedSize : 0, askingSize : 107374182400, allocated
> disable threshold: 0.85
> 2014-04-01 11:11:17,690 DEBUG [cloud.storage.StorageManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Insufficient un-allocated capacity on: 1 for volume allocation:
> [Vol[3|vm=3|ROOT]] since its allocated percentage: 2.0318822527706972 has
> crossed the allocated pool.storage.allocated.capacity.disablethreshold:
> 0.85, skipping this pool
> 2014-04-01 11:11:17,691 DEBUG [storage.allocator.LocalStoragePoolAllocator]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> LocalStoragePoolAllocator returning 0 suitable storage pools
> 2014-04-01 11:11:17,691 DEBUG
> [storage.allocator.ClusterScopeStoragePoolAllocator]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> ClusterScopeStoragePoolAllocator looking for storage pool
> 2014-04-01 11:11:17,691 DEBUG
> [storage.allocator.ZoneWideStoragePoolAllocator] (Job-Executor-13:job-13 =
> [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) ZoneWideStoragePoolAllocator to
> find storage pool
> 2014-04-01 11:11:17,691 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) No
> suitable pools found for volume: Vol[3|vm=3|ROOT] under cluster: 1
> 2014-04-01 11:11:17,691 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) No
> suitable pools found
> 2014-04-01 11:11:17,691 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) No
> suitable storagePools found under this Cluster: 1
> 2014-04-01 11:11:17,694 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) Could
> not find suitable Deployment Destination for this VM under any clusters,
> returning.
> 2014-04-01 11:11:17,694 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Searching all possible resources under this Zone: 1
> 2014-04-01 11:11:17,695 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) Listing
> clusters in order of aggregate capacity, that have (atleast one host with)
> enough CPU and RAM capacity under this Zone: 1
> 2014-04-01 11:11:17,696 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Removing from the clusterId list these clusters from avoid set: [1]
> 2014-04-01 11:11:17,698 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) No
> clusters found after removing disabled clusters and clusters in avoid list,
> returning.
> 2014-04-01 11:11:17,700 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Destroying vm VM[User|QBSVR] as it failed to create on Host with Id:null
> 2014-04-01 11:11:17,802 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) VM
> state transitted from :Stopped to Error with event:
> OperationFailedToErrorvm's original host id: null new host id: null host id
> before state transition: null
> 2014-04-01 11:11:17,902 WARN  [apache.cloudstack.alerts]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null //
> message:: Failed to deploy Vm with Id: 3, on Host with Id: null
> 2014-04-01 11:11:18,178 INFO  [user.vm.DeployVMCmd] (Job-Executor-13:job-13
> = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|QBSVR]Scope=interface com.cloud.dc.DataCenter; id=1
> 2014-04-01 11:11:18,179 INFO  [user.vm.DeployVMCmd] (Job-Executor-13:job-13
> = [ da851970-f72b-417f-8f28-9d225d37f0d0 ]) Unable to create a deployment
> for VM[User|QBSVR]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|QBSVR]Scope=interface com.cloud.dc.DataCenter; id=1
>         at
>
> org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:209)
>         at
>
> org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:198)
>         at
>
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3439)
>         at
>
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3000)
>         at
>
> com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2986)
>         at
>
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at
>
> org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:701)
> 2014-04-01 11:11:18,180 DEBUG [cloud.async.AsyncJobManagerImpl]
> (Job-Executor-13:job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ])
> Complete async job-13 = [ da851970-f72b-417f-8f28-9d225d37f0d0 ],
> jobStatus: 2, resultCode: 530, result: Error Code: 533 Error text: Unable
> to create a deployment for VM[User|QBSVR]
>
>
> I am using KVM for the host and it is using Local Storage.  I have 760 gb
> of storage space available on the KVM host.
>
> virsh # pool-info 659a7b0c-cdd6-4ed0-a7c4-d213a238fe45
> Name:           659a7b0c-cdd6-4ed0-a7c4-d213a238fe45
> UUID:           659a7b0c-cdd6-4ed0-a7c4-d213a238fe45
> State:          running
> Persistent:     no
> Autostart:      no
> Capacity:       49.22 GiB
> Allocation:     1.92 GiB
> Available:      47.30 GiB
>
> How can I grow this storage pool?  Is there some settings I can set that
> will determine how much storage is available or provisioned?
>
> Thanks,
>
> Fred
>


-- 

Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect
514-447-3456, 1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_

Reply via email to