Bug 1860256

Summary: [FFU] OSP11 -> OSP12 upgrade: post-upgrade undercloud upgrade fail: The Stack (overcloud) could not be found
Product: Red Hat OpenStack Reporter: Nilesh <nchandek>
Component: openstack-tripleo-validationsAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED ERRATA QA Contact: Jesse Pretorius <jpretori>
Severity: urgent Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: aschultz, augol, ccamacho, cjanisze, cjeanner, cpaquin, drosenfe, emacchi, jamsmith, jjoyce, jmelvin, jpretori, jschluet, mbracho, mbultel, mburns, rbrady, rdopiera, sasha, sathlang, slinaber, tvignaud, ukalifon
Target Milestone: z13Keywords: Reopened, Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-8.5.0-6.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1532753 Environment:
Last Closed: 2020-10-28 18:24:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1532753    
Bug Blocks:    

Comment 7 Radomir Dopieralski 2020-07-24 07:45:13 UTC
OSP12 is no longer supported.

Comment 19 Jesse Pretorius 2020-10-14 11:04:10 UTC
###
### Verified that the bug is present in OSP13z12 with openstack-tripleo-validations.noarch 0:8.5.0-4.el7ost:
###

(undercloud) [stack@undercloud-0 ~]$ openstack stack list

(undercloud) [stack@undercloud-0 ~]$ openstack workflow execution create tripleo.validations.v1.run_validation '{"validation_name": "openstack-endpoints"}'
+--------------------+---------------------------------------+
| Field              | Value                                 |
+--------------------+---------------------------------------+
| ID                 | fefc6199-b9b5-4bf4-9d34-cb5163f61b0c  |
| Workflow ID        | e54087f3-2e27-4c76-8b7b-639403ebc42a  |
| Workflow name      | tripleo.validations.v1.run_validation |
| Workflow namespace |                                       |
| Description        |                                       |
| Task Execution ID  | <none>                                |
| State              | RUNNING                               |
| State info         | None                                  |
| Created at         | 2020-10-14 10:43:43                   |
| Updated at         | 2020-10-14 10:43:43                   |
+--------------------+---------------------------------------+

(undercloud) [stack@undercloud-0 ~]$ mistral execution-get-output fefc6199-b9b5-4bf4-9d34-cb5163f61b0c | jq .stdout -r

Task 'Fail if the HorizonPublic endpoint is not defined' failed:
Host: undercloud
Message: The `HorizonPublic` endpoint is not defined in the `EndpointMap` of the deployed stack. This means Horizon may not have been deployed correctly.

Failure! The validation failed for all hosts:
* undercloud

###
### Verified that the bug is fixed in OSP13z13 with openstack-tripleo-validations.noarch 0:8.5.0-6.el7ost
###

(undercloud) [stack@undercloud-0 ~]$ openstack workflow execution create tripleo.validations.v1.run_validation '{"validation_name": "openstack-endpoints"}'
+--------------------+---------------------------------------+
| Field              | Value                                 |
+--------------------+---------------------------------------+
| ID                 | 411a3a67-0fa9-4782-ae6f-f73e8ba8d435  |
| Workflow ID        | e54087f3-2e27-4c76-8b7b-639403ebc42a  |
| Workflow name      | tripleo.validations.v1.run_validation |
| Workflow namespace |                                       |
| Description        |                                       |
| Task Execution ID  | <none>                                |
| State              | RUNNING                               |
| State info         | None                                  |
| Created at         | 2020-10-14 10:51:22                   |
| Updated at         | 2020-10-14 10:51:22                   |
+--------------------+---------------------------------------+

(undercloud) [stack@undercloud-0 ~]$ mistral execution-get-output 411a3a67-0fa9-4782-ae6f-f73e8ba8d435 | jq .stdout -r

Success! The validation passed for all hosts:
* undercloud

Comment 24 errata-xmlrpc 2020-10-28 18:24:04 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 13.0 director bug fix 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-2020:4388