Can I just increase the size of the storage pool by editing the XML file on
the host?



On Tue, Apr 1, 2014 at 8:20 AM, Pierre-Luc Dion <pd...@cloudops.com> wrote:

> I'm not experienced with KVM, and I'm also not sure if the Primary Storage
> is under LVM. But if it is, you could resize the primary storage using LVM?
> If you resize the Primary storage you should not have anything to do in
> CloudStack, it will update is available resources automatically, altough,
> you might need to have the hypervisor config updated.
>
>
>
>
> 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_
>
>
> On Tue, Apr 1, 2014 at 8:53 AM, Fred Newtz <fbne...@gmail.com> wrote:
>
> > Saksham,
> >
> > The volume is 100gb.  I need the volume to be that size.  The local
> storage
> > pool is definitely only 50gb.  How can I expand or create a second
> primary
> > storage pool for this new instance to use?
> >
> >
> > Pierre-Luc,
> >
> > I did create a new service offering and that is the one I am using.
> > Storage Type local is what the Details of the service offering state.
> >
> >
> > Any suggestions on how to specify the max size of the local Primary
> Storage
> > pool?  Is there a configuration setting that dictates the size of the
> pool
> > on creation?  I have dug through all of the Global Settings and do not
> see
> > anything and I don't see any non-global settings that are available for
> the
> > storage pool itself.
> >
> > Thanks,
> >
> > Fred
> >
> >
> > On Tue, Apr 1, 2014 at 7:42 AM, Pierre-Luc Dion <pd...@cloudops.com>
> > wrote:
> >
> > > 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_
> > >
> >
> >
> >
> > --
> >
> > Zobotek, LLC
> > 7941 Katy Freeway #256
> > Houston, TX 77024
> >
> > 281-216-0488 - Main Number
> >
> > http://www.zobotek.com
> > http://www.stonemountainhosting.com
> >
>



-- 

Zobotek, LLC
7941 Katy Freeway #256
Houston, TX 77024

281-216-0488 - Main Number

http://www.zobotek.com
http://www.stonemountainhosting.com

Reply via email to