problem
When listing an account's resource limits, the VPC limits are incorrect. For example, an account with a limit of 10 VPCs with one VPC created is displayed as '1 / 2' but with '9 available'.
In CMK, we can see the same issue:
$ cmk list accounts id=xxx | grep -i vpc
vpctotal = 1
vpcavailable = 9
vpclimit = 2
The actual 'vpclimit' that I am expecting is 10 here.
versions
CloudStack Version: 4.20.1.0
OS: Rocky Linux 8.10
The steps to reproduce the bug
- Create an account with a VPC limit of 10
- Create a VPC in the account
- See the account VPC limit as '1 / 2', with '9 available'.
What to do about it?
Is there something I am missing that would explain this discrepancy?