Skip to content
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

K8SSAND-1453 ⁃ Upgrade to cass-operator 1.10.3 (or later) #520

Closed
jsanda opened this issue Apr 13, 2022 · 1 comment
Closed

K8SSAND-1453 ⁃ Upgrade to cass-operator 1.10.3 (or later) #520

jsanda opened this issue Apr 13, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jsanda
Copy link
Contributor

jsanda commented Apr 13, 2022

What happened?
DNS lookups for Cassandra pods does not work. See k8ssandra/cass-operator#304.

Did you expect to see something different?
DNS resolution for Cassandra pods should work.

How to reproduce it (as minimally and precisely as possible):
See k8ssandra/cass-operator#304 for steps.

Environment

  • K8ssandra Operator version:

    v1.0.1

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1453
┆priority: Medium

@jsanda jsanda added the bug Something isn't working label Apr 13, 2022
@jsanda jsanda self-assigned this Apr 13, 2022
@sync-by-unito sync-by-unito bot changed the title Upgrade to cass-operator 1.10.3 K8SSAND-1453 ⁃ Upgrade to cass-operator 1.10.3 Apr 13, 2022
@jsanda jsanda changed the title K8SSAND-1453 ⁃ Upgrade to cass-operator 1.10.3 K8SSAND-1453 ⁃ Upgrade to cass-operator 1.10.3 (or later) Apr 13, 2022
@jsanda
Copy link
Contributor Author

jsanda commented Apr 13, 2022

Upgrading cass-operator in main fails as follows:

$ go get "github.com/k8ssandra/[email protected]"
go: downloading github.com/k8ssandra/cass-operator v1.10.3
go get: installing executables with 'go get' in module mode is deprecated.
	To adjust and download dependencies of the current module, use 'go get -d'.
	To install using requirements of the current module, use 'go install'.
	To install ignoring the current module, use 'go install' with a version,
	like 'go install example.com/cmd@latest'.
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
# github.com/k8ssandra/cass-operator/pkg/httphelper
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:302:4: unknown field 'Handler' in struct literal of type "k8s.io/api/core/v1".Probe
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:305:25: container.LivenessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:306:25: container.LivenessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:307:25: container.LivenessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:313:4: unknown field 'Handler' in struct literal of type "k8s.io/api/core/v1".Probe
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:316:26: container.ReadinessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:317:26: container.ReadinessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)
../../gocode/pkg/mod/github.com/k8ssandra/[email protected]/pkg/httphelper/security.go:318:26: container.ReadinessProbe.Handler undefined (type *"k8s.io/api/core/v1".Probe has no field or method Handler)

This is because k8ssandra-operator depends on k8s.io/kubernetes v1.23.4 in main whereas cass-operator v1.10.3 depends on k8s.io/kubernetes v1.22.2. cass-operator master branch is on k8s.io/kubernetes v1.23.4.

We can upgrade to cass-operator v1.10.3 on the release/1.0 branch fine so that the upgrade can be included in k8ssandra-operator v1.0.2.

In the main branch we will need to upgrade to a more recent commit of cass-operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant