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

Issue found in patroni:12-latest image #799

Open
danbigthink opened this issue Oct 5, 2021 · 0 comments
Open

Issue found in patroni:12-latest image #799

danbigthink opened this issue Oct 5, 2021 · 0 comments

Comments

@danbigthink
Copy link

Our existing patroni setup was using patroni:12-latest image tag and stopped working over the last few days (uncertain exactly when, was working Sept. 30, 2021) and
logs showed standard python3.9 error about a missing package.
This image uses python3.9 and is missing the pip package named six.
The older image had python3.7 and the pip package named six was present.

To help troubleshoot this, I managed to update my stateful set to use an older image by sha from our imagestream and things started working fine again.

I created a new pod in my tools ns and ensured these lines were present in my yaml

command:
	- /bin/bash
	- '-c'
	- '--'
 args:
    - while true; do sleep 30; done;

image: image-registry.openshift-image-registry.svc:5000/MYNS-tools/patroni:12-latest

then used terminal to check paths:

ls /usr/local/lib/python3.9/dist-packages
ls /usr/local/lib/python3.7/dist-packages

if you don't see a module named six.py or six* it's likely on the python3.9 image.

Please fix this or help us understand how this could happen!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant