This validation tests by default if the python*-tripleoclient package is not up2date on the Undercloud. That validation is hosted in validations-common which should contain non-tripleo validation. This validation should be generic and not containing tripleo references.
*** Bug 1944079 has been marked as a duplicate of this bug. ***
Patch in build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1586887
You can test this by running the tripleo-latest-packages-version validation. As it wraps around this module.
Got checking a single package to work: openstack tripleo validator run --validation check-latest-packages-version --extra-vars packages_list=openstack-tripleo-heat-templates Running Validations without Overcloud settings. +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ | 6523932e-607d-4564-a5f5-254048fe6088 | check-latest-packages-version | PASSED | localhost | localhost | | 0:00:02.853 | +--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+ but couldn't get checking multiple packages to work: openstack tripleo validator run --validation check-latest-packages-version --extra-vars packages_list=openstack-tripleo-heat-templates,openstack-tripleo-common Expected comma separated 'key=value' pairs, but got: openstack-tripleo-common Moving back to on_dev
Deploying the puddle on DF-5 to see if there is a way to do this without rewrite. Afterwards I'll update the BZ with instructions for the validation, as well as a new code (if needed).
To test the validation with multiple packages one has to supply the list of packages for the validation to check. At this time, this can be accomplished with the `--extra-vars-file` argument, and supplying it with a yaml file containing list of the packages. For example: """ --- packages_list: - openstack-tripleo-heat-templates - openstack-tripleo-common ... """ If the file is named extra_vars.yaml, the command would be, assuming the stack user on the undercloud: `openstack tripleo validator run --validation check-latest-packages-version --extra-vars-file=extra_vars.yaml` At this time I'm not sure how to properly supply a list trough the `--extra-vars` argument. In my opinion it would be rather unwieldy if possible at all.
Using procedure from comment 12 with an extra-vars-file could validate multiple packages. Moving to Verified.
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