Description of problem: In the minor update workflow, we currently use the dnf Ansible module to ensure that the right streams were enabled. However, the dnf Ansible module doesn't only enable the stream, but synchronizes the whole content also installing/updating packages which were not installed before the update. ~~~ [heat-admin@controller-0 ~]$ sudo grep selinux /var/log/dnf.rpm.log 2023-01-20T07:26:01+0000 SUBDEBUG Upgrade: container-selinux-2:2.167.0-1.module+el8.4.0+16976+f10e9028.noarch 2023-01-20T07:26:31+0000 SUBDEBUG Upgraded: container-selinux-2:2.124.0-1.module+el8.2.0+9938+46853747.noarch ~~~ 2023-01-20 07:25:53.931370 | 52540084-e420-e1e0-e7d2-00000000046b | TASK | Ensure DNF modules have the right stream 2023-01-20 07:27:10.899203 | 52540084-e420-e1e0-e7d2-00000000046b | TIMING | Ensure DNF modules have the right stream | controller-0 | 0:01:44.830983 | 76.97s 2023-01-20 07:27:29 | 2023-01-20 07:27:10.902892 | 52540084-e420-e1e0-e7d2-00000000046b | TIMING | Ensure DNF modules have the right stream | controller-0 | 0:01:44.834692 | 76.97s ~~~ Version-Release number of selected component (if applicable): How reproducible: Found in CI Steps to Reproduce: 1. Deploy 16.1z6 2. Update undercloud to 16.2 with RHOS-16.2-RHEL-8-20221124.n.1 puddle 3. Run controller update Actual results: When modules are enabled, some packages are updated. Expected results: Updating packages should not happen when enabling modules. Additional info:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.2.5 (Train) bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:1763