-
Notifications
You must be signed in to change notification settings - Fork 635
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
Exit code behavior pip install vs. docker/k8s #1726
Comments
Oh, this is fascinating. Thank you for raising this issue. I will definitely see if I can make the frozen binary exit with a |
@untergeek We just upgraded OpenSUSE and lost python 3.9. Trying with python 3.11, I get the error listed above. Any ideas how to make curator work again?
|
A similar issue with python 3.10.
|
Sorry, disregard this. I was testing individual commands from the script that sets I'm leaving this here in case someone runs into this bug again (chances are it'll be future me). |
Curator version: 8.0.16
We let curator run as a cronjob within Kubernetes. If for instance the pod cannot contact Elasticsearch during client creation it throws error logs but the job gets status
Completed
and notError
.I tested pip install vs k8s and get different error codes.
pip install:
Triggering the command within a k8s pod (official docker image):
The Dockerfile builds an executable, maybe there is some difference in behavior?
I also had a look at the code. If I read the code correctly I saw that the
get_client
def in thees_client
lib raises anESClientException
but curator just catches aClientException
.The text was updated successfully, but these errors were encountered: