Problem:
Since migrating to pulp3 and upgrading to katello 4.0 all our centos8 server show a count of installable updates even though those packages are not available in the enabled module stream.
Currently, we have the perl 5.26 module stream enable on those server:
# 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][e] 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][e] 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
For instance, we have the perl-libwww-perl installed:
# rpm -q perl-libwww-perl
perl-libwww-perl-6.34-1.module_el8.3.0+416+dee7bcef.noarch
With Katello 4 it suggest perl-libwww-perl-6.34-1.module_el8.3.0+416+9a1a0b3f.noarch as installable package. However that package requires āperl(:MODULE_COMPAT_5.30.1)ā, i.e. itās for the perl:5.30 module stream and not for the perl:5.26. Itās not offered as update on the server and itās not possible to install it either because of that dependency.
With Katello 3.18.2 and pulp2 all those servers were correctly listed as up-to-date.
Expected outcome:
List only applicable/installable packages which are really available in the currently enabled module streams.
Foreman and Proxy versions:
Foreman 2.4, Katello 4.0