Bug 1331671

Summary: A typo in the warning message when create app from disable anonymous cloning gitserver repo
Product: OKD Reporter: XiuJuan Wang <xiuwang>
Component: ImageAssignee: Cesar Wong <cewong>
Status: CLOSED CURRENTRELEASE QA Contact: XiuJuan Wang <xiuwang>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, bparees, mmccomas
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: 2016-09-19 13:53:16 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 XiuJuan Wang 2016-04-29 08:13:33 UTC
Description of problem:

1] A typo 401 in the warning message.

remote: error: unable to load template file "http://git:8080/ruby-hello-world.git": unable to read URL "http://git:8080/ruby-hello-world.git", server reported 401 401 Unauthorized

2]Another typo in gitserver Readme. doc.https://github.com/openshift/origin/blob/master/examples/gitserver/README.md#automatically-cloning-public-repositories
oc set env dc/gitserver GIT_INITIAL_CLONE_1="https://github.com/openshift/ruby-hello-world.git;helloworld"

Should be  'oc set env dc/git'

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

How reproducible:
always

Steps to Reproduce:
1.Disable anonymous cloning in gitserver yaml file
2.Deploy the git server pod
3.Push code to the git server 

Actual results:

step 3: will show typo error.

Expected results:
Should no typo

Additional info:

Comment 1 XiuJuan Wang 2016-05-23 06:27:31 UTC
The typos still exist in docker.io/openshift/origin-gitserver ( imageid: 12cd0a9b2c3d      46 hours ago)

Comment 2 Cesar Wong 2016-05-26 13:15:06 UTC
Fixes to gitserver readme submitted in 
https://github.com/openshift/origin/pull/9038

Fix to URL error message will need an upstream pull

Comment 3 Cesar Wong 2016-05-26 13:28:45 UTC
Kubernetes pull for error message:
https://github.com/kubernetes/kubernetes/pull/26354

Comment 4 Ben Parees 2016-07-21 17:41:35 UTC
upstream pull has merged and should be in our rebase.

Comment 5 XiuJuan Wang 2016-07-22 02:54:03 UTC
Test with openshift/origin-gitserver(f7e2291462a1)
No typo in the push warining message.

remote: error: unable to load template file "http://git:8080/ruby-hello-world.git": unable to read URL "http://git:8080/ruby-hello-world.git", server reported 401 Unauthorized, status code=401