Bug #32739

Incorrect applicablity in katello 4

Added by Gerald Vogt 12 months ago. Updated 9 months ago.

Errata Management
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


See also

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.

Associated revisions

Revision fef8bcf7 (diff)
Added by Ian Ballou 9 months ago

Fixes #32739 - module stream applicability incorrect w/ enabled+inactive modules (#9473)


#1 Updated by James Jeffers 12 months ago

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

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

#2 Updated by Justin Sherrill 11 months ago

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

putting on 4.0.2, but should not block a release

#3 Updated by Gerald Vogt 11 months ago

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

#4 Updated by James Jeffers 11 months 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.

#5 Updated by Justin Sherrill 11 months ago

  • Bugzilla link set to 1980418

#6 Updated by Ian Ballou 10 months 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.

#7 Updated by Gerald Vogt 10 months 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

#8 Updated by The Foreman Bot 10 months ago

  • Assignee set to Ian Ballou
  • Status changed from Need more information to Ready For Testing
  • Pull request added

#9 Updated by Ian Ballou 10 months ago

  • Assignee deleted (Ian Ballou)
  • Pull request added

#10 Updated by James Jeffers 10 months ago

  • Target version changed from Katello 4.0.2 to Katello 4.0.3

#11 Updated by The Foreman Bot 10 months ago

  • Assignee set to Ian Ballou

#12 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 4.3.0 added

#13 Updated by Anonymous 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF