[
https://issues.apache.org/jira/browse/CLOUDSTACK-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679701#comment-14679701
]
ASF subversion and git services commented on CLOUDSTACK-8711:
-------------------------------------------------------------
Commit e8ade2dd9edb59f2bb5aaee1573e03363586c2c2 in cloudstack's branch
refs/heads/master from [~remibergsma]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e8ade2d ]
Merge pull request #662 from manuiiit/pull-14
CLOUDSTACK-8711: public_ip type resource count for an account is not
decremented upon IP range deletionProblem:
--------------------------
When you add an IP range and associate it to an account then resource count of
public_ip will be updated to the range length.
After some time try to delete this range and the resource count of public_up
for this account is not descremented and is causing account not to add any more
public IPs to it once it reaches the resource limit.
RCA:
----------------
We were not decrement the count while deleting the IP range that was associated
to an account.
Fix:
-------------
Up on deletion we are decrementing the resource count for public_up now.
* pr/662:
Bug-Id: CS-27335: public_ip type resource count for an account is not
decremented upon IP range deletion
Signed-off-by: Remi Bergsma <[email protected]>
> public_ip type resource count for an account is not decremented upon IP range
> deletion
> --------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8711
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8711
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.5.1
> Reporter: Maneesha
> Fix For: 4.6.0
>
>
> When deleting the IP range which is associated to an account the resource
> count for public_ip is not decremented accordingly which is causing not to
> add any new ranges to that account further once we reach max limit.
> Repro Steps.
> ---------------------
> 1. Add an IP range and associate it to a particular account. This will
> increment your resource count for public_ip to that range count.
> 2. Now try to delete this range and check the resource count for public_ip of
> that account. it will not be decreased.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)