Description of problem: In 16.2 the validation check-latest-packages-version takes 47 minutes to run. In 16.1 it only took 30 seconds. In IRC it was determined that by changing a variable name the time could be reduced. openstack tripleo validator run --validation check-latest-packages-version Running Validations without Overcloud settings. +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | 45748696-f0ad-4354-8df3-b9353cb7bff6 | check-latest-packages-version | FAILED | localhost | localhost | | 0:47:07.384 | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ Version-Release number of selected component (if applicable): RHOS-16.2-RHEL-8-20210319.n.0 How reproducible: Every time Steps to Reproduce: 1. Enter openstack tripleo validator run --validation check-latest-packages-version from a command line. 2. 3. Actual results: check-latest-packages-version takes 47 minutes to complete Expected results: check-latest-packages-version takes a time similar to the OSP 16.1 time of 30 seconds. Additional info:
Fix build in validations-common 16.2 https://pkgs.devel.redhat.com/cgit/rpms/validations-common/commit/?h=rhos-16.2-rhel-8-trunk&id=3c9e6b40a9de67a4f688f450c4c4ae3e606abb06
Took five seconds now: (undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator run --validation check-latest-packages-version Running Validations without Overcloud settings. +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | 33208071-566f-4c3e-8ab7-9aada64cbfa7 | check-latest-packages-version | PASSED | localhost | localhost | | 0:00:05.077 | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
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 (RHOSP) 16.2 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/RHEA-2021:3483