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|fbsdtestlocal]Scope=interface
com.cloud.dc.DataCenter; id=1
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro