cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Cirauqui <mcirau...@gmail.com>
Subject Re: PREsetup Storage type wrong, VM create fails via API
Date Sun, 09 Dec 2012 10:32:04 GMT
2012-12-05 12:14:05,459 DEBUG
[storage.allocator.AbstractStoragePoolAllocator] (Job-Executor-156:job-258)
Is storage pool shared? true

Is this your storage pool? If so cloudstack already knows it is shared.
Perhaps your service offering wants to use local storage instead?

th


On Wed, Dec 5, 2012 at 7:25 PM, Nik Martin <nik.martin@nfinausa.com> wrote:

> If I add primary storage of type "PreSetup", cloudstack thinks this
> storage is local, when it is in fact shared storage. Is there a way to set
> this storage as shared?  I have a remote system that makes cloudstack API
> calls that request shared storage, and the call fails, with this error:
>
>
> 2012-12-05 12:14:05,456 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) Checking suitable pools for volume (Id, Type):
> (48,ROOT)
> 2012-12-05 12:14:05,456 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) We need to allocate new storagepool for this
> volume
> 2012-12-05 12:14:05,457 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) Calling StoragePoolAllocators to find suitable
> pools
> 2012-12-05 12:14:05,458 DEBUG [storage.allocator.**LocalStoragePoolAllocator]
> (Job-Executor-156:job-258) LocalStoragePoolAllocator trying to find storage
> pool to fit the vm
> 2012-12-05 12:14:05,458 DEBUG [storage.allocator.**FirstFitStoragePoolAllocator]
> (Job-Executor-156:job-258) Looking for pools in dc: 1  pod:1  cluster:1
> having tags:[HD]
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**FirstFitStoragePoolAllocator]
> (Job-Executor-156:job-258) FirstFitStoragePoolAllocator has 2 pools to
> check for allocation
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Checking if storage pool is suitable, name:
> SAN01-N0 ,poolId: 200
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Is localStorageAllocationNeeded? true
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Is storage pool shared? true
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) StoragePool is not of correct type, skipping
> this pool
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Checking if storage pool is suitable, name:
> SAN01-N1 ,poolId: 201
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Is localStorageAllocationNeeded? true
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) Is storage pool shared? true
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**AbstractStoragePoolAllocator]
> (Job-Executor-156:job-258) StoragePool is not of correct type, skipping
> this pool
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**FirstFitStoragePoolAllocator]
> (Job-Executor-156:job-258) FirstFitStoragePoolAllocator returning 0
> suitable storage pools
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**LocalStoragePoolAllocator]
> (Job-Executor-156:job-258) LocalStoragePoolAllocator returning 0 suitable
> storage pools
> 2012-12-05 12:14:05,459 DEBUG [storage.allocator.**LocalStoragePoolAllocator]
> (Job-Executor-156:job-258) Unable to find storage pool to fit the vm
> 2012-12-05 12:14:05,459 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) No suitable pools found for volume:
> Vol[48|vm=38|ROOT] under cluster: 1
> 2012-12-05 12:14:05,459 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) No suitable pools found
> 2012-12-05 12:14:05,459 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) No suitable storagePools found under this
> Cluster: 1
> 2012-12-05 12:14:05,459 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-156:job-258) Could not find suitable Deployment Destination
> for this VM under any clusters, returning.
> 2012-12-05 12:14:05,465 DEBUG [cloud.capacity.**CapacityManagerImpl]
> (Job-Executor-156:job-258) VM state transitted from :Starting to Stopped
> with event: OperationFailedvm's original host id: null new host id: null
> host id before state transition: null
> 2012-12-05 12:14:05,476 DEBUG [cloud.capacity.**CapacityManagerImpl]
> (Job-Executor-156:job-258) 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
> 2012-12-05 12:14:05,557 INFO  [api.commands.DeployVMCmd]
> (Job-Executor-156:job-258) com.cloud.exception.**
> InsufficientServerCapacityExce**ption: Unable to create a deployment for
> VM[User|i-9-38-VM]Scope=**interface com.cloud.dc.DataCenter; id=1
> 2012-12-05 12:14:05,560 WARN  [cloud.api.ApiDispatcher]
> (Job-Executor-156:job-258) class com.cloud.api.**ServerApiException :
> Unable to create a deployment for VM[User|i-9-38-VM]
> 2012-12-05 12:14:05,560 DEBUG [cloud.async.**AsyncJobManagerImpl]
> (Job-Executor-156:job-258) Complete async job-258, jobStatus: 2,
> resultCode: 530, result: com.cloud.api.response.**
> ExceptionResponse@5cdc3b23
> 2012-12-05 12:14:06,423 DEBUG [cloud.async.**AsyncJobManagerImpl]
> (catalina-exec-2:null) Async job-258 completed
> --
>
> Regards,
>
> Nik
>
> Nik Martin
> nfina Technologies, Inc.
> +1.251.243.0043 x1003
> http://nfinausa.com
> Relentless Reliability
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message