Description of problem: Current quota calculations include orphaned VMs in the used counts. Version-Release number of selected component (if applicable): Steps to Reproduce: 1. Setup Quota limits for tenant(values can be 1) 2. Provision a VM and check quota denied message for used counts. 3. Archive an active VM and repeat step 2. 4. Notice the used counts are unchanges. Actual results: Orphaned VMs included in used count Expected results: Orphaned VMs excluded in used count Additional info:
This PR should resolve the issue: https://github.com/ManageIQ/manageiq-content/pull/132
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low.
Able to verify this on Version 5.9.0.13.20171212214416_f4f190a