-
Notifications
You must be signed in to change notification settings - Fork 771
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
godep save ./... : cannot find package "k8s.io/kubernetes/pkg/apis/authentication.k8s.io" #117
Comments
Hmm, I can't reproduce your I get completely different error:
Reason for this error is that something down in I will look if we can solve this dependency conflict by using newer k8s/origin |
It doesn't look good :-( Because of that dependency conflict I can't get |
I got totally different errors (failed to $ script/godep-restore.sh
Preloading some dependencies
fatal: remote github.com/openshift-remote already exists.
remote: Counting objects: 166, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 166 (delta 128), reused 144 (delta 108), pack-reused 0
Receiving objects: 100% (166/166), 41.73 KiB | 0 bytes/s, done.
Resolving deltas: 100% (128/128), completed with 83 local objects.
From https://github.com/kubernetes/kubernetes
96916e4..6e5826a release-1.3 -> upstream/release-1.3
+ bd2057a...854b7b9 refs/pull/28432/head -> origin/pr/28432 (forced update)
+ f9be0db...7029eaa refs/pull/29049/head -> origin/pr/29049 (forced update)
+ 3c5f68c...5af42f6 refs/pull/30153/head -> origin/pr/30153 (forced update)
+ 9c1ffd2...67b7c72 refs/pull/30838/head -> origin/pr/30838 (forced update)
9ff3d8b..39fbd30 refs/pull/30959/head -> origin/pr/30959
* [new ref] refs/pull/31144/head -> origin/pr/31144
* [new ref] refs/pull/31145/head -> origin/pr/31145
* [new ref] refs/pull/31146/head -> origin/pr/31146
Starting to download all godeps. This takes a while
# cd /usr/local/google/home/username/go/src/github.com/docker/docker; git checkout e4a0dbc47232e3a9da4cfe6ce44f250e6e85ed43
fatal: reference is not a tree: e4a0dbc47232e3a9da4cfe6ce44f250e6e85ed43
... (lots of other similar errors) |
Yah, I tested it again from a fresh clone kompose and got the same issue with @janetkuo : $ script/godep-restore.sh
...
Starting to download all godeps. This takes a while
# cd /home/tuna/workspace/gocode-kompose-godep-problem/src/k8s.io/kubernetes; git checkout 57fb9acc109285378ecd0af925c8160eb8ca19e6
fatal: reference is not a tree: 57fb9acc109285378ecd0af925c8160eb8ca19e6
godep: error downloading dep (k8s.io/kubernetes/federation/apis/federation): exit status 128
godep: Error downloading some deps. Aborting restore and check.
Download finished into /home/tuna/workspace/gocode-kompose-godep-problem/ |
That is strange, I've just tried that on clean GOPATH and it godep-restore.sh worked fine.
|
Yes that's strange. I did try on a clean GOPATH too. When I opened this issue, Why did you do this one? git clone https://bitbucket.org/ymotongpoo/goenv/pull-requests/ |
OH, that was copy/paste error. Its not supposed to be there :-D |
So I did some research around that. I still can't reproduce your error with If I use
This error is because we have two things in Kompose dependency chain that requires different version of Kompose requires This problem was in Kompose for some time (since we started using latest Docker), we didn't noticed that because we haven't used parts of Kubernetes that are calling Docker apis (or they call parts of Docker api that didn't changed between v1.4 and v1.12). Latest alpha release of Kubernetes (v1.4.0-alpha.2) is build with Docker version v1.11.2 so this might solve our problem (expecting that there is not much api changes between 1.11 and 1.12). But we have to wait till OpenShift Origin is rebased with Kubernetes v1.4.0-alpha.2 or more :-( Until than we can't use |
This should be closed. As soon as we have k8s go client we should be good. Will reopen it whenever getting problem with godeps... |
I added an import "k8s.io/kubernetes/pkg/kubectl/cmd" to
kubenetes.go
. For saving vendor, I need to runscript/godep-restore.sh
first. It works well. But the followinggodep save ./...
get error:How do you think @kadel ?
The text was updated successfully, but these errors were encountered: