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

startControlPlane assumes kubebuilder etcd? #469

Open
jaypipes opened this issue Apr 10, 2023 · 2 comments
Open

startControlPlane assumes kubebuilder etcd? #469

jaypipes opened this issue Apr 10, 2023 · 2 comments

Comments

@jaypipes
Copy link

What happened:

Trying to use kuttl with startControlPlane: true and getting the following:

$ kubectl kuttl test
=== RUN   kuttl
    harness.go:462: starting setup
    harness.go:246: running tests with a mocked control plane (kube-apiserver and etcd).
    harness.go:513: cleaning up
    harness.go:570: removing temp folder: ""
    harness.go:595: fatal error getting client: unable to start control plane itself: failed to start the controlplane. retried 5 times: fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory
--- FAIL: kuttl (0.00s)
FAIL

Is there something that is hard-coded looking for etcd at that kubebuilder path?

@ndimiduk
Copy link

ndimiduk commented Dec 5, 2024

I hacked up a work-around, which is to run everything from within a container environment, https://github.com/apache/hbase-kustomize/tree/main/dockerfiles/kuttl

@porridge
Copy link
Member

porridge commented Dec 5, 2024

Is there something that is hard-coded looking for etcd at that kubebuilder path?

I'm no expert on this, but I think it's customizable. Admittedly this should be better documented here. This might be a good place to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants