Project

Profile

Help

Issue #9166

closed

pulp fails to function when installed from RPMs on CentOS 8

Added by mdepaulo@redhat.com over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
Installer - Moved to GitHub issues
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

Observed on master branch, but assumed to affect 3.7 and 3.11 also.

This is caused by:

  1. The pulpcore repo hosted by foreman has python3-tablib 3.0.0 and python3-markuppy.
  2. The EPEL8 repo used to have python3-tablib 0.12.1, but now (2021-07-23) it has python3-tablib 3.0.0.
  3. The EPEL8 packaging of python3-tablib doesn't declare its extras dependency on python3-markuppy, which doesn't exist in Fedora/EPEL anyway. I filed a bug about this.
  4. The installer installs python3-tablig 3.0.0 from EPEL rather than from the pulpcore repo.
RUNNING HANDLER [pulp_common : Collect static content] *************************
Tuesday 27 July 2021  19:47:28 +0000 (0:00:00.088)       0:04:47.159 **********
fatal: [centos-8]: FAILED! => {
    "changed": true,
    "cmd": [
        "/usr/bin/pulpcore-manager",
        "collectstatic",
        "--clear",
        "--noinput",
        "--link"
    ],
    "delta": "0:00:00.294165",
    "end": "2021-07-27 19:47:29.640454",
    "rc": 1,
    "start": "2021-07-27 19:47:29.346289"
}

STDERR:

Traceback (most recent call last):
  File "/usr/bin/pulpcore-manager", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'markuppy' distribution was not found and is required by tablib


MSG:

non-zero return code
changed: [centos-7]

Also available in: Atom PDF