Bug 1033348

Summary: Display OpenShift instance name when requesting password
Product: OKD Reporter: thunt
Component: ocAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.xCC: jliggitt, sztsian, wjiang
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-30 00:47:01 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 thunt 2013-11-21 22:24:42 UTC
Description of problem:

rhc does not display OpenShift instance name when requesting password. As in: -

[tim@tim-rmbp-fedora-1 ~]$ rhc apps
Your authorization token has expired. Please sign in now to continue.
Password: 

It would be helpful for those of us that work with multiple OpenShift instances to display the instance name when requesting a password.

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

Current

How reproducible:
Very

Steps to Reproduce:
1. Wait for authorization token to expire
2. Run any rhc command that uses a broker
3.

Actual results:

[tim@tim-rmbp-fedora-1 ~]$ rhc apps
Your authorization token has expired. Please sign in now to continue.
Password: 

Expected results:

[tim@tim-rmbp-fedora-1 ~]$ rhc apps
Your authorization token has expired. Please sign in now to continue.
openshift.redhat.com Password: 

Additional info:

Comment 1 Zamir SUN 2013-12-01 03:10:21 UTC
I have submitted my fix.
Pull request https://github.com/openshift/rhc/pull/517

Comment 2 Jordan Liggitt 2013-12-02 20:07:25 UTC
Will merge in https://github.com/openshift/rhc/pull/518

Comment 3 openshift-github-bot 2013-12-02 22:16:09 UTC
Commit pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/d2078beac0de04323c7a478da31200e658fac161
Bug 1033348  Display OpenShift instance name when requesting password
https://bugzilla.redhat.com/show_bug.cgi?id=1033348
Added openshift_server name in Line 77 to show the server info.

Comment 4 weiwei jiang 2013-12-03 11:11:30 UTC
Tried on devenv_4087 with rhc build from it, and the result is :
# rhc apps
Your authorization token has expired. Please sign in now to continue on
ec2-67-202-36-80.compute-1.amazonaws.com.
Password: 

So, verify this issue.