Issue #9166
closedpulp fails to function when installed from RPMs on CentOS 8
Description
Observed on master branch, but assumed to affect 3.7 and 3.11 also.
This is caused by:
- The pulpcore repo hosted by foreman has python3-tablib 3.0.0 and python3-markuppy.
- The EPEL8 repo used to have python3-tablib 0.12.1, but now (2021-07-23) it has python3-tablib 3.0.0.
- 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.
- 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]
Added by Mike DePaulo over 3 years ago
Added by Mike DePaulo over 3 years ago
Revision 3ec9ec65 | View on GitHub
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
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Updated by Anonymous over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|3ec9ec65f352cb4114344d823d3f3b68f861752a.
Added by Mike DePaulo over 3 years ago
Revision ecbc32c4 | View on GitHub
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
Added by Mike DePaulo over 3 years ago
Revision ecbc32c4 | View on GitHub
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
Added by Mike DePaulo over 3 years ago
Revision dce847f1 | View on GitHub
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
Added by Mike DePaulo over 3 years ago
Revision dce847f1 | View on GitHub
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
Updated by pulpbot over 3 years ago
Updated by pulpbot over 3 years ago
Updated by pulpbot over 3 years ago
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Added by Mike DePaulo over 3 years ago
Revision a8c12ebc | View on GitHub
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)
Added by Mike DePaulo over 3 years ago
Revision a8c12ebc | View on GitHub
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)
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