incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Martin <jmar...@basho.com>
Subject Re: devcloud and com.cloud.exception.InsufficientServerCapacityException
Date Sun, 30 Sep 2012 15:22:25 GMT
Thanks,

It was as Sebastien pointed out an error in my devcloud.cfg file.

he storage mount point are missing a :

it should be "url": "nfs://10.0.2.15:/opt/storage/secondary"

Now on to another problem which I'll send a new message :) .

James

On Sat, Sep 29, 2012 at 1:22 PM, Kelceydamage@bbits <kelcey@bbits.ca> wrote:
> Hi please try this
>
> Disable local storage, and either specify your local drive as a shared mount point, or
use NFS to mount to yourself.
>
> Thanks
>
> Local storage is not of the correct type to launch system vm, most likely cause being
miss-reporting as 99% full/alert state.
>
> Sent from my iPhone
>
> On Sep 29, 2012, at 8:21 AM, James Martin <jmartin@basho.com> wrote:
>
>> Hi folks, thanks to Sebastien's great help last night, we made a lot
>> of progress in using marvin  in my devcloud / vagrant setup (I feel
>> like I'm very close to having a new way to launch a devcloud
>> environment).
>>
>>  python -m marvin.deployDataCenter -i devcloud.cfg  (attached) runs
>> just fine, and everything appears to be configured and running except
>> for the System VMs.  The problem I'm getting write now seems to be
>> here:
>>
>>
>> 012-09-29 07:52:49,132 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) Looking for hosts in dc: 1
>> pod:1  cluster:1
>> 2012-09-29 07:52:49,134 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) FirstFitAllocator has 1
>> hosts to check for allocation: [Host[-1-Routing]]
>> 2012-09-29 07:52:49,137 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) Found 1 hosts for allocation
>> after prioritization: [Host[-1-Routing]]
>> 2012-09-29 07:52:49,138 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) Looking for speed=100Mhz,
>> Ram=100
>> 2012-09-29 07:52:49,140 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) Checking if host: 1 has
>> enough capacity for requested CPU: 100 and requested RAM: 104857600 ,
>> cpuOverprovisioningFactor: 10.0
>> 2012-09-29 07:52:49,145 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) Hosts's actual total CPU:
>> 2473 and CPU after applying overprovisioning: 24730
>> 2012-09-29 07:52:49,146 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) Free CPU: 24730 , Requested
>> CPU: 100
>> 2012-09-29 07:52:49,147 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) Free RAM: 803621952 ,
>> Requested RAM: 104857600
>> 2012-09-29 07:52:49,147 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) Host has enough CPU and RAM
>> available
>> 2012-09-29 07:52:49,148 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) STATS: Can alloc CPU from
>> host: 1, used: 0, reserved: 0, actual total: 2473, total with
>> overprovisioning: 24730; requested cpu:100,alloc_from_last_host?:false
>> ,considerReservedCapacity?: true
>> 2012-09-29 07:52:49,148 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:FirstFitRoutingAllocator) STATS: Can alloc MEM from
>> host: 1, used: 0, reserved: 0, total: 803621952; requested mem:
>> 104857600,alloc_from_last_host?:false ,considerReservedCapacity?: true
>> 2012-09-29 07:52:49,149 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) Found a suitable host,
>> adding to list: 1
>> 2012-09-29 07:52:49,149 DEBUG [allocator.impl.FirstFitAllocator]
>> (consoleproxy-1:FirstFitRoutingAllocator) Host Allocator returning 1
>> suitable hosts
>> 2012-09-29 07:52:49,151 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) Checking suitable pools for volume (Id, Type):
>> (2,ROOT)
>> 2012-09-29 07:52:49,152 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) We need to allocate new storagepool for this
>> volume
>> 2012-09-29 07:52:49,152 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) Calling StoragePoolAllocators to find suitable
>> pools
>> 2012-09-29 07:52:49,153 DEBUG
>> [storage.allocator.LocalStoragePoolAllocator] (consoleproxy-1:null)
>> LocalStoragePoolAllocator trying to find storage pool to fit the vm
>> 2012-09-29 07:52:49,154 DEBUG
>> [storage.allocator.FirstFitStoragePoolAllocator] (consoleproxy-1:null)
>> Looking for pools in dc: 1  pod:1  cluster:1
>> 2012-09-29 07:52:49,156 DEBUG
>> [storage.allocator.FirstFitStoragePoolAllocator] (consoleproxy-1:null)
>> FirstFitStoragePoolAllocator has 1 pools to check for allocation
>> 2012-09-29 07:52:49,156 DEBUG
>> [storage.allocator.AbstractStoragePoolAllocator] (consoleproxy-1:null)
>> Checking if storage pool is suitable, name: PS0 ,poolId: 200
>> 2012-09-29 07:52:49,157 DEBUG
>> [storage.allocator.AbstractStoragePoolAllocator] (consoleproxy-1:null)
>> Is localStorageAllocationNeeded? true
>> 2012-09-29 07:52:49,158 DEBUG
>> [storage.allocator.AbstractStoragePoolAllocator] (consoleproxy-1:null)
>> Is storage pool shared? true
>> 2012-09-29 07:52:49,159 DEBUG
>> [storage.allocator.AbstractStoragePoolAllocator] (consoleproxy-1:null)
>> StoragePool is not of correct type, skipping this pool
>> 2012-09-29 07:52:49,159 DEBUG
>> [storage.allocator.FirstFitStoragePoolAllocator] (consoleproxy-1:null)
>> FirstFitStoragePoolAllocator returning 0 suitable storage pools
>> 2012-09-29 07:52:49,160 DEBUG
>> [storage.allocator.LocalStoragePoolAllocator] (consoleproxy-1:null)
>> LocalStoragePoolAllocator returning 0 suitable storage pools
>> 2012-09-29 07:52:49,160 DEBUG
>> [storage.allocator.LocalStoragePoolAllocator] (consoleproxy-1:null)
>> Unable to find storage pool to fit the vm
>> 2012-09-29 07:52:49,160 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) No suitable pools found for volume:
>> Vol[2|vm=2|ROOT] under cluster: 1
>> 2012-09-29 07:52:49,161 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) No suitable pools found
>> 2012-09-29 07:52:49,161 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) No suitable storagePools found under this
>> Cluster: 1
>> 2012-09-29 07:52:49,162 DEBUG [cloud.deploy.FirstFitPlanner]
>> (consoleproxy-1:null) Could not find suitable Deployment Destination
>> for this VM under any clusters, returning.
>> 2012-09-29 07:52:49,174 DEBUG [cloud.capacity.CapacityManagerImpl]
>> (consoleproxy-1:null) 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-09-29 07:52:49,177 WARN
>> [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
>> Exception while trying to start console proxy
>> com.cloud.exception.InsufficientServerCapacityException: Unable to
>> create a deployment for VM[ConsoleProxy|v-2-TEST]Scope=interface
>> com.cloud.dc.DataCenter; id=1
>>    at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:734)
>>    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>>    at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
>>    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.startProxy(ConsoleProxyManagerImpl.java:624)
>>    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.allocCapacity(ConsoleProxyManagerImpl.java:1154)
>>    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:1961)
>>    at com.cloud.consoleproxy.ConsoleProxyManagerImpl.expandPool(ConsoleProxyManagerImpl.java:170)
>>    at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:113)
>>    at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
>>    at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83)
>>    at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
>>    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>>    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>>    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>>    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>    at java.lang.Thread.run(Thread.java:679)
>>
>>
>> I receive a very similar error for the Secondary Storage VM.
>>
>> The devcloud VM has been allocated 2GB of memory.  The following disk
>> is mounted:
>>
>>
>>
>> Filesystem                      Size  Used Avail Use% Mounted on
>> /dev/mapper/devcloud-root       4.2G  1.7G  2.4G  42% /
>> udev                            880M  4.0K  880M   1% /dev
>> tmpfs                           359M  336K  359M   1% /run
>> none                            5.0M     0  5.0M   0% /run/lock
>> none                            897M     0  897M   0% /run/shm
>> /dev/mapper/devcloud-data        16G  3.1G   12G  21% /opt
>> 10.0.2.15:/opt/storage/primary   16G  3.1G   12G  21%
>> /run/sr-mount/a6cfcdd9-f266-29da-fab4-54f5445a4b5d
>>
>>
>> the following xen pools are available:
>>
>>
>> root@devcloud:/opt/cloudstack/apache-tomcat-6.0.32# xe sr-list
>> uuid ( RO)                : 44898ee2-21c7-734c-6dea-93231132eeb2
>>          name-label ( RW): 44898ee2-21c7-734c-6dea-93231132eeb2
>>    name-description ( RW): Cloud Stack Local EXT Storage Pool for
>> 7bdfd624-7420-824c-33cf-fda064e39c17
>>                host ( RO): devcloudbase
>>                type ( RO): file
>>        content-type ( RO):
>>
>>
>> uuid ( RO)                : 3e3fd3cc-1b9c-3a83-8350-eb36b2840a90
>>          name-label ( RW): XenServer Tools
>>    name-description ( RW): XenServer Tools ISOs
>>                host ( RO): devcloudbase
>>                type ( RO): iso
>>        content-type ( RO): iso
>>
>>
>> uuid ( RO)                : a6cfcdd9-f266-29da-fab4-54f5445a4b5d
>>          name-label ( RW): 324883bc-4e5f-3ba8-b913-5e7a5205d3db
>>    name-description ( RW): 200
>>                host ( RO): devcloudbase
>>                type ( RO): nfs
>>        content-type ( RO): user
>>
>> Thanks,
>>
>> James

Mime
View raw message