Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Issue found in patroni:12-latest image #799

@danbigthink

Description

@danbigthink

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions