jetstack / navigator

Managed Database-as-a-Service (DBaaS) on Kubernetes
Apache License 2.0
271 stars 31 forks source link

Pilot leader election doesn't work in Cassandra clusters #218

Closed wallrj closed 6 years ago

wallrj commented 6 years ago

I'm seeing the following errors in the Pilot logs.

I0124 11:15:52.396154       1 request.go:624] Error in request: resource name may not be empty
E0124 11:15:52.396235       1 leaderelection.go:224] error retrieving resource lock test-cassandra-1516791475-12782/: resource name may not be empty
I0124 11:15:52.396242       1 leaderelection.go:180] failed to acquire lease test-cassandra-1516791475-12782/

/kind bug

munnerz commented 6 years ago

This is because you’ve not set —leader-election-config-map on the pods. Pilot needs this info in order to leader elect. On Wed, 24 Jan 2018 at 11:17, Richard Wall notifications@github.com wrote:

I'm seeing the following errors in the Pilot logs.

I0124 11:15:52.396154 1 request.go:624] Error in request: resource name may not be empty E0124 11:15:52.396235 1 leaderelection.go:224] error retrieving resource lock test-cassandra-1516791475-12782/: resource name may not be empty I0124 11:15:52.396242 1 leaderelection.go:180] failed to acquire lease test-cassandra-1516791475-12782/

/kind bug

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jetstack/navigator/issues/218, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMbP1zu_J9m1BZc2blJGaPU1YRRdOf6ks5tNxEzgaJpZM4RrGLp .