Bug 1942531 - OSP 16.2 Valdator check-latest-packages-version takes 47 minutes to run
Summary: OSP 16.2 Valdator check-latest-packages-version takes 47 minutes to run
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: validations-common
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 16.2 (Train on RHEL 8.4)
Assignee: Jiri Podivin
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-24 14:10 UTC by David Rosenfeld
Modified: 2021-09-15 07:13 UTC (History)
2 users (show)

Fixed In Version: validations-common-1.1.2-2.20210327005000.5795fa8.el8ost
Doc Type: Bug Fix
Doc Text:
Before this update, execution of the validation package `check-latest-packages-version` was slow. This update resolves the issue.
Clone Of:
Environment:
Last Closed: 2021-09-15 07:13:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 782752 0 None MERGED packages var renamed to packages_list 2021-03-30 05:03:01 UTC
Red Hat Issue Tracker VALFRWK-463 0 None None None 2021-08-13 05:52:54 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:13:32 UTC

Description David Rosenfeld 2021-03-24 14:10:23 UTC
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:

Comment 5 David Rosenfeld 2021-04-14 13:47:44 UTC
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 |
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+

Comment 7 errata-xmlrpc 2021-09-15 07:13:08 UTC
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


Note You need to log in before you can comment on or make changes to this bug.