Bug 961686 - The additional storage capacity for silver account is still 30GB after STG is upgraded
Summary: The additional storage capacity for silver account is still 30GB after STG is...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-10 09:34 UTC by Jianwei Hou
Modified: 2015-05-15 02:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 03:55:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jianwei Hou 2013-05-10 09:34:09 UTC
Description of problem:
After STG is upgraded and migrated, the additional gear storage for an existing silver account is still 30GB, which is expected to be reduced to 5GB.
Maybe the mongo isn't migrated or the capacity is reset with oo-admin-ctl-user?

Version-Release number of selected component (if applicable):
STG(devevn-stage_347)

How reproducible:
Always

Steps to Reproduce:
1. Prepare an account with silver plan(jhou+6 on STG)
2. After STG is upgraded, verify the account's additional gear storage capacity is changed to 5GB
curl -s -k -H 'Content-Type: Application/json' --user jhou+6:x https://stg.openshift.redhat.com/broker/rest/user -X GET

  
Actual results:
After step 2: the max_storage_per_gear is 30, which is expected to be 5
<--------------------------->
"data": {
    "capabilities": {
      "gear_sizes": [
        "small",
        "medium"
      ],
      "plan_upgrade_enabled": true,
      "private_ssl_certificates": true,
      "subaccounts": false,
      "max_storage_per_gear": 30
    },
<--------------------------->

Expected results:
max_storage_per_gear should be 5

Additional info:

Comment 1 Ravi Sankar 2013-05-10 23:20:22 UTC
This should be fixed on STG now.

Comment 2 Jianwei Hou 2013-05-13 01:39:47 UTC
Verified on STG, the max_storage_per_gear is changed to 5G now
<--------------------------->
"data": {
        "capabilities": {
            "gear_sizes": [
                "small",
                "medium"
            ],
            "plan_upgrade_enabled": true,
            "private_ssl_certificates": true,
            "subaccounts": false,
            "max_storage_per_gear": 5
        },
        "consumed_gears": 10,
.........
<--------------------------->


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