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

Container image update incompatibility #1081

Closed
git-hyagi opened this issue Sep 7, 2023 · 1 comment · Fixed by #1082
Closed

Container image update incompatibility #1081

git-hyagi opened this issue Sep 7, 2023 · 1 comment · Fixed by #1082
Labels

Comments

@git-hyagi
Copy link
Collaborator

Version
pulp-operator v1.0.0-beta.1
pulp-minimal latest/stable/3.33

Describe the bug
The latest/stable/3.33 pulp-minimal image modified the container entrypoint and now the API pods are getting stuck in a crashloopbackoff state because they are failing during initialization:

...
  2023-09-07T03:18:11.528620544Z   File "/usr/local/lib/python3.8/site-packages/pulpcore/app/wsgi.py", line 17, in <module>
  2023-09-07T03:18:11.528623844Z     raise RuntimeError("This app must be executed using pulpcore-api entrypoint.")
  2023-09-07T03:18:11.528632045Z RuntimeError: This app must be executed using pulpcore-api entrypoint.

To Reproduce
Steps to reproduce the behavior:
Set Pulp CR image_version as latest or stable or 3. 33 (these are all the same image):

spec:
  image: quay.io/pulp/pulp-minimal
  image_version: stable

Expected behavior
The image should be compatible with the operator.

Adapt the current version of the operator to be compatible with the image change (but it will break compatibility with the other image versions).
ref: #746

@git-hyagi git-hyagi added the Issue label Sep 7, 2023
@mdellweg
Copy link
Member

mdellweg commented Sep 7, 2023

Can we make the operator use the entry points to the images in the same way as the podman-compose?
That would help us avoid such situations.

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

Successfully merging a pull request may close this issue.

2 participants