Project

Profile

Help

Issue #9166

pulp fails to function when installed from RPMs on CentOS 8

Added by mdepaulo@redhat.com about 2 months ago. Updated about 2 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
Installer
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]

Associated revisions

Revision 3ec9ec65 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision 3ec9ec65 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision ecbc32c4 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision ecbc32c4 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision dce847f1 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision dce847f1 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166

Revision a8c12ebc View on GitHub
Added by Mike DePaulo about 1 month ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166 (cherry picked from commit dce847f16955eaf2e7c80bf70ee0a08e63e0027e)

Revision a8c12ebc View on GitHub
Added by Mike DePaulo about 1 month ago

Problem: pulp fails to function when installed from RPMs on CentOS 8

Solution: Explicitly install the undeclared dependency python3-markuppy from the pulpcore repo for the EPEL8 RPM python3-tablib.

See https://bugzilla.redhat.com/show_bug.cgi?id=1986965

fixes: #9166 (cherry picked from commit dce847f16955eaf2e7c80bf70ee0a08e63e0027e)

History

#1 Updated by pulpbot about 2 months ago

  • Status changed from NEW to POST

#2 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED

#6 Updated by fao89 about 2 months ago

  • Sprint/Milestone set to 3.14.3-1

#7 Updated by pulpbot about 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF