Bug 1401981

Summary: [RFE] Chargeback doesn't allow to specify storage allocated for Openshift.
Product: Red Hat CloudForms Management Engine Reporter: Raul Mahiques <rmahique>
Component: ReportingAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: gekis, gtanzill, jhardy, jocarter, obarenbo, sychen, tuado, yrudman
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-19 14:48:08 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:

Description Raul Mahiques 2016-12-06 14:01:58 UTC
Description of problem:
The customer wants to specify the cost of having storage allocated to a server, even if it's not used. With only an openshift provider it's not possible to use the 'storage' rate feaute, only disk i/o.


Version-Release number of selected component (if applicable):
5.6.1.3 and earlier


How reproducible:
always


Steps to Reproduce:
- install and setup CF
- register an Openshift provider (including hawkular)
- in chargeback report create a rate for Storage
- go to assignments - storage - try to assign it to the provider. (you can't)

Actual results:
you can't assigne it to a specific provider, so if you have multiple OSE providers they all will have the same rate.

Expected results:
It can be assigned to a specific provider so different OSE providers charge different rates.



Additional info:

Comment 3 Šimon Lukašík 2016-12-09 12:27:44 UTC
As a workaround, are they able to use Tags to assign different rates per different providers?

Comment 4 Raul Mahiques 2016-12-09 12:42:27 UTC
(In reply to Šimon Lukašík from comment #3)
> As a workaround, are they able to use Tags to assign different rates per
> different providers?

The issue is not with the assignation of the rates but with not being able to retrieve and use information about storage allocation form openshift.

Comment 5 Raul Mahiques 2016-12-09 12:43:14 UTC
5.6.3.3 is also showing the same limitation.

Comment 7 Gregg Tanzillo 2018-04-12 10:26:28 UTC
Looking at the details of this BZ, it's not clear whether the issue is that a) rates cannot be assigned to allocated storage on OCP, b) rates can be assigned but allocated storage in not being reported for chargeback or c) rates can be assigned but allocated storage is not collected by the OCP provider.

Can you please clarify? Thanks

Comment 8 Tuan 2018-04-19 17:45:19 UTC
*** Bug 1565826 has been marked as a duplicate of this bug. ***

Comment 9 Tuan 2018-04-19 17:51:12 UTC
attached this RFE to a case where customer is requesting storage chargeback which is separated by OpenShift project