Perl module issues when using repos synced from pulp3

Problem:
we are currently in a transition state from pulp2 to pulp3. We use redhat EL8 and we have noticed a strange problem when using pulp3.
as part of our image build scripts, we use a simple command “dnf install perl”. What we have noticed is , when using pulp2, the default perl version from upstream repo is perl:5.26, however when the same appstream repo is synced using pulp3, the default version changes to perl:5.30 and we see weird package install errors like below.

sample error log

`Problem 1: package perl-threads-1:2.21-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed

  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-421.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-417.el8_3.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
  • cannot install the best update candidate for package perl-threads-1:2.21-2.el8.x86_64
  • cannot install the best update candidate for package perl-libs-4:5.26.3-421.el8.x86_64
    Problem 2: package perl-version-6:0.99.24-1.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-421.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-416.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-417.el8_3.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
  • cannot install both perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
  • package perl-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  • cannot install the best update candidate for package perl-version-6:0.99.24-1.el8.x86_64
  • cannot install the best update candidate for package perl-4:5.26.3-421.el8.x86_64
    `

has anyone reported similar errors or have you/your team noticed issues when using RHEL-8 appstream repos?

Expected outcome:
perl version should not change.

Pulpcore version:
versions:

  • component: core
    package: pulpcore
    version: 3.22.3

Pulp plugins installed and their versions:

  • component: rpm
    package: pulp-rpm
    version: 3.19.2
  • component: container
    package: pulp-container
    version: 2.14.3

Operating system - distribution and version:
RHEL -7

Other relevant data:

@bkwfanena Could you fill in the details on what particular versions of pulp 3 components you are using?

Also which package were you attempting to install which lead to those errors?

Sorry, I thought I had updated that info, Anywhere… here are the core versions…
versions:

  • component: core
    package: pulpcore
    version: 3.22.3
  • component: rpm
    package: pulp-rpm
    version: 3.19.2
  • component: container
    package: pulp-container
    version: 2.14.3

Also we notice this error when installing “perl”
so we run dnf/yum install perl -y and see this when we sync rhel-8 appstream repo with pulp3, but dont see this error when we use the same repo with pulp2

Oh, sorry, I missed the part where you said that (about “dnf install perl”) in the original post. Which you did.

Thanks, I’ll take a look. As a sidenote, we (Pulp) aren’t really officially supporting (testing, at least) EL7 anymore as a base OS on which it’s installed, but I’m not sure if that’s directly relevant to your issue.

Was this installation migrated from Pulp 2 to Pulp 3 using the migration plugin, or is it a fresh setup? If so, which versions were used? If not, is it upgraded from a previous version of Pulp 3 pulpcore and pulp-rpm, and if so which versions were used originally?

@dralley ,
Thank you for looking into it. This was a fresh installation, and looks like we’ve identified the issue and its not pulp.
one of the install scripts was performing an yum update on the box, and that upgraded our images from 8 to 8.7, however the repos/remote were still at 8. we needed to update the remote URL in pulp3 to use 8.7 repos.

Thanks,

2 Likes

Ahh, cool, thanks for the update.