Bug 1033348 - Display OpenShift instance name when requesting password
Summary: Display OpenShift instance name when requesting password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 22:24 UTC by thunt
Modified: 2015-05-15 02:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:47:01 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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