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

ECK >= 1.9.x failing to run with webhooks enabled in Openshift <= 4.6 #5191

Closed
naemono opened this issue Dec 21, 2021 · 1 comment
Closed
Labels
>bug Something isn't working

Comments

@naemono
Copy link
Contributor

naemono commented Dec 21, 2021

Since enabling webhooks within Openshift within ECK, it was found that Openshift 4.6 and below have issues where they mount the Certificates in a location that doesn't align with the Operator SDK, and as such, the operator goes into a CrashLoopBackoff.

Bug fix reference in 4.7 release notes:
https://docs.openshift.com/container-platform/4.7/release_notes/ocp-4-7-release-notes.html#ocp-4-7-bug-fixes

Bugzilla reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1879248

We will need to find a solution for supporting these older versions of openshift and the webhook, either with a code fix, or simply disabling the webhook within openshift.

Known workarounds as of now:

  • remove --enable-webhook flag from the list of args in the elastic-operator container via the yaml definition for the operator within the Openshift UI. (Operators -> Installed Operators -> Elasticsearch (ECK) Operator -> Operator details -> YAML)
  • Upgrade Openshift to version 4.7

146973539-f473a8a3-0e13-4b60-9547-e4d0e6ebf144

@naemono naemono added the >bug Something isn't working label Dec 21, 2021
@pebrc
Copy link
Collaborator

pebrc commented Jun 8, 2022

Closing this as there are two workarounds and we are not planning any additional fix for this.

@pebrc pebrc closed this as completed Jun 8, 2022
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

2 participants