Project

General

Profile

Actions

Bug #32739

closed

Incorrect applicablity in katello 4

Added by Gerald Vogt about 3 years ago. Updated almost 3 years ago.

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

Description

See also https://community.theforeman.org/t/applicable-rpms-listed-from-inactive-module-streams/23282

After upgrading to katello 4 centos8 show some new rpm applicability which are incorrect, e.g. it suggest updates of an rpm which is actually for a different version of perl in a different perl module.

The applicability for packages from module streams is broken. For instance, it shows perl-DBI-1.641-3.module_el8.1.0+199+249f9f29.x86_64 as applicable.

On the server, I have the perl-5.26 module enabled. I have the rpm perl-DBI-1.641-3.module_el8.1.0+199+8f0a6bbd.x86_64 installed which is for 5.26.

The suggested rpm perl-DBI-1.641-3.module_el8.1.0+199+249f9f29.x86_64 is not available on the server as that rpm is for the perl 5.24 module.

With 3.18/pulp2 the server did not show any applicable updates.

Actions #1

Updated by James Jeffers about 3 years ago

  • Status changed from New to Need more information
  • Assignee set to Ian Ballou

Ian, is this already addressed or fixed? Let us know.

Actions #2

Updated by Justin Sherrill about 3 years ago

  • Category set to Errata Management
  • Assignee deleted (Ian Ballou)
  • Target version set to Katello 4.0.2
  • Triaged changed from No to Yes

putting on 4.0.2, but should not block a release

Actions #3

Updated by Gerald Vogt about 3 years ago

Why is this in status "need more information"? What information do you need?

Actions #4

Updated by James Jeffers about 3 years ago

Gerald Vogt wrote:

Why is this in status "need more information"? What information do you need?

The question was intended to remind us or Ian to look into this, IIRC.

Actions #5

Updated by Justin Sherrill about 3 years ago

  • Bugzilla link set to 1980418
Actions #6

Updated by Ian Ballou about 3 years ago

It's looking like the bug is related to module streams with the same name, stream, and version but different contexts being enabled at once (from the package profile's perspective). In my case I have 3 perl-IO-Socket-SSL module streams and 3 perl-libwww-perl module streams enabled. Bad applicable RPMs are showing up for packages like `perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+3b5aa49a.noarch`. It seems only one rpm from the 3 enabled module streams was installed.

I first need to check that the package profile is correct in that there really are 3 module streams with almost the same NSVCAs enabled. If that is right, we'll need to find out how applicability should function in this case.

Actions #7

Updated by Gerald Vogt about 3 years ago

Well, for me all I do on a new CentOS 8.4 minimal server is to install perl-LDAP which enables three modules in the process: perl 5.26, perl-IO-Socket-SSL and perl-libwww-perl.

# dnf module list *perl*
...
CentOS-8 - AppStream
Name                        Stream               Profiles                    Summary                                            
perl                        5.24                 common [d], minimal         Practical Extraction and Report Language           
perl                        5.26 [d][e]          common [d], minimal         Practical Extraction and Report Language           
perl                        5.30                 common [d], minimal         Practical Extraction and Report Language           
perl-App-cpanminus          1.7044 [d]           common [d]                  Get, unpack, build and install CPAN modules        
perl-DBD-MySQL              4.046 [d]            common [d]                  A MySQL interface for Perl                         
perl-DBD-Pg                 3.7 [d]              common [d]                  A PostgreSQL interface for Perl                    
perl-DBD-SQLite             1.58 [d]             common [d]                  SQLite DBI driver                                  
perl-DBI                    1.641 [d]            common [d]                  A database access API for Perl                     
perl-FCGI                   0.78 [d]             common [d]                  FastCGI Perl bindings                              
perl-IO-Socket-SSL          2.066 [d][e]         common [d]                  Perl library for transparent TLS                   
perl-YAML                   1.24 [d]             common [d]                  Perl parser for YAML                               
perl-libwww-perl            6.34 [d][e]          common [d]                  A Perl interface to the World-Wide Web             

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

I then shows me 23 upgradable packages for the server even though it's up to date:

Upgradable Package
    perl-Data-Dump-1.23-7.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Digest-HMAC-1.03-17.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Encode-Locale-1.05-10.module_el8.3.0+416+9a1a0b3f.noarch
    perl-File-Listing-6.04-17.module_el8.3.0+416+9a1a0b3f.noarch
    perl-HTML-Parser-3.72-15.module_el8.3.0+416+9a1a0b3f.x86_64
    perl-HTML-Tagset-3.20-34.module_el8.3.0+416+9a1a0b3f.noarch
    perl-HTTP-Cookies-6.04-2.module_el8.3.0+416+9a1a0b3f.noarch
    perl-HTTP-Date-6.02-19.module_el8.3.0+416+9a1a0b3f.noarch
    perl-HTTP-Message-6.18-1.module_el8.3.0+416+9a1a0b3f.noarch
    perl-HTTP-Negotiate-6.01-19.module_el8.3.0+416+9a1a0b3f.noarch
    perl-IO-HTML-1.001-11.module_el8.3.0+416+9a1a0b3f.noarch
    perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+3b5aa49a.noarch
    perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+4cc2efa4.noarch
    perl-libwww-perl-6.34-1.module_el8.3.0+416+9a1a0b3f.noarch
    perl-LWP-MediaTypes-6.02-15.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Mozilla-CA-20160104-7.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Net-HTTP-6.17-2.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Net-SSLeay-1.88-1.module_el8.3.0+410+3b5aa49a.x86_64
    perl-Net-SSLeay-1.88-1.module_el8.3.0+410+4cc2efa4.x86_64
    perl-NTLM-1.09-17.module_el8.3.0+416+9a1a0b3f.noarch
    perl-TimeDate-1:2.30-15.module_el8.3.0+416+9a1a0b3f.noarch
    perl-Try-Tiny-0.30-7.module_el8.3.0+416+9a1a0b3f.noarch
    perl-WWW-RobotRules-6.02-18.module_el8.3.0+416+9a1a0b3f.noarch

Actions #8

Updated by The Foreman Bot about 3 years ago

  • Status changed from Need more information to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/9473 added
Actions #9

Updated by Ian Ballou about 3 years ago

  • Assignee deleted (Ian Ballou)
  • Pull request https://github.com/candlepin/subscription-manager/pull/2708 added
Actions #10

Updated by James Jeffers almost 3 years ago

  • Target version changed from Katello 4.0.2 to Katello 4.0.3
Actions #11

Updated by The Foreman Bot almost 3 years ago

  • Assignee set to Ian Ballou
Actions #12

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #13

Updated by Anonymous almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF