Re: Can't launch instance on local storage from ISO

2013-12-13 Thread Nux!

On 13.12.2013 05:48, BJO ERN wrote:
It appears it can't find a suitable storage for the root disk on host 
id 5

or 6
How do your system offering look like (storage tags?) and how much 
local

storage is available ?

No suitable pools found for volume: Vol[40|vm=33|ROOT] under cluster: 
1


Thanks Bjoern, it may be that I messed up the tags since I had plenty 
of resources.
I have broke down that setup since, but I'll need to test local storage 
again and I'll see if I hit this issue again.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Can't launch instance on local storage from ISO

2013-12-12 Thread BJO ERN
It appears it can't find a suitable storage for the root disk on host id 5
or 6
How do your system offering look like (storage tags?) and how much local
storage is available ?

No suitable pools found for volume: Vol[40|vm=33|ROOT] under cluster: 1




On Mon, Dec 9, 2013 at 1:42 AM, Nux!  wrote:

> Hi,
>
> I'm trying to launch an instance from a FreeBSD ISO on local primary
> storage and it fails all the time. It works fine if I launch it with shared
> primary storage.
> The logs seem to hint to capacity issues, but this is hardly the case,
> there is plenty of room on both my hypervisors..
> (more logs here http://tmp.nux.ro/jkR-management-server.log )
>
> 2013-12-09 09:31:49,520 DEBUG [allocator.impl.FirstFitAllocator]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]
> FirstFitRoutingAllocator) Host Allocator returning 2 suitable hosts
> 2013-12-09 09:31:49,522 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Checking suitable pools for volume (Id, Type): (40,ROOT)
> 2013-12-09 09:31:49,522 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) We
> need to allocate new storagepool for this volume
> 2013-12-09 09:31:49,522 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Calling StoragePoolAllocators to find suitable pools
> 2013-12-09 09:31:49,523 DEBUG [storage.allocator.LocalStoragePoolAllocator]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> LocalStoragePoolAllocator trying to find storage pool to fit the vm
> 2013-12-09 09:31:49,526 DEBUG [storage.allocator.LocalStoragePoolAllocator]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> LocalStoragePoolAllocator returning 0 suitable storage pools
> 2013-12-09 09:31:49,526 DEBUG [storage.allocator.
> ClusterScopeStoragePoolAllocator] (Job-Executor-1:job-96 = [
> 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) ClusterScopeStoragePoolAllocator
> looking for storage pool
> 2013-12-09 09:31:49,526 DEBUG [storage.allocator.ZoneWideStoragePoolAllocator]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> ZoneWideStoragePoolAllocator to find storage pool
> 2013-12-09 09:31:49,526 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No
> suitable pools found for volume: Vol[40|vm=33|ROOT] under cluster: 1
> 2013-12-09 09:31:49,526 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No
> suitable pools found
> 2013-12-09 09:31:49,526 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No
> suitable storagePools found under this Cluster: 1
> 2013-12-09 09:31:49,532 DEBUG [cloud.deploy.DeploymentPlanningManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) Could
> not find suitable Deployment Destination for this VM under any clusters,
> returning.
> 2013-12-09 09:31:49,532 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Searching all possible resources under this Zone: 1
> 2013-12-09 09:31:49,533 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Listing clusters in order of aggregate capacity, that have (atleast one
> host with) enough CPU and RAM capacity under this Zone: 1
> 2013-12-09 09:31:49,535 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Removing from the clusterId list these clusters from avoid set: [1]
> 2013-12-09 09:31:49,536 DEBUG [cloud.deploy.FirstFitPlanner]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No
> clusters found after removing disabled clusters and clusters in avoid list,
> returning.
> 2013-12-09 09:31:49,568 DEBUG [cloud.vm.UserVmManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
> Destroying vm VM[User|fbsdtestlocal] as it failed to create on Host with
> Id:null
> 2013-12-09 09:31:49,580 DEBUG [cloud.capacity.CapacityManagerImpl]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 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
> 2013-12-09 09:31:49,595 WARN  [apache.cloudstack.alerts]
> (Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])
>  alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null //
> message:: Failed to deploy Vm with Id: 33, on Host with Id: null
> 2013-12-09 09:31:49,622 INFO  [user.vm.DeployVMCmd] (Job-Executor-1:job-96
> = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) com.cloud.exception.
> InsufficientServerCapacityE

Can't launch instance on local storage from ISO

2013-12-09 Thread Nux!

Hi,

I'm trying to launch an instance from a FreeBSD ISO on local primary 
storage and it fails all the time. It works fine if I launch it with 
shared primary storage.
The logs seem to hint to capacity issues, but this is hardly the case, 
there is plenty of room on both my hypervisors..

(more logs here http://tmp.nux.ro/jkR-management-server.log )

2013-12-09 09:31:49,520 DEBUG [allocator.impl.FirstFitAllocator] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ] 
FirstFitRoutingAllocator) Host Allocator returning 2 suitable hosts
2013-12-09 09:31:49,522 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) Checking suitable pools for 
volume (Id, Type): (40,ROOT)
2013-12-09 09:31:49,522 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) We need to allocate new 
storagepool for this volume
2013-12-09 09:31:49,522 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) Calling StoragePoolAllocators to 
find suitable pools
2013-12-09 09:31:49,523 DEBUG 
[storage.allocator.LocalStoragePoolAllocator] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) LocalStoragePoolAllocator trying 
to find storage pool to fit the vm
2013-12-09 09:31:49,526 DEBUG 
[storage.allocator.LocalStoragePoolAllocator] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) LocalStoragePoolAllocator 
returning 0 suitable storage pools
2013-12-09 09:31:49,526 DEBUG 
[storage.allocator.ClusterScopeStoragePoolAllocator] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
ClusterScopeStoragePoolAllocator looking for storage pool
2013-12-09 09:31:49,526 DEBUG 
[storage.allocator.ZoneWideStoragePoolAllocator] (Job-Executor-1:job-96 
= [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) ZoneWideStoragePoolAllocator 
to find storage pool
2013-12-09 09:31:49,526 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No suitable pools found for 
volume: Vol[40|vm=33|ROOT] under cluster: 1
2013-12-09 09:31:49,526 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No suitable pools found
2013-12-09 09:31:49,526 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No suitable storagePools found 
under this Cluster: 1
2013-12-09 09:31:49,532 DEBUG 
[cloud.deploy.DeploymentPlanningManagerImpl] (Job-Executor-1:job-96 = [ 
9051a50a-53ff-4752-b079-5ba48a03e0ef ]) Could not find suitable 
Deployment Destination for this VM under any clusters, returning.
2013-12-09 09:31:49,532 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
Searching all possible resources under this Zone: 1
2013-12-09 09:31:49,533 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
Listing clusters in order of aggregate capacity, that have (atleast one 
host with) enough CPU and RAM capacity under this Zone: 1
2013-12-09 09:31:49,535 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
Removing from the clusterId list these clusters from avoid set: [1]
2013-12-09 09:31:49,536 DEBUG [cloud.deploy.FirstFitPlanner] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) No 
clusters found after removing disabled clusters and clusters in avoid 
list, returning.
2013-12-09 09:31:49,568 DEBUG [cloud.vm.UserVmManagerImpl] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
Destroying vm VM[User|fbsdtestlocal] as it failed to create on Host with 
Id:null
2013-12-09 09:31:49,580 DEBUG [cloud.capacity.CapacityManagerImpl] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 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
2013-12-09 09:31:49,595 WARN  [apache.cloudstack.alerts] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ])  
alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null // 
message:: Failed to deploy Vm with Id: 33, on Host with Id: null
2013-12-09 09:31:49,622 INFO  [user.vm.DeployVMCmd] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|fbsdtestlocal]Scope=interface 
com.cloud.dc.DataCenter; id=1
2013-12-09 09:31:49,623 INFO  [user.vm.DeployVMCmd] 
(Job-Executor-1:job-96 = [ 9051a50a-53ff-4752-b079-5ba48a03e0ef ]) 
Unable to create a deployment for VM[User|fbsdtestlocal]
com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|