-
Notifications
You must be signed in to change notification settings - Fork 81
404 not found on all content #1157
Comments
After downgrading the pulp_installer collection |
I had the same problem. |
See https://discourse.pulpproject.org/t/ansible-installer-content-path-prefix-handling-broken/481 - the problem is in pulp_installer's setting of CONTENT_PATH_PREFIX. I just tested on my dev-box, and making sure that /etc/pulp/settings.py sets CONTENT_PATH_PREFIX like so: CONTENT_PATH_PREFIX = '/pulp/content/' # <== NOTE the trailing slash fixes the problem. I'm moving this issue to pulp_installer, will comment same on the discourse thread! |
@pavelpicka Why did you originally write "Do not append trailing slash."? |
Due to an incorrect value of pulp_settings.content_path_prefix fixes: pulp#1157
Due to an incorrect value of pulp_settings.content_path_prefix fixes: pulp#1157
Due to an incorrect value of pulp_settings.content_path_prefix fixes: #1157
Hi,
I hope this is the right way to do this, I am getting 404: Not found on all types of /content/ requests.
I am running the follow versions:
I have used the RPM module to host/serve repositories and i have tried using the file module. Both to no avail.
I have followed this manual for the file module for the creating of a repository and syncing with remote: https://docs.pulpproject.org/pulp_file/workflows/sync.html#create-a-repository-foo
And i have used https://docs.pulpproject.org/pulp_file/workflows/publish-host.html to publish it.
Via pulp-cli i see it has created a successful distribution that should be accessible:
The API using
GET /pulp/api/v3/content/file/files/
also there are 3 ISO's present on the system.But no matter what I do, I keep getting 404: Not Found
This setup has been deployed with suggested Ansible role using version: pulp.pulp_installer 3.19.2
The text was updated successfully, but these errors were encountered: