You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Abu Bashiri <ab...@gmail.com> on 2014/04/14 13:16:23 UTC

Cloudstack complains about storage space

Hey,

 

strange issue, i try to deploy an instance but it always fails with:

 

nsufficient un-allocated capacity on: 3 for volume allocation:
[Vol[204|vm=182|ROOT]] since its allocated percentage: 7627580.872342288 has
crossed the allocated pool.storage.alloca

 

the local storage has 400GB free and even the dashboard in CS is showing
just 23% consumed space. The value is a little bit strange. What can cause
this issue?

 

Thx!


RE: Cloudstack complains about storage space

Posted by Saksham Srivastava <sa...@citrix.com>.
Abu,
Here is a little calculation which may help you:
allocatedPercentage = (totalAllocatedSize + totalAskingSize) / (totalOverProvCapacity)

So the issue could be that the asking size of the volumes you are trying to provision is very high.

You can also approximate totalAllocatedSize calculation from the following (tables):
summation of all sizes of non destroyed volume (volumes.size)
summation of all (volumes.vm_snapshot_chain_size) for each volume on the pool
(template_spool_ref.template_size) for the templates on the pool

It will be good if you can provide more logs.

Thanks,
Saksham


-----Original Message-----
From: Abu Bashiri [mailto:abu.bashiri123@gmail.com] 
Sent: Monday, April 14, 2014 4:46 PM
To: users@cloudstack.apache.org
Subject: Cloudstack complains about storage space

Hey,

 

strange issue, i try to deploy an instance but it always fails with:

 

nsufficient un-allocated capacity on: 3 for volume allocation:
[Vol[204|vm=182|ROOT]] since its allocated percentage: 7627580.872342288 has crossed the allocated pool.storage.alloca

 

the local storage has 400GB free and even the dashboard in CS is showing just 23% consumed space. The value is a little bit strange. What can cause this issue?

 

Thx!


Re: AW: Cloudstack complains about storage space

Posted by Rafael Weingartner <ra...@gmail.com>.
could you please post your log here ?
It could just be a formatting issue when logging the value. What configs do
you have on the parameters that I talked about previously?


On Thu, Apr 17, 2014 at 1:34 PM, Abu Bashiri <ab...@gmail.com>wrote:

> But why an enhancement request? For me it looks like I run into a bug? The
> storage allocation is defiantly not 7627580.872342288 percentage...
>
> -----Ursprüngliche Nachricht-----
> Von: ilya musayev [mailto:ilya.mailing.lists@gmail.com]
> Gesendet: Donnerstag, 17. April 2014 17:21
> An: users@cloudstack.apache.org
> Betreff: Re: AW: Cloudstack complains about storage space
>
> Abu
>
> If this makes no sense - and i agree with you, perhaps you can help the
> project and open enhancement request.
>
> Thanks
> ilya
> On 4/17/14, 9:18 AM, Abu Bashiri wrote:
> > Thanks raphael,
> >
> > but i already know that. Again, for me the value make no sense:
> >
> > since its allocated percentage: 7627580.872342288 since its allocated
> > percentage: 7627580.872342288
> >
> > nsufficient un-allocated capacity on: 3 for volume allocation:
> > [Vol[204|vm=182|ROOT]] since its allocated percentage:
> > 7627580.872342288 has crossed the allocated pool.storage.alloca
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Rafael Weingartner [mailto:rafaelweingartner@gmail.com]
> > Gesendet: Montag, 14. April 2014 14:18
> > An: users@cloudstack.apache.org
> > Betreff: Re: Cloudstack complains about storage space
> >
> > Allocation is different from real storage usage.
> >
> > I would to two things:
> >
> > First of all, change you storage.overprovisioning.factor for storage
> allocation to a higher degree such as 5.
> >
> > Second of all, I would change
> > “pool.storage.allocated.capacity.disablethreshold” and
> “pool.storage.capacity.disablethreshold” to something like 90% or even 95%.
> >
> > Cs monitors those values and will just instantiate new VMs if the
> threasholds have not been crossed.
> >
>
>


-- 
Rafael Weingärtner

AW: AW: Cloudstack complains about storage space

Posted by Abu Bashiri <ab...@gmail.com>.
But why an enhancement request? For me it looks like I run into a bug? The storage allocation is defiantly not 7627580.872342288 percentage...

-----Ursprüngliche Nachricht-----
Von: ilya musayev [mailto:ilya.mailing.lists@gmail.com] 
Gesendet: Donnerstag, 17. April 2014 17:21
An: users@cloudstack.apache.org
Betreff: Re: AW: Cloudstack complains about storage space

