Project

Profile

Help

Issue #6628

nginx config broken in Pulp in a Container

Added by bmclaugh over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 72
Quarter:

Description

When using Pulp in a Container [1] I experienced issues with getting 404's when attempting to create a token as well as attempting to pull an image via Podman.

[1] https://pulpproject.org/2020/03/15/pulp-fedora31-single-container/

pulp-token-404.txt (1.61 KB) pulp-token-404.txt bmclaugh, 05/01/2020 07:57 PM
pulp-registry-404.txt (2.23 KB) pulp-registry-404.txt bmclaugh, 05/01/2020 07:57 PM

Associated revisions

Revision 0c621782 View on GitHub
Added by Fabricio Aguiar over 1 year ago

Fixed webserver snippets

https://pulp.plan.io/issues/6628 closes #6628

Revision 0c621782 View on GitHub
Added by Fabricio Aguiar over 1 year ago

Fixed webserver snippets

https://pulp.plan.io/issues/6628 closes #6628

History

#1 Updated by fao89 over 1 year ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 72

#2 Updated by dkliban@redhat.com over 1 year ago

This issue can be worked around by exposing the content app directly (without going through nginx).

$ mkdir settings pulp_storage pgsql containers
$ echo "CONTENT_ORIGIN='$(hostname):8081'
ANSIBLE_API_HOSTNAME='http://$(hostname):8080'
ANSIBLE_CONTENT_HOSTNAME='http://$(hostname):8080/pulp/content'
TOKEN_AUTH_DISABLED=True" >> settings/settings.py
$ podman run --detach \
             --publish 8080:80 \
             --publish 8081:24816 \
             --name pulp \
             --volume ./settings:/etc/pulp:Z \
             --volume ./pulp_storage:/var/lib/pulp:Z \
             --volume ./pgsql:/var/lib/pgsql:Z \
             --volume ./containers:/var/lib/containers:Z \
             --device /dev/fuse \
             pulp/pulp-fedora31

#3 Updated by fao89 over 1 year ago

I notice it when updating the plugins, maybe it can help: https://github.com/pulp/pulp-oci-images/pull/3/files

#4 Updated by fao89 over 1 year ago

  • Status changed from NEW to POST
  • Assignee set to fao89

#5 Updated by fao89 over 1 year ago

  • Project changed from Pulp to Container Support

#6 Updated by Anonymous over 1 year ago

  • Status changed from POST to MODIFIED

#7 Updated by ipanova@redhat.com over 1 year ago

  • Sprint/Milestone set to 1.4.0

#8 Updated by ipanova@redhat.com over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF