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

ModuleNotFoundError: No module named 'nginx' #653

Closed
git-hyagi opened this issue Jul 18, 2024 · 1 comment · Fixed by #654
Closed

ModuleNotFoundError: No module named 'nginx' #653

git-hyagi opened this issue Jul 18, 2024 · 1 comment · Fixed by #654

Comments

@git-hyagi
Copy link
Contributor

Version
pulp-minimal image

Describe the bug
The operator is failing to run the route_paths.py:

sh-5.1$ /usr/bin/route_paths.py content
Traceback (most recent call last):
  File "/usr/bin/route_paths.py", line 7, in <module>
    import nginx
ModuleNotFoundError: No module named 'nginx'

which is impacting the deployment of ingress resources.

Additional context
I think it is related to:
264d840#diff-96ada1b0cf2d5e352ac9148dd4e446026cac44d852a94669e1e5172b7b2a472bL86

@mdellweg
Copy link
Member

OK, agree. So this package is not a pulpcore requirement. But it's not listed as a requirement elsewhere, is it?

mdellweg added a commit to mdellweg/pulp-oci-images that referenced this issue Jul 19, 2024
It seems like python-nginx was needed by the operator.

Fixes pulp#653
@pulpbot pulpbot moved this to Needs review in RH Pulp Kanban board Jul 19, 2024
mdellweg added a commit to mdellweg/pulp-oci-images that referenced this issue Jul 19, 2024
It seems like python-nginx was needed by the operator.

Fixes pulp#653
@pulpbot pulpbot moved this from Needs review to Done in RH Pulp Kanban board Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants