Project

Profile

Help

Issue #8042

closed

pulp_installer cannot upgrade RPM installs on EL8 due to python3-rq issue

Added by mdepaulo@redhat.com almost 4 years ago. Updated almost 4 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:
CI/CD
Sprint:
Quarter:

Description

During our CI test packages-upgrade:

TASK [pulp_common : List packages to be upgraded] ******************************
Monday 04 January 2021  23:32:40 +0000 (0:00:01.530)       0:02:04.014 ********
ok: [centos-7] => {}

MSG:

['libcomps', 'libsolv', 'pulpcore-selinux', 'python2-libcomps', 'python3-aiodns', 'python3-aiofiles', 'python3-aiohttp', 'python3-backoff', 'python3-box', 'python3-cffi', 'python3-diff-match-patch', 'python3-django-filter', 'python3-django-import-export', 'python3-djangorestframework-queryfields', 'python3-djangorestframework', 'python3-django', 'python3-dotenv', 'python3-dynaconf', 'python3-idna-ssl', 'python3-idna', 'python3-inflection', 'python3-multidict', 'python3-odfpy', 'python3-openpyxl', 'python3-packaging', 'python3-psycopg2', 'python3-pulp-file', 'python3-pulpcore', 'python3-pycares', 'python3-pytz', 'python3-pyyaml', 'python3-redis', 'python3-requests', 'python3-rq', 'python3-six', 'python3-sqlparse', 'python3-tablib', 'python3-toml', 'python3-typing-extensions', 'python3-typing', 'python3-urllib3', 'python3-whitenoise', 'python3-yarl']
ok: [centos-8] => {}

MSG:

['libcomps', 'libsolv', 'pulpcore-selinux', 'pulpcore-selinux', 'python3-aiodns', 'python3-aiofiles', 'python3-aiohttp', 'python3-backoff', 'python3-box', 'python3-cffi', 'python3-diff-match-patch', 'python3-django', 'python3-django-filter', 'python3-django-import-export', 'python3-djangorestframework', 'python3-djangorestframework-queryfields', 'python3-dotenv', 'python3-dotenv', 'python3-dynaconf', 'python3-idna', 'python3-idna-ssl', 'python3-inflection', 'python3-libcomps', 'python3-multidict', 'python3-odfpy', 'python3-openpyxl', 'python3-packaging', 'python3-psycopg2', 'python3-pulp-file', 'python3-pulpcore', 'python3-pycares', 'python3-pytz', 'python3-pyyaml', 'python3-redis', 'python3-requests', 'python3-rq', 'python3-six', 'python3-sqlparse', 'python3-tablib', 'python3-toml', 'python3-typing', 'python3-typing-extensions', 'python3-urllib3', 'python3-whitenoise', 'python3-yarl']

TASK [pulp_common : Upgrade all existing installed Pulp packages] **************
Monday 04 January 2021  23:32:40 +0000 (0:00:00.231)       0:02:04.245 ********
fatal: [centos-8]: FAILED! => {
    "changed": false,
    "failures": [],
    "rc": 1,
    "results": []
}

MSG:

Depsolve Error occured: 
 Problem: package python3-pulpcore-3.7.3-1.el8.noarch requires python3-rq < 1.6, but none of the providers can be installed
  - cannot install both python3-rq-1.7.0-1.el8.noarch and python3-rq-1.3.0-1.el8.noarch
  - cannot install both python3-rq-1.5.2-1.el8.noarch and python3-rq-1.7.0-1.el8.noarch
  - cannot install the best update candidate for package python3-rq-1.3.0-1.el8.noarch
  - cannot install the best update candidate for package python3-pulpcore-3.3.1-1.el8.noarch
changed: [centos-7]

This appears to be caused by the following situation for centos8:

  • The Foreman Pulp repo's old version of python3-rq, which is installed, is 1.3
  • The Foreman Pulp repo's python3-rq is at 1.5
  • EPEL's python3-rq is 1.7 (a recent update, that triggered this breakage)
  • The Foreman Pulp repo's python3-pulpcore-3.7.3-1.el8.noarch requires python3-rq < 1.6
  • Our pulp_installer logic only tries to update the packages from the repo, but it tries to install the very latest version of the package, which happens to from EPEL and is newer than 1.6
Actions #1

Updated by mdepaulo@redhat.com almost 4 years ago

pulpcore 3.7.3 does not support RQ 1.7 because this feature does not exist on the 3.7 branch: https://pulp.plan.io/issues/7902

Added by Mike DePaulo almost 4 years ago

Revision e44836e2 | View on GitHub

Problem: pulp_installer cannot upgrade RPM installs

on EL8 due to python3-rq issue

Solution: Use a temporary dnf.conf with best=False

fixes: #8042

Added by Mike DePaulo almost 4 years ago

Revision e44836e2 | View on GitHub

Problem: pulp_installer cannot upgrade RPM installs

on EL8 due to python3-rq issue

Solution: Use a temporary dnf.conf with best=False

fixes: #8042

Actions #2

Updated by pulpbot almost 4 years ago

  • Status changed from NEW to POST
Actions #3

Updated by Anonymous almost 4 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by ttereshc almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF