Bug 2019433

Summary: GitHub will no longer support git clone with git:// protocol
Product: OpenShift Container Platform Reporter: rvanderp
Component: BuildAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Jitendar Singh <jitsingh>
Severity: medium Docs Contact:
Priority: high    
Version: 4.10CC: aaleman, aos-bugs, dgoodwin, gmontero, pbhattac, scuppett, spandura, suryadav, wking
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2019516 (view as bug list) Environment:
Last Closed: 2022-01-07 19:44:18 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:
Bug Depends On: 2019516    
Bug Blocks:    
Deadline: 2022-01-11   

Description rvanderp 2021-11-02 14:29:26 UTC
Description of problem:
CI jobs are failing with `The unauthenticated git protocol on port 9418 is no longer supported.`  

Failing job specific to sig-builds: 
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_console/10341/pull-ci-openshift-console-master-e2e-gcp/1455327531476455424

Sample of failing jobs:
https://search.ci.openshift.org/?search=The+unauthenticated+git+protocol+on+port+9418&maxAge=48h&context=1&type=build-log&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

Version-Release number of selected component (if applicable):
Numerous 4.x

How reproducible:
Consistently

Steps to Reproduce:
1. Run openshift-tests
2.
3.

Actual results:
[sig-builds][Feature:Builds] is failing due to reported unsupported git protocol.

Expected results:
[sig-builds][Feature:Builds] should use supported mechanism for interacting with git.

Additional info:

Comment 2 Devan Goodwin 2021-11-02 17:21:42 UTC
I am working on a PR to disable this in 4.10 and backport throughout, but will leave this bugzilla open for a proper fix.

Comment 3 Adam Kaplan 2021-11-02 17:54:20 UTC
Marking this as a release blocker - given the ubiquity of GitHub we should consider drafting a KCS article to help customers adapt to GitHub's new requirements.

Comment 5 Adam Kaplan 2021-11-02 18:16:35 UTC
GitHub's announcement they are disabling the `git://` protocol [1]. They are doing this in phases:

1. An initial "brownout", which we hit today (November 2, 2021).
2. A second, longer "brownout" on January 11, 2022.
3. Final shutdown on March 15, 2022.

https://github.blog/2021-09-01-improving-git-protocol-security-github

Comment 9 Adam Kaplan 2022-01-07 19:23:42 UTC
Draft KCS article: https://access.redhat.com/solutions/6628771

Comment 10 Gabe Montero 2022-01-07 19:44:18 UTC
KCS approved ... moving to closed/currentrelease