Bug 1024229 - REST API returns different usage rate for large gear with broker.
REST API returns different usage rate for large gear with broker.
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Master (Show other bugs)
2.x
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Lili Nader
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-29 03:35 EDT by Liang Xia
Modified: 2015-05-14 20:56 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-29 03:47:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Liang Xia 2013-10-29 03:35:27 EDT
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 03:47:25 EDT
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.