Actions
Issue #8475
closedPublished distributions are not viewable at base url of content app
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
If you go to the base url of the content app /pulp/content/
to view all the published distributions when an AnsibleDistribution has been published you get a 500 error
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: [2021-03-30 15:15:23 +0000] [234021] [ERROR] Error handling request
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: Traceback (most recent call last):
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: File "/usr/local/lib/pulp/lib64/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: resp = await self._request_handler(request)
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: File "/usr/local/lib/pulp/lib64/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: resp = await handler(request)
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: File "/home/vagrant/devel/pulpcore/pulpcore/content/handler.py", line 121, in list_distributions
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: directory_list = ["{}/".format(d.base_path) for d in base_paths]
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: File "/home/vagrant/devel/pulpcore/pulpcore/content/handler.py", line 121, in <listcomp>
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: directory_list = ["{}/".format(d.base_path) for d in base_paths]
Mar 30 15:15:23 pulp3-source-fedora33.localhost.example.com gunicorn[234021]: AttributeError: 'str' object has no attribute 'base_path'
Related issues
Updated by gerrod over 3 years ago
- Subject changed from AnsibleDistributions break viewing other Pulp distributions in the content app to Published distributions are not viewable at base url of content app
- Assignee set to gerrod
After some testing I found that you can't see any distribution at /pulp/content/
.
Updated by bmbouter over 3 years ago
- Project changed from Ansible Plugin to Pulp
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Added by gerrod over 3 years ago
Updated by gerrod over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|6ebab80fb95546abdc5d47391d49a4a80675c4d4.
Updated by ggainey over 3 years ago
- Related to Issue #8518: Can't browse rpm repo listing added
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fixed distributions not being viewable in content app
fixes: #8475 https://pulp.plan.io/issues/8475