Skip to content

replace git.apache.org/thrift.git with github.com/apache/thrift #1883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
udyvish opened this issue Sep 5, 2019 · 2 comments
Closed
Assignees
Labels
triage/support Indicates an issue that is a support question.

Comments

@udyvish
Copy link

udyvish commented Sep 5, 2019

Bug Report

What did you do?
I tried to create a new operator from the latest release from this repo. I get an error while downloading dependencies.

➜ example-operator: go mod vendor go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999 go: git.apache.org/[email protected]: git -c protocol.version=0 fetch --unshallow -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/udayvishwakarma/github/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128: fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out go: error loading module requirements

What did you expect to see?
It created the boilerplate folder structure with files. when I run go mod vendor it should download all the dependencies .

What did you see instead? Under which circumstances?
I get an error when it tries to download https://git.apache.org/thrift.git. error is below

go mod vendor
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: git.apache.org/[email protected]: git -c protocol.version=0 fetch --unshallow -f https://git.apache.org/thrift.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /Users/udayvishwakarma/github/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Operation timed out
go: error loading module requirements

Environment

  • operator-sdk version:

operator-sdk version: v0.10.0, commit: ff80b17

  • go version:

go version go1.12.7 darwin/amd64

  • Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:49Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:16Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
  • Kubernetes cluster kind: minikube

  • Are you writing your operator in ansible, helm, or go? go

Possible Solution

replace https://git.apache.org/thrift.git/ in dependencies with github.com/apache/thrift

Additional context
I didn't find git.apache.org/thrift in go.mod of the boilerplate generated by operator-sdk. I searched whole project i was not able to find

@camilamacedo86
Copy link
Contributor

Hi @udayvishwakarma,

Thank you for raise it. It is the same scenario discussed in #1873. In this way, I am closing this issue.

@camilamacedo86
Copy link
Contributor

Please, feel free to reopen it if you think that some other action would be required to address this subject.

@camilamacedo86 camilamacedo86 self-assigned this Sep 5, 2019
@camilamacedo86 camilamacedo86 added the triage/support Indicates an issue that is a support question. label Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/support Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

2 participants