Bug 1249772
| Summary: | [RFE] Service :quota : Should be able to apply VM quota to service | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Shveta <sshveta> |
| Component: | Provisioning | Assignee: | Tina Fitzgerald <tfitzger> |
| Status: | CLOSED NOTABUG | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.4.0 | CC: | gblomqui, jhardy, mfeifer, obarenbo, psavage, tfitzger |
| Target Milestone: | GA | Keywords: | FutureFeature |
| Target Release: | 5.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-09-15 14:00:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shveta
2015-08-03 18:42:16 UTC
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. 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. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. Detected commit referencing this ticket while ticket status is CLOSED. 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 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 |