Bug 1013292

Summary: It should not display 'error' when run `rhc domain list|show` on old OSE server
Product: OpenShift Online Reporter: weiwei jiang <wjiang>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bleanhar, pruan, wsun
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:32:38 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:
Embargoed:

Description weiwei jiang 2013-09-29 06:26:43 UTC
Description of problem:
when run `rhc domain list` on old OSE server, it display 
Allowed Gear Sizes: <none>
Members:            <error>


Version-Release number of selected component (if applicable):
OSE-1.2.3
rhc-1.15.3
How reproducible:
always

Steps to Reproduce:
1.make sure you have at least a domain
2.run `rhc domain list`
3.check the output of it 

Actual results:
Domain wjiang
-------------
  Allowed Gear Sizes: <none>
  Members:            <error>

You have access to 1 domain.

Expected results:
It should not display members field.

Additional info:

Comment 1 weiwei jiang 2013-09-29 08:38:19 UTC
And `rhc domain show` also got this issue

#rhc domain show 
Domain wjiang
-------------
  Allowed Gear Sizes: <none>
  Members:            <error>
......

Comment 3 Clayton Coleman 2013-09-30 17:33:15 UTC
Fixed in https://github.com/openshift/rhc/pull/470

Comment 4 openshift-github-bot 2013-09-30 21:52:09 UTC
Commit pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/6b4be5d2c8e2211ed94c009d08660ff38c897e23
Bug 1013292 - Tolerate OSE1.2 attributes

Also, prep for API 1.6 support by handling id/name changes on Domain gracefully.

Comment 5 Peter Ruan 2013-10-02 18:50:09 UTC
verified with rhc.1.15.4

Successfully installed rhc-1.15.4
1 gem installed
Command Return: 0
INFO [11:48:27] rhc client gem file /home/pruan/rhc-1.15.4.gem successfully installed
[pruan@homer-linux <DEV> bin]# rhc domain show
Domain jdwjxd
-------------

The domain jdwjxd exists but has no applications. You can use 'rhc create-app' to create a new
application.