Abu

If this makes no sense - and i agree with you, perhaps you can help the project and open enhancement request.

Thanks
ilya
On 4/17/14, 9:18 AM, Abu Bashiri wrote:
> Thanks raphael,
>
> but i already know that. Again, for me the value make no sense:
>
> since its allocated percentage: 7627580.872342288 since its allocated 
> percentage: 7627580.872342288
>
> nsufficient un-allocated capacity on: 3 for volume allocation: 
> [Vol[204|vm=182|ROOT]] since its allocated percentage: 
> 7627580.872342288 has crossed the allocated pool.storage.alloca
>
> -----Ursprüngliche Nachricht-----
> Von: Rafael Weingartner [mailto:rafaelweingartner@gmail.com]
> Gesendet: Montag, 14. April 2014 14:18
> An: users@cloudstack.apache.org
> Betreff: Re: Cloudstack complains about storage space
>
> Allocation is different from real storage usage.
>
> I would to two things:
>
> First of all, change you storage.overprovisioning.factor for storage allocation to a higher degree such as 5.
>
> Second of all, I would change
> “pool.storage.allocated.capacity.disablethreshold” and “pool.storage.capacity.disablethreshold” to something like 90% or even 95%.
>
> Cs monitors those values and will just instantiate new VMs if the threasholds have not been crossed.
>


Re: AW: Cloudstack complains about storage space

Posted by ilya musayev <il...@gmail.com>.
Abu

If this makes no sense - and i agree with you, perhaps you can help the 
project and open enhancement request.

Thanks
ilya
On 4/17/14, 9:18 AM, Abu Bashiri wrote:
> Thanks raphael,
>
> but i already know that. Again, for me the value make no sense:
>
> since its allocated percentage: 7627580.872342288
> since its allocated percentage: 7627580.872342288
>
> nsufficient un-allocated capacity on: 3 for volume allocation: [Vol[204|vm=182|ROOT]] since its allocated percentage: 7627580.872342288 has crossed the allocated pool.storage.alloca
>
> -----Ursprüngliche Nachricht-----
> Von: Rafael Weingartner [mailto:rafaelweingartner@gmail.com]
> Gesendet: Montag, 14. April 2014 14:18
> An: users@cloudstack.apache.org
> Betreff: Re: Cloudstack complains about storage space
>
> Allocation is different from real storage usage.
>
> I would to two things:
>
> First of all, change you storage.overprovisioning.factor for storage allocation to a higher degree such as 5.
>
> Second of all, I would change
> “pool.storage.allocated.capacity.disablethreshold” and “pool.storage.capacity.disablethreshold” to something like 90% or even 95%.
>
> Cs monitors those values and will just instantiate new VMs if the threasholds have not been crossed.
>


AW: Cloudstack complains about storage space

Posted by Abu Bashiri <ab...@gmail.com>.
Thanks raphael,

but i already know that. Again, for me the value make no sense:

since its allocated percentage: 7627580.872342288
since its allocated percentage: 7627580.872342288

nsufficient un-allocated capacity on: 3 for volume allocation: [Vol[204|vm=182|ROOT]] since its allocated percentage: 7627580.872342288 has crossed the allocated pool.storage.alloca

-----Ursprüngliche Nachricht-----
Von: Rafael Weingartner [mailto:rafaelweingartner@gmail.com] 
Gesendet: Montag, 14. April 2014 14:18
An: users@cloudstack.apache.org
Betreff: Re: Cloudstack complains about storage space

Allocation is different from real storage usage.

I would to two things:

First of all, change you storage.overprovisioning.factor for storage allocation to a higher degree such as 5.

Second of all, I would change
“pool.storage.allocated.capacity.disablethreshold” and “pool.storage.capacity.disablethreshold” to something like 90% or even 95%.

Cs monitors those values and will just instantiate new VMs if the threasholds have not been crossed.


Re: Cloudstack complains about storage space

Posted by Rafael Weingartner <ra...@gmail.com>.
Allocation is different from real storage usage.

I would to two things:

First of all, change you storage.overprovisioning.factor for storage
allocation to a higher degree such as 5.

Second of all, I would change
“pool.storage.allocated.capacity.disablethreshold” and
“pool.storage.capacity.disablethreshold” to something like 90% or even 95%.

Cs monitors those values and will just instantiate new VMs if the
threasholds have not been crossed.