Bug 848619 - No message displayed to ask user to change the config file after updating domain successfully
Summary: No message displayed to ask user to change the config file after updating dom...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-16 03:34 UTC by joycezhang
Modified: 2015-05-15 02:03 UTC (History)
1 user (show)

Fixed In Version: rhc-0.97.11-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 21:29:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description joycezhang 2012-08-16 03:34:14 UTC
Description of problem:
No message is displayed to ask user modifying config file with latest domain name replaced. There's only one "Success" displayed as below:

# rhc domain update -n jinzhang3 -p a

Updating domain 'jinzhang2' to namespace 'jinzhang3'

RESULT:
Success!


Version-Release number of selected component (if applicable):
rhc-0.97.7.gem
devenv_1995


How reproducible:
always


Steps to Reproduce:
1.Create some apps
2.Update domain name:
#rhc domain update -n newdomain -p xxx

  
Actual results:
Only a "Sucess" is displayed, user will get git push failed without modifying new namespace in config file.
# rhc domain update -n jinzhang3 -p a

Updating domain 'jinzhang2' to namespace 'jinzhang3'

RESULT:
Success!


Expected results:
An friendly message shoud pop up to ask user changing the config file with latest domain name instead before using git push.


Additional info:
This message can be shown with old rhc client.

Comment 1 Clayton Coleman 2012-08-16 14:50:06 UTC
We should update the config automatically on a rename if and only if it is configured in the config.

Comment 2 John (J5) Palmieri 2012-08-16 17:23:50 UTC
we can't update the git config on the users side since their apps could be anywhere on the file system.  .git/config is also a local file so changing it on the server won't help either.  A message is the only way to fix this.

Comment 3 joycezhang 2012-08-17 02:26:48 UTC
This bug has been verified and fixed.

Please refer to the following details:

Build:
int.openshift.redhat.com
rhc-0.97.11.gem

Steps:
1. Update domain name:
# rhc domain update test8 
Password: ******


Updating domain 'testdm6' to namespace 'test8'

RESULT:
Success!
You can use 'rhc domain show' to view any url changes.  Be sure to update any links including the url in your local git config: <local_git_repo>/.git/config

A reasonable message is shown to ask user modifying the config file.

So it's fixed. Thanks.


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