Bug 1401251 - A tenant can go over quota if he provisions multiple items at the same time.
Summary: A tenant can go over quota if he provisions multiple items at the same time.
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: cfme-future
Assignee: Tina Fitzgerald
QA Contact: Ganesh Hubale
URL:
Whiteboard: quota
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-04 00:21 UTC by ldomb
Modified: 2021-06-10 11:43 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-21 21:32:56 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
quota (39.40 KB, image/png)
2016-12-04 00:22 UTC, ldomb
no flags Details

Description ldomb 2016-12-04 00:21:52 UTC
Description of problem:

A tenant can order multiple catalog items via ssp and overprovision cpu quota. I didn't test oder quota. 

Version-Release number of selected component (if applicable):
5.6.3.3.20161128141841_49d925b


How reproducible:


Steps to Reproduce:
1. Create tenant1 and tenant2. 
2. Create a project under tenant1 or tenant2
3. Enable quota for cpu memory disk ....
3. Create a group and add role superadmin
4. Create a user and add it to the group.
5. Login with the newly created user in the service portal. Take multiple items which go over the allocated quota

Actual results:

User is able to provision all items and go over quota. 

Expected results:
The catalog item which goes over quota should be cancelled

Comment 2 ldomb 2016-12-04 00:22:23 UTC
Created attachment 1227803 [details]
quota

Comment 3 Tina Fitzgerald 2017-05-11 21:46:32 UTC
Quota does not currently support consideration of in flight provision requests. This should be an RFE.

Comment 4 Jim Sisul 2017-06-27 21:21:06 UTC
The customer has requested an update on this issue.  They are still seeing this problem in production.

Do we need to provide any additional information in order to turn this into an RFE?

Are there any workarounds the customer can employ to prevent provisioning from running over quota?

Thanks for your help,

--Jim

JAMES P. SISUL
SENIOR TECHNICAL ACCOUNT MANAGER
TELCO AND FINANCIAL SERVICES
Red Hat 

jsisul
O (312)477-4348

M (913)484-8310

Comment 5 Tina Fitzgerald 2017-08-07 16:43:30 UTC
Hi Jim,

We're close to having a solution for this issue.
https://github.com/ManageIQ/manageiq/pull/15466

Thanks,
Tina

Comment 7 Tina Fitzgerald 2017-11-21 21:29:51 UTC
Hi Jim,

We've resolved this issue in 5.7.
https://bugzilla.redhat.com/show_bug.cgi?id=1456819

Thanks,
Tina

Comment 9 Tina Fitzgerald 2018-01-22 20:24:31 UTC
Hi Jim,

I see that the above referenced case is attached to 2 tickets.

Can we track it here: 
https://bugzilla.redhat.com/show_bug.cgi?id=1489507

Also, it's important to note that there's the Automate ManageIQ Domain method: /System/CommonMethods/QuotaMethods/Used code change that's necessary for the active_provisions calculations fix.

Thanks,
Tina


Note You need to log in before you can comment on or make changes to this bug.