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

Kuadrant operator fails due to flag provided but not defined: -leader-elect #102

Closed
Tracked by #68
pehala opened this issue Nov 14, 2022 · 3 comments
Closed
Tracked by #68
Assignees
Labels
kind/bug Something isn't working

Comments

@pehala
Copy link
Contributor

pehala commented Nov 14, 2022

Latest Kuadrant operator (quay.io/kuadrant/kuadrant-operator-catalog@sha256:4425f021369a357b2b145b85f83f8f6d17c7d230de95e07243839b95c2b77884) through OLM fails with

{"level":"info","ts":1668437358.5749674,"logger":"kuadrant-operator","msg":"go version: go1.18.8"}
{"level":"info","ts":1668437358.5750809,"logger":"kuadrant-operator","msg":"go os/arch: linux/amd64"}
{"level":"info","ts":1668437358.5751164,"logger":"kuadrant-operator","msg":"base logger","log level":"info","log mode":"production"}
flag provided but not defined: -leader-elect
Usage of /manager:
  -config string
    	The operator will load its initial configuration from this file. Omit this flag to use the default configuration values. Command-line flags override configuration from this file.
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
@eguzki
Copy link
Contributor

eguzki commented Nov 24, 2022

@pehala Can you test again? I cannot reproduce.

@didierofrivia implemented #105 for the OSSM branch.
I have a WIP PR to migrate to the new catalog format (file based catalog). The branch name is local-catalog-file-based. I think either of those two branches should work and do not have any issue with the leader election flags.

@pehala
Copy link
Contributor Author

pehala commented Nov 24, 2022

The OSSM branch does indeed fix this issue

@eguzki
Copy link
Contributor

eguzki commented Nov 24, 2022

👍 If it is not big effort, can you try local-catalog-file-based ?? that will be the way we create local dev testing catalogs in main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants