You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Alex Heneveld <al...@cloudsoftcorp.com> on 2013/02/22 04:27:02 UTC

network creation limit in VPC ?

hi folks,

i've just encountered a strange error around creating networks in a 
VPC.  it looks like a bug but i thought i'd post to the list first. i've 
got a workaround so it's not serious but thought you'd want to know.

i've been creating a deleting tiers in the vpc all night.  then a few 
minutes ago i started getting a 534 error -- "Maximum number of 
resources of type 'network' for account name=cloudsoft in domain id=8 
has been exceeded.".  looking in the gui i have just a few networks -- 
several fewer than i was running earlier without issue. the deleted ones 
have been expunged.  the vpc had one network when i first got the error, 
but even after deleting that network, trying to create a new one gave 
the same error.

the problem was repeatable until i deleted the empty vpc and created a 
new vpc, at which point new tiers are happily creating again.

so it looks like there is some network count attached to vpc's which is 
not being decremented when a tier is deleted?
does this make sense?  is this known?

--a


ERROR:

GET 
http://cloudplatform.zion.bt.co.uk:8080/client/api/?response=json&gateway=10.95.2.1&displayText=brooklyn-EmQxi4vG%20tier%20in%20VPC%2059eed69f-420f-45e8-8789-9976a2808e1a&zoneid=83e8c35f-95e8-425d-8dd6-eb6156f5b410&networkofferingid=5498a46e-4a76-441c-9bdc-7c7765017bee&name=brooklyn-EmQxi4vG&command=createNetwork&vpcid=59eed69f-420f-45e8-8789-9976a2808e1a&apiKey=XZ4<omitted>1XJfA&netmask=255.255.255.0&signature=u%2Bp<omitted>5UtuM4%3D 
HTTP/1.1 failed with response: HTTP/1.1 534 null; content: [{ 
"createnetworkresponse" : 
{"uuidList":[],"errorcode":534,"errortext":"Maximum number of resources 
of type 'network' for account name=cloudsoft in domain id=8 has been 
exceeded."} }]

END

Re: network creation limit in VPC ?

Posted by Ahmad Emneina <ae...@gmail.com>.
after deleting a network you still have to wait for it to be garbage
collected. to speed it up you might have to modify the following global
setting:
network.gc.interval
network.gc.wait


On Fri, Feb 22, 2013 at 7:32 AM, Chip Childers <ch...@sungard.com>wrote:

> On Fri, Feb 22, 2013 at 03:27:02AM +0000, Alex Heneveld wrote:
> >
> > hi folks,
> >
> > i've just encountered a strange error around creating networks in a
> > VPC.  it looks like a bug but i thought i'd post to the list first.
> > i've got a workaround so it's not serious but thought you'd want to
> > know.
>
> Can you please open a bug for this?  Since you can repeat it, I'd assume
> that it's a real issue.
>
> >
> > i've been creating a deleting tiers in the vpc all night.  then a
> > few minutes ago i started getting a 534 error -- "Maximum number of
> > resources of type 'network' for account name=cloudsoft in domain
> > id=8 has been exceeded.".  looking in the gui i have just a few
> > networks -- several fewer than i was running earlier without issue.
> > the deleted ones have been expunged.  the vpc had one network when i
> > first got the error, but even after deleting that network, trying to
> > create a new one gave the same error.
> >
> > the problem was repeatable until i deleted the empty vpc and created
> > a new vpc, at which point new tiers are happily creating again.
> >
> > so it looks like there is some network count attached to vpc's which
> > is not being decremented when a tier is deleted?
> > does this make sense?  is this known?
> >
> > --a
> >
> >
> > ERROR:
> >
> > GET
> http://cloudplatform.zion.bt.co.uk:8080/client/api/?response=json&gateway=10.95.2.1&displayText=brooklyn-EmQxi4vG%20tier%20in%20VPC%2059eed69f-420f-45e8-8789-9976a2808e1a&zoneid=83e8c35f-95e8-425d-8dd6-eb6156f5b410&networkofferingid=5498a46e-4a76-441c-9bdc-7c7765017bee&name=brooklyn-EmQxi4vG&command=createNetwork&vpcid=59eed69f-420f-45e8-8789-9976a2808e1a&apiKey=XZ4
> <omitted>1XJfA&netmask=255.255.255.0&signature=u%2Bp<omitted>5UtuM4%3D
> > HTTP/1.1 failed with response: HTTP/1.1 534 null; content: [{
> > "createnetworkresponse" :
> > {"uuidList":[],"errorcode":534,"errortext":"Maximum number of
> > resources of type 'network' for account name=cloudsoft in domain
> > id=8 has been exceeded."} }]
> >
> > END
> >
>

Re: network creation limit in VPC ?

Posted by Chip Childers <ch...@sungard.com>.
On Fri, Feb 22, 2013 at 03:27:02AM +0000, Alex Heneveld wrote:
> 
> hi folks,
> 
> i've just encountered a strange error around creating networks in a
> VPC.  it looks like a bug but i thought i'd post to the list first.
> i've got a workaround so it's not serious but thought you'd want to
> know.

Can you please open a bug for this?  Since you can repeat it, I'd assume
that it's a real issue.

> 
> i've been creating a deleting tiers in the vpc all night.  then a
> few minutes ago i started getting a 534 error -- "Maximum number of
> resources of type 'network' for account name=cloudsoft in domain
> id=8 has been exceeded.".  looking in the gui i have just a few
> networks -- several fewer than i was running earlier without issue.
> the deleted ones have been expunged.  the vpc had one network when i
> first got the error, but even after deleting that network, trying to
> create a new one gave the same error.
> 
> the problem was repeatable until i deleted the empty vpc and created
> a new vpc, at which point new tiers are happily creating again.
> 
> so it looks like there is some network count attached to vpc's which
> is not being decremented when a tier is deleted?
> does this make sense?  is this known?
> 
> --a
> 
> 
> ERROR:
> 
> GET http://cloudplatform.zion.bt.co.uk:8080/client/api/?response=json&gateway=10.95.2.1&displayText=brooklyn-EmQxi4vG%20tier%20in%20VPC%2059eed69f-420f-45e8-8789-9976a2808e1a&zoneid=83e8c35f-95e8-425d-8dd6-eb6156f5b410&networkofferingid=5498a46e-4a76-441c-9bdc-7c7765017bee&name=brooklyn-EmQxi4vG&command=createNetwork&vpcid=59eed69f-420f-45e8-8789-9976a2808e1a&apiKey=XZ4<omitted>1XJfA&netmask=255.255.255.0&signature=u%2Bp<omitted>5UtuM4%3D
> HTTP/1.1 failed with response: HTTP/1.1 534 null; content: [{
> "createnetworkresponse" :
> {"uuidList":[],"errorcode":534,"errortext":"Maximum number of
> resources of type 'network' for account name=cloudsoft in domain
> id=8 has been exceeded."} }]
> 
> END
>