Bug 1018499

Summary: "oo-admin-ctl-user" doesn't show plan information
Product: OpenShift Online Reporter: Nam Duong <nduong>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: jhou, jofernan, rpenta, xtian, zzhao
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-17 13:35:24 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 Nam Duong 2013-10-12 16:30:50 UTC
Description of problem:
The current output for "oo-admin-ctl-user" is:
                  consumed gears: 1
                       max gears: 16
    max tracked storage per gear: 0
  max untracked storage per gear: 5
            plan upgrade enabled: true
                      gear sizes: small, medium
            sub accounts allowed: false
private SSL certificates allowed: true

Please add "Plan:" so that Customer Enablement can check a user's plan and help to escalate an issue.

Comment 1 Ravi Sankar 2013-10-14 19:38:02 UTC
We already added user's plan info to the oo-admin-ctl-user script. This should be available after prod push.

Comment 2 Jianwei Hou 2013-10-15 06:32:47 UTC
Verified on devenv-stage_498
User's plan id is displayed as well

[root@ip-10-234-13-125 ~]# oo-admin-ctl-user -l jhou


User jhou:
                            plan: free
                  consumed gears: 0
                       max gears: 3
    max tracked storage per gear: 0
  max untracked storage per gear: 0
            plan upgrade enabled: true
                      gear sizes: small
            sub accounts allowed: false
                      HA allowed: false


[root@ip-10-234-13-125 ~]# oo-admin-ctl-user -l jhou


User jhou:
                            plan: silver
                  consumed gears: 0
                       max gears: 16
    max tracked storage per gear: 0
  max untracked storage per gear: 5
            plan upgrade enabled: true
                      gear sizes: small, medium
            sub accounts allowed: false
private SSL certificates allowed: true