question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not introduce k8s.io/kube-openapi@master

See original GitHub issue

How to reproduce?

cd ${GOPATH}/src/github.com/kubeflow
git clone git@github.com:kubeflow/tf-operator.git
dep ensure

Error message

Solving failure: Could not introduce k8s.io/kube-openapi@master, as it requires package k8s.io/klog/v2 from k8s.io/klog, but in version v2.2.0 that package is missing.

I’ve done with https://github.com/kubeflow/tf-operator/issues/1170, but I can’t generate openapi_generated.go

$ ./hack/update-codegen.sh

# output
enerating deepcopy funcs
Generating clientset for tensorflow:v1 at github.com/kubeflow/tf-operator/pkg/client/clientset
Generating listers for tensorflow:v1 at github.com/kubeflow/tf-operator/pkg/client/listers
Generating informers for tensorflow:v1 at github.com/kubeflow/tf-operator/pkg/client/informers
Generating defaulters for tensorflow/v1
Generating OpenAPI specification for tensorflow/v1
./hack/update-codegen.sh: line 45: /home/dslab/go/bin/openapi-gen: No such file or director

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
gaocegegecommented, Jun 17, 2020

Maybe we can use go mod instead soon. Maybe after #1171

1reaction
issue-label-bot[bot]commented, Jun 16, 2020

Issue-Label Bot is automatically applying the labels:

Label Probability
area/operator 0.53
kind/bug 0.83

Please mark this comment with 👍 or 👎 to give our bot feedback! Links: app homepage, dashboard and code for this bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After klog v2.0.0 release there are broken dependencies #138
Solving failure: No versions of k8s.io/utils met constraints: master: Could not introduce k8s.io/utils@master, as it requires package ...
Read more >
Kubernetes Removals, Deprecations, and Major Changes in ...
A deprecated API is one that has been marked for removal in a future Kubernetes release; it will continue to function until removal...
Read more >
How to Restart Kubernetes Pods With Kubectl - Spacelift
Method 1. kubectl rollout restart. This method is the recommended first port of call as it will not introduce downtime as pods will...
Read more >
Introducing cdk8s+: Intent-driven APIs for Kubernetes objects
1) Publish a self-contained YAML manifest generated by running cdk8s synth . 2) Publish an NPM library that may or may not accept...
Read more >
The Kubernetes executor for GitLab Runner
GitLab Runner can use Kubernetes to run builds on a Kubernetes cluster. ... You cannot use several services using the same port (e.g.,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found