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

Fix ConfigMap Name in Leader Election #227

Closed
diptadas opened this issue Nov 16, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@diptadas
Copy link
Contributor

commented Nov 16, 2017

Error:

I1116 09:55:21.124903       1 leaderelection.go:174] attempting to acquire leader lease...
E1116 09:55:21.130073       1 leaderelection.go:228] error initially creating leader election record: ConfigMap "lock-Deployment-stash-onevog" is invalid: metadata.name: Invalid value: "lock-Deployment-stash-onevog": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

https://github.com/appscode/stash/blob/master/pkg/util/kubernetes.go#L454

@diptadas diptadas added the bug label Nov 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.