Bug 1962205 - Validation overcloud-service-status shouldn't be triggered in pre-upgrade group
Summary: Validation overcloud-service-status shouldn't be triggered in pre-upgrade group
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: David Vallee Delisle
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1962208
TreeView+ depends on / blocked
 
Reported: 2021-05-19 13:54 UTC by Jose Luis Franco
Modified: 2021-12-09 20:20 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-validations-11.3.2-1.20210527073345.4db92ba.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1962208 (view as bug list)
Environment:
Last Closed: 2021-12-09 20:19:39 UTC
Target Upstream Version: Train
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 792114 0 None MERGED [overcloud-service-status] Removing pre-upgrade 2021-05-31 04:05:16 UTC
Red Hat Issue Tracker OSP-3997 0 None None None 2021-11-18 11:33:09 UTC
Red Hat Product Errata RHBA-2021:3762 0 None None None 2021-12-09 20:20:01 UTC

Description Jose Luis Franco 2021-05-19 13:54:38 UTC
Description of problem:

When executing the pre-upgrade validation group the validation overcloud-service-status is triggered. However, the execution of this group takes currently place right before starting with the Overcloud Upgrade FFU 13 -> 16.1 : https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#proc-validating-the-pre-upgrade-requirements_initial-steps

At this point, the Undercloud is upgraded to OSP16.1 while the Overcloud is still in OSP13, therefore the validation fails with:

{
    "hosts": {
        "undercloud": {
            "_ansible_no_log": false,
            "action": "fail",
            "changed": false,
            "failed": true,
            "msg": "At least one of the assertion failed.\n            nova-consoleauth should be removed on controller-2.redhat.local\n                      nova-consoleauth should be removed on controller-1.redhat.local\n                      nova-consoleauth should be removed on controller-0.redhat.local\n                  \n"              
        }
    },
    "name": "Asserted failure",
    "status": "FAILED"
}

But this situation is correct, as the nodes haven't been upgraded yet. For this reason, the pre-upgrade group should be removed from the validation: 

https://github.com/openstack/tripleo-validations/blob/stable/train/playbooks/overcloud-service-status.yaml#L11-L16

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 17 errata-xmlrpc 2021-12-09 20:19:39 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.7 (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-2021:3762


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