Project

Profile

Help

Issue #8475

Published distributions are not viewable at base url of content app

Added by gerrod 4 months ago. Updated 4 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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

Related to Pulp - Issue #8518: Can't browse rpm repo listingCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 6ebab80f View on GitHub
Added by gerrod 4 months ago

Fixed distributions not being viewable in content app

fixes: #8475 https://pulp.plan.io/issues/8475

History

#1 Updated by gerrod 4 months 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/.

#2 Updated by bmbouter 4 months ago

  • Project changed from Ansible Plugin to Pulp

#3 Updated by pulpbot 4 months ago

  • Status changed from NEW to POST

#4 Updated by gerrod 4 months ago

  • Status changed from POST to MODIFIED

#5 Updated by mdellweg 4 months ago

  • Sprint/Milestone set to 3.12.0

#6 Updated by ggainey 4 months ago

  • Related to Issue #8518: Can't browse rpm repo listing added

#7 Updated by pulpbot 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF