Issue #5496
closedinstaller fails on el7 installing pulp_rpm
Description
During the compliation of createrepo_c:
failed: [devel2] (item={'key': 'pulp-rpm', 'value': {'app_label': 'rpm', 'source_dir': 'git+https://github.com/pulp/pulp_rpm.git#egg=pulp-rpm'}}) => changed=false
ansible_loop_var: item
cmd:
- /usr/local/lib/pulp/bin/pip
- install
- -e
- git+https://github.com/pulp/pulp_rpm.git#egg=pulp-rpm
item:
key: pulp-rpm
value:
app_label: rpm
source_dir: git+https://github.com/pulp/pulp_rpm.git#egg=pulp-rpm
msg: |-
stdout: Obtaining pulp-rpm from git+https://github.com/pulp/pulp_rpm.git#egg=pulp-rpm
Updating /usr/local/lib/pulp/src/pulp-rpm clone
Collecting createrepo_c~=0.13 (from pulp-rpm)
Downloading https://files.pythonhosted.org/packages/11/95/3be5839b3ff566e5d313086b76976c14932dc166b901faa0acf471af2f64/createrepo_c-0.14.3.tar.gz (591kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-vjcbk91f/createrepo-c/setup.py", line 1, in <module>
from skbuild import setup
ModuleNotFoundError: No module named 'skbuild'
Its strange because i can seem to access skbuild no problem:
[root@devel2 pulp]# python3.6
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import skbuild
>>> from skbuild import setup
Related issues
Updated by daviddavis about 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 59
Updated by ttereshc about 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdepaulo@redhat.com
- Tags deleted (
Documentation)
Added by Mike DePaulo about 5 years ago
Added by Mike DePaulo about 5 years ago
Revision 73dd0515 | View on GitHub
CentOS: Specify pulp_rpm_prerequisites_pypi_packages for the pulp role
re: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
[noissue]
Added by Mike DePaulo about 5 years ago
Revision 7fe36a62 | View on GitHub
Problem: The pulp role should not consult a pulp_rpm
specific variable, pulp_rpm_prerequisites_pypi_packages .
https://github.com/pulp/ansible-pulp/pull/165#issuecomment-535705854
Solution: Append to the common pulp role variable, prereq_pip_packages .
re: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
[noissue]
Added by Mike DePaulo about 5 years ago
Revision 8b73007b | View on GitHub
Problem: pulp-rpm-prerequisites fails on centos7
Because it has python2 installed by default, not python3. It also only has a python2 RPM package, which the yum module needs.
Solution: remove hardcoded python3 as the ansible_python_interpreter, and let Ansible 2.8's auto-interpreter detection do its job.
re: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
[noissue]
Added by Mike DePaulo about 5 years ago
Revision 632ba26f | View on GitHub
Problem: installer fails on el7 installing pulp_rpm
Solution: Install a list of python packages from pulp-rpm-prerequisites (or potentially other roles, or the user) within the venv, via the new var prereq_pip_packages .
Fixes: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
Required PR: https://github.com/pulp/pulp-rpm-prerequisites/pull/9
Added by Mike DePaulo about 5 years ago
Revision 632ba26f | View on GitHub
Problem: installer fails on el7 installing pulp_rpm
Solution: Install a list of python packages from pulp-rpm-prerequisites (or potentially other roles, or the user) within the venv, via the new var prereq_pip_packages .
Fixes: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
Required PR: https://github.com/pulp/pulp-rpm-prerequisites/pull/9
Updated by Anonymous about 5 years ago
- Status changed from ASSIGNED to MODIFIED
Applied in changeset pulp:ansible-pulp3|632ba26f8552529bf3526d5ce747b454aefbfe70.
Updated by kersom about 5 years ago
- Related to Story #4651: As a user, I can install pulp 3 on a RHEL host added
Updated by mdepaulo@redhat.com about 5 years ago
- Status changed from MODIFIED to 5
Updated by mdepaulo@redhat.com about 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
https://github.com/pulp/ansible-pulp/pull/165 was merged a while ago, and any reported issues were resolved. So I'm marking as closed.
Update RPM packages for CentOS w/ createrepo_c 0.14.3 from PyPI
re: #5496 installer fails on el7 installing pulp_rpm https://pulp.plan.io/issues/5496
[noissue]