Bug 1362615

Summary: [RFE] Chargeback of containers based on quota
Product: Red Hat CloudForms Management Engine Reporter: Federico Simoncelli <fsimonce>
Component: ReportingAssignee: Loic Avenel <lavenel>
Status: CLOSED WONTFIX QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: azellner, bazulay, cpelland, dlamotta, dron, fsimonce, jhardy, jjozwiak, ltsai, nachandr, ncatling, obarenbo, rmahique, simaishi
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:chargeback
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-28 15:11:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:

Description Federico Simoncelli 2016-08-02 16:19:32 UTC
+++ This requirement was split out of Bug #1357214 +++

Description of problem:

This RFE is requesting to add the ability to do chargeback reporting for containers considering the quota allocated to the projects.

Overall the customer would like to be able to charge back based on number and allocated sizes of pods by a customer for a given time interval.


--- Additional comment from Federico Simoncelli on 2016-07-22 04:00:39 EDT ---

(In reply to Jon Jozwiak from comment #0)
> Overall they would like to be able to charge back based on number and
> allocated sizes of pods by a customer for a given time interval.

Jon can you clarify this requirement? What are the allocated sizes of a pod? Are you referring to the pod limitranges?

http://kubernetes.io/docs/admin/limitrange/

or the container limits/requests:

http://kubernetes.io/docs/user-guide/compute-resources/

or both?

--- Additional comment from Jon Jozwiak on 2016-07-27 16:53:55 EDT ---

I followed up with the customer and it is actually chargeback by allocated size of a project.  They are using resource quotas as described here: 

https://docs.openshift.com/enterprise/3.1/dev_guide/quota.html

They will implement small, medium, and large quotas and then chargeback a different amount based on size of the project.

Comment 4 Ari Zellner 2017-01-03 12:01:35 UTC
Upstream PR: https://github.com/ManageIQ/manageiq/pull/13326

Comment 5 Chris Pelland 2017-08-28 15:11:27 UTC
This bug has been open for more than a year and is assigned to an older release of CloudForms. 
If you would like to keep this Bugzilla open and if the issue is still present in the latest version of the product, please file a new Bugzilla which will be added and assigned to the latest release of CloudForms.