You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/08/10 09:25:52 UTC
[2/2] git commit: updated refs/heads/master to 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 <gi...@remi.nl>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e8ade2dd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e8ade2dd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e8ade2dd
Branch: refs/heads/master
Commit: e8ade2dd9edb59f2bb5aaee1573e03363586c2c2
Parents: b074fc7 865623f
Author: Remi Bergsma <gi...@remi.nl>
Authored: Mon Aug 10 09:24:27 2015 +0200
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Mon Aug 10 09:24:27 2015 +0200
----------------------------------------------------------------------
.../src/com/cloud/configuration/ConfigurationManagerImpl.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------