-
Notifications
You must be signed in to change notification settings - Fork 45
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
403 : Access not Authenticated issue on PULP UI #1867
Comments
@VrindaMarwah I moved the issue over to pulp_container since that seems to be the plugin you are having trouble with. Also, I rewrote the information you shared in your screenshots to text and redacted the information that should be private. |
@VrindaMarwah I can't reproduce this. When I was converting your images to text I don't know if I missed/erred on copying somethings, so some follow up questions: When creating a distribution you are not using When doing the login have you tried manually specifying your Pulp host in the command, e.g. Finally, did you check the status of the sync task after it completed? It is possible the sync failed and that is why podman can't find the image, since it's technically not there! As for nerdctl tool, from my brief reading of their github page we probably support a good portion of the features of that tool. We implement the Registry API V2 and this spec is what most OCI tooling is built around. It is possible some extra features of the tool might not work with Pulp, but we have never tested it so we wouldn't know. As for the second question I have no idea. |
I created a fresh repository and synced the remote using the below command as given in the Pulp doc: After this, I created a distribution using the command (without the --publication flag): But still my dashboard shows 403: Access not Authorized: Since SSL is not setup for my Pulp registry, I have configured podman to work with insecure registry: and, I am able to successfully login to the registry, but podman pull is resulting in 500 internal server error: |
Can you see what the 500 error is? As for the 403 when you access from the browser that is because by default pulp_container content is protected by a redirect content guard which only allows downloading the content upon a successful redirect from the registry api. You could remove the content guard to see the stored content. |
Thank you for the response @gerrod3. For the 403 error, I removed the content guard using the below command:
since the command The 403 error got resolved however, the dashboard lists the image checksums: Is this the expected output from the pulp dashboard? If yes, does pulp support displaying list of downloaded images, instead of checksums? |
I have deployed a pulp container using podman and created a pulp container registry 'container_images', also created a remote. I synced the repo and created a distribution but on the Pulp UI, I am getting 403 status code and unable to view the synced image.
Additionally, I have disabled the token authentication for my container registry and below is the screenshot of my settings.py:
Below are the commands run:
Also, configured the container registry as insecure registry in /etc/containers/registries.conf
I am trying to pull the image from the pulp registry using podman:
The login is successful but the image pull is failing:
Also, wanted to check on the following points:
The text was updated successfully, but these errors were encountered: