Project

Profile

Help

Issue #8518

Can't browse rpm repo listing

Added by adam.winberg@smhi.se 8 months ago. Updated 8 months ago.

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

Description

After updating from pulpcore 3.9 to 3.11 I can no longer browse the list of repositories in Pulp. Trying to access '/pulp/content/' results in a 500 error with following error from pulpcore-content service:

[2021-04-07 06:14:26 +0000] [2135216] [ERROR] Error handling request
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
    resp = await self._request_handler(request)
  File "/usr/lib64/python3.6/site-packages/aiohttp/web_app.py", line 499, in _handle
    resp = await handler(request)
  File "/usr/lib/python3.6/site-packages/pulpcore/content/handler.py", line 121, in list_distributions
    directory_list = ["{}/".format(d.base_path) for d in base_paths]
  File "/usr/lib/python3.6/site-packages/pulpcore/content/handler.py", line 121, in <listcomp>
    directory_list = ["{}/".format(d.base_path) for d in base_paths]
AttributeError: 'str' object has no attribute 'base_path'

Access to the repository publications/distributions are working fine, so this is more of a cosmetic problem for me, also I have built some tooling and monitoring relying on being able to list and browse repos via web browser.

Is this an expected behaviour? I couldn't find anything in the release notes but I might be missing something.

Using:

python3-pulp-rpm-3.9.1-1.el8.noarch
python3-pulpcore-3.11.0-1.el8.noarch

Related issues

Related to Pulp - Issue #8475: Published distributions are not viewable at base url of content appCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by ggainey 8 months ago

  • Project changed from RPM Support to Pulp
  • Status changed from NEW to CLOSED - DUPLICATE

This is a symptom of a problem in pulpcore that has been in fixed and will be in the 3.12 release of pulpcore

#2 Updated by ggainey 8 months ago

  • Related to Issue #8475: Published distributions are not viewable at base url of content app added

#3 Updated by ggainey 8 months ago

  • Triaged changed from No to Yes

Please register to edit this issue

Also available in: Atom PDF