New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/34e190196e43b5085ec88a44db9a74d7ac434198 commit 34e190196e43b5085ec88a44db9a74d7ac434198 Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Aug 14 14:29:03 2017 -0400 Commit: Satoe Imaishi <simaishi> CommitDate: Tue Aug 15 18:29:58 2017 -0400 Merge pull request #138 from billfitzgerald0120/quota_cloud_volumes Added cloud volumes to requested resource calculation. (cherry picked from commit 70a6dedc2c10062d7817d2867fa9635fe6c43f34) https://bugzilla.redhat.com/show_bug.cgi?id=1481870 .../QuotaMethods.class/__methods__/requested.rb | 13 +++++++++++++ .../unit/method_validation/calculate_requested_spec.rb | 11 +++++++++++ 2 files changed, 24 insertions(+)
Aziza, See comment above
Hi William, I updated the dialog by removing Number_of_vms and Flavors/instances and tried provisioning. I get the quota exceeded messages and the quota calculations are correct but when i updated the same catalog item by changing the volume from 8GB to 1GB and provisioned, the quota calculations seems to be wrong and this needs to fixed. Ex: 1.When you provision using services catalogs with volume :8 GB, number of instances:2 flavor: m1.tiny the quota calculation message shows "Request exceeds maximum allowed for the following: (storage - Used: 29 GB plus requested: 18 GB exceeds quota: 30.5 GB). 2.Update the same catalog item from 8GB to 1GB and provision,it shows the same quota calculations which is wrong. The new quota exceeded message should be "Request exceeds maximum allowed for the following: (storage - Used: 29 GB plus requested: 4 GB exceeds quota: 30.5 GB)". Can you please check on same appliance? Thanks, Aziza
Billy, For point 2 in comment 4 i have open a separate bz https://bugzilla.redhat.com/show_bug.cgi?id=1499193 for tracking the Flavors/instances in a dialog. Thanks, Aziza
Aziza, Thanks for opening the separate bz for flavors. What Service catalog are you uaing ? Please let me know. Thanks Billy
Billy, I am using "testvolume" service catalog. Thanks, Aziza
Aziza, I tested on your appliance. When I create a service item with a cloud volume, it appears to work. When I edit the service item and change the cloud volume, the service item still uses the original cloud volume which is wrong. I have opened a separate BZ for this problem: https://bugzilla.redhat.com/show_bug.cgi?id=1500486 Can you please test again without changing the cloud volume. Maybe create one service item with 1 gig and another service item with 8 gig. Please let me know if you have any questions. Thanks Billy
Hey Billy, Thanks for logging that Bz. I tested two service item with 1 gig and another service item with 8 gig. Seems to work well. Getting the quota denial messages. ~Aziza
The remaining issues are covered in the following BZs so moving it to verified. https://bugzilla.redhat.com/show_bug.cgi?id=1500486 https://bugzilla.redhat.com/show_bug.cgi?id=1499193 https://bugzilla.redhat.com/show_bug.cgi?id=1497912
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:3484