Bug 1024229 - REST API returns different usage rate for large gear with broker.
Summary: REST API returns different usage rate for large gear with broker.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-29 07:35 UTC by Liang Xia
Modified: 2015-05-15 00:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-29 07:47:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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