Bug 1926238 - [FFU 13-16.1][Validation] pre-upgrade validation for "check-latest-packages-version" is failing for "python2-tripleoclient" on OC nodes
Summary: [FFU 13-16.1][Validation] pre-upgrade validation for "check-latest-packages-v...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: validations-common
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Gaël Chamoulaud
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1926721
TreeView+ depends on / blocked
 
Reported: 2021-02-08 13:37 UTC by MD Sufiyan
Modified: 2024-10-01 17:27 UTC (History)
8 users (show)

Fixed In Version: validations-common-1.1.2-1.20201114033622.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:51:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1915111 0 None None None 2021-03-26 10:24:13 UTC
OpenStack gerrit 774591 0 None MERGED Restrict execution to localhost only 2021-02-19 12:47:01 UTC
Red Hat Issue Tracker OSP-792 0 None None None 2022-09-05 13:16:14 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:51:57 UTC

Description MD Sufiyan 2021-02-08 13:37:37 UTC
Description of problem:

Pre-upgarde validation[1] is failing after running the command[2] at check-latest-packages-version due to unavailability of package "python2-tripleoclient" in Overcloud nodes.

~~~
(undercloud) [stack@director-name ~]$ cat log_ffu_openstack_tripleo_validator_run_02_02_2021-15_54_39.txt |grep -i f047fc46
| f047fc46-27d8-4821-8c10-279870aa4cd4 |    check-latest-packages-version    | FAILED |           all            | <overcloud-node-names>, undercloud |                   | 0:00:06.863 |
~~~

~~~
openstack tripleo validator show run f047fc46-27d8-4821-8c10-279870aa4cd4" (output attached).

        {
            "task": {
                "hosts": {
                    "overcloud_node_name": {
                        "action": "check_package_update",
                        "changed": false,
                        "failed": true,
                        "msg": "All items completed",
                        "results": [
                            {
                                "_ansible_item_label": "python2-tripleoclient",
                                "_ansible_no_log": false,
                                "ansible_loop_var": "item",
                                "changed": false,
                                "failed": true,
                                "invocation": {
                                    "module_args": {
                                        "package": "python2-tripleoclient",
                                        "pkg_mgr": "yum"
                                    }
                                },
                                "item": "python2-tripleoclient",
                                "msg": "\"python2-tripleoclient\" is not an installed package."
                            }
                        ]
                    }
                },
                "name": "Get available updates for packages",
                "status": "FAILED"
            }
        }
~~~


~~~
Version-Release number of selected component (if applicable):
(undercloud) [stack@director-name environments]$ rpm -qa | grep -i validation
openstack-tripleo-validations-11.3.2-1.20200916153438.el8ost.noarch
validations-common-1.1.2-1.20200914180305.el8ost.noarch
python3-validations-libs-1.0.5-1.20200914174430.el8ost.noarch
~~~


[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index?validating-red-hat-openstack-platform-oldvernum-before-the-upgrade#validating-the-pre-upgrade-requirements
[2] openstack tripleo validator run --group pre-upgrade

Comment 11 David Rosenfeld 2021-04-19 16:59:23 UTC
check-latest-packages-version passes now:

openstack tripleo validator run --plan overcloud --validation check-latest-packages-version
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
|                 UUID                 |          Validations          | Status | Host_Group | Status_by_Host | Unreachable_Hosts |   Duration  |
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+
| a16bb2ee-cc68-46ed-b1fb-295378b1ecc2 | check-latest-packages-version | PASSED | localhost  |   localhost    |                   | 0:00:05.563 |
+--------------------------------------+-------------------------------+--------+------------+----------------+-------------------+-------------+

Comment 18 errata-xmlrpc 2021-05-26 13:51:28 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 16.1.6 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-2021:2097


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