Bug 1024229

Summary: REST API returns different usage rate for large gear with broker.
Product: OpenShift Online Reporter: Liang Xia <lxia>
Component: MasterAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-29 07:47:25 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 Liang Xia 2013-10-29 07:35:27 UTC
Description of problem:
Check the plans via REST API with path broker/rest/plans, got the usage rate for large gear is:
        "large": {
          "usd": 0.12,
          "cad": 0.12,
          "eur": 0.09,
          "duration": "hour"
        }
Check on the broker /etc/openshift/plugins.d/openshift-origin-billing-aria-dev.conf, got:
SILVER_PLAN_RATE_GEAR_LARGE_USD=0.20 #FIXME
SILVER_PLAN_RATE_GEAR_LARGE_CAD=0.21
SILVER_PLAN_RATE_GEAR_LARGE_EUR=0.15
SILVER_PLAN_RATE_GEAR_LARGE_DURATION=hour

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

How reproducible:
always

Steps to Reproduce:
1.check the plans info via REST API.
2.compare the result above with broker.
3.

Actual results:
As description.

Expected results:
Though we are not charging for large gear now, the usage rate should be consistent.

Additional info:

Comment 1 Liang Xia 2013-10-29 07:47:25 UTC
Redirect the output of REST API to a file, and just found that I mischecked another file. Sorry for bother.