Project

General

Profile

Actions

Bug #34463

closed

remove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it)

Added by Justin Sherrill about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Description of problem:
python3-pulp-2to3-migration rpm prevents upgrades to solve dependencies as python3-pulp-2to3-migration requirement for "python3-pulpcore < 3.15" conflicts with tfm-pulpcore-python3-pulpcore-3.16 rpm

How reproducible:
deterministic

Steps to Reproduce:
1. Have a Sat 6.10.2 (upgraded from 6.9 so it content migration was performed = python3-pulp-2to3-migration is present)
  1. rpm -q python3-pulp-2to3-migration
    python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch
2. Upgrade to 7.0.0
  1. satellite-maintain upgrade run --target-version 7.0 -w repositories-validate,repositories-setup -y
    ...

Running Migration scripts to Satellite 7.0 ================================================================================
Setup repositories: [SKIPPED]
--------------------------------------------------------------------------------
Unlock packages: [OK]
--------------------------------------------------------------------------------
Update package(s) : [FAIL]
Failed executing yum y --disableplugin=foreman-protector update, exit status 1:
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
-
> Running transaction check
...

Error: Package: python2-solv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
Requires: libsolv(x86-64) = 0.7.20-1.el7pc
Removing: libsolv-0.7.20-1.el7pc.x86_64 (@rhel-7-server-satellite-6.10-rpms)
libsolv(x86-64) = 0.7.20-1.el7pc
Updated By: libsolv-0.7.20-4.el7pc.x86_64 (rhel-7-server-satellite-7.0-rpms)
libsolv(x86-64) = 0.7.20-4.el7pc
Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.11-1.el7
Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.20-5.el7
Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.26-1.el7
Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.26-2.el7
Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.34-2.el7
Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
libsolv(x86-64) = 0.6.34-4.el7
Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
Requires: python3-pulpcore >= 3.13
Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
python3-pulpcore = 3.14.9-1.el7pc
Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.1-1.el7pc.noarch (rhel-7-server-satellite-7.0-rpms)
Not found
Error: Package: python3-pulp-2to3-migration-0.12.0-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
Requires: python3-pulpcore < 3.15
Removing: python3-pulpcore-3.14.9-1.el7pc.noarch (@rhel-7-server-satellite-6.10-rpms)
python3-pulpcore = 3.14.9-1.el7pc
Obsoleted By: tfm-pulpcore-python3-pulpcore-3.16.1-1.el7pc.noarch (rhel-7-server-satellite-7.0-rpms)
Not found

Actual results:
upgrade failed to solve dependencies

Expected results:
upgrade is successful

Additional info:
the output shows there is yet another issue: python2-solv => yet another BZ

Actions #1

Updated by Justin Sherrill about 2 years ago

  • Project changed from Katello to Foreman Maintain
  • Subject changed from remove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it) to remove pulp2 automatically on upgrade to 7.0 (If the user hasn't already done it)
  • Target version deleted (Katello 4.4.0)
Actions #2

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/theforeman/foreman_maintain/pull/589 added
Actions #3

Updated by Ian Ballou about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ian Ballou about 2 years ago

  • Status changed from Closed to Assigned
Actions #5

Updated by The Foreman Bot about 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/595 added
Actions #6

Updated by Ian Ballou about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF