Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. No way to provision a catalog item with more than one VM and gence can't apply VM quota to service . 2. Tried two catalog items with one VM each and then created a catalog bundle with these two items . But VM quota still doesn't apply 3. Actual results: Expected results: Additional info: 5.4.1.0.20150717083323_6ed7e1c
Hi Shveta, Do you have an environment setup to test this issue? Thanks, Tina
Hi Tina, The environment i used has expired now. But the issues does not need any special set up . Just provision two catalog items and add them to a catalog bundle . Tag the catalog bundle with maximum VM quota = 1 . Provision the catalog bundle , it provision two VMs.
https://github.com/ManageIQ/manageiq/pull/4338
https://github.com/ManageIQ/manageiq/pull/4327
Quota happens during request processing. Since only the service request gets processed during service provisioning, the VM request is not processed and VM quota is not available.
Detected commit referencing this ticket while ticket status is CLOSED.
https://github.com/ManageIQ/manageiq/pull/4936
https://github.com/ManageIQ/manageiq/pull/4877
https://github.com/ManageIQ/manageiq/pull/4993
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1250288dd7bc98b8975a4fa264f2fb12addadf66 commit 1250288dd7bc98b8975a4fa264f2fb12addadf66 Author: Tina Fitzgerald <tfitzger> AuthorDate: Mon Sep 14 11:35:52 2015 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Fri Oct 23 15:48:27 2015 -0400 Consolidating quota code to help facilitate resolution for the following issues: https://bugzilla.redhat.com/show_bug.cgi?id=1254211 when quota exceeds Group Allocated Memory always shows "0.00GB" in last message of request details page (edit) https://bugzilla.redhat.com/show_bug.cgi?id=1248747 service :quota : Provisioning quota for CPU , Memory and Storage doesn't work (edit) https://bugzilla.redhat.com/show_bug.cgi?id=1254882 Provisioning quota for CPU/Mem/Storage doesn't work for cloud providers (edit) https://bugzilla.redhat.com/show_bug.cgi?id=1126934 [RFE] Quota enforcement based on used space (edit) https://bugzilla.redhat.com/show_bug.cgi?id=1249772 [RFE] Service :quota : Should be able to apply VM quota to service (edit) .../default.yaml | 5 +- .../default.yaml | 5 +- .../CommonMethods/Quota.class/__class__.yaml | 173 ++++++++ .../Quota.class/__methods__/validate_quota.rb | 481 +++++++++++++++++++++ .../Quota.class/__methods__/validate_quota.yaml | 12 + .../CommonMethods/Quota.class/service_quota.yaml | 26 ++ .../System/CommonMethods/Quota.class/test.yaml | 24 + .../System/CommonMethods/Quota.class/vm_quota.yaml | 26 ++ 8 files changed, 750 insertions(+), 2 deletions(-) create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/__class__.yaml create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/__methods__/validate_quota.rb create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/__methods__/validate_quota.yaml create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/service_quota.yaml create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/test.yaml create mode 100644 db/fixtures/ae_datastore/ManageIQ/System/CommonMethods/Quota.class/vm_quota.yaml