Bug 1960313 - [FFU 13->16.2] Overcloud upgrade run fails while creating default domain with error "Cloud overcloud was not found."
Summary: [FFU 13->16.2] Overcloud upgrade run fails while creating default domain with...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Jose Luis Franco
QA Contact: Jason Grosso
URL:
Whiteboard:
Depends On:
Blocks: 1960579
TreeView+ depends on / blocked
 
Reported: 2021-05-13 15:42 UTC by Pavan
Modified: 2021-09-15 07:15 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210607133307.29a02c1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1960579 (view as bug list)
Environment:
Last Closed: 2021-09-15 07:15:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 791442 0 None MERGED [ffwd][train-only] Rebuild clouds.yaml before running keystone endpoint configuration. 2021-06-10 07:04:02 UTC
OpenStack gerrit 791711 0 None MERGED [ffwd] Add legacy cinderv3 volume cleanup to postupgrade 2021-06-10 07:04:03 UTC
Red Hat Issue Tracker UPG-2958 0 None None None 2021-08-12 10:53:24 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:15:29 UTC

Comment 1 Jose Luis Franco 2021-05-14 09:41:39 UTC
The problem seems to be introduced by: https://opendev.org/openstack/tripleo-heat-templates/commit/cbd025a3ff465a87df5ce6847711c4dc49139e5f which is the correct solution for BZ#1944108.
However, those tasks require the /etc/openstack/clouds.yaml file to be present and including the overcloud's cloud details and at the time the task is executed the content of /etc/openstack/clouds.yaml in the Undercloud is:

clouds:
  undercloud:
    auth:
      auth_url: https://192.168.24.2:13000
      password: 2ddee97afbbb34a3b3a71b86e49cafc623f30c30
      project_domain_name: Default
      project_name: admin
      user_domain_name: Default
      username: admin
    cacert: ''
    identity_api_version: '3'
    region_name: regionOne

Being only present the undercloud's stack information. This seems to be happening during the Undercloud upgrade, moment in which the file is being created but only the Undercloud details are added. To solve the issue we are required to execute right before the task added in https://opendev.org/openstack/tripleo-heat-templates/commit/cbd025a3ff465a87df5ce6847711c4dc49139e5f the block which takes care of updating clouds.yaml: https://opendev.org/openstack/tripleo-heat-templates/src/commit/cbd025a3ff465a87df5ce6847711c4dc49139e5f/deployment/keystone/keystone-container-puppet.yaml#L739-L771

Comment 2 Jose Luis Franco 2021-05-17 12:42:20 UTC
Discovered during the testing of the proposed solution that there is another hidden issue. Cinder's v3 endpoint is still present and it needs to be cleaned up. The fix for this is proposed in https://review.opendev.org/c/openstack/tripleo-heat-templates/+/791711 which will be handled by this BZ as they are closely related.

Comment 10 errata-xmlrpc 2021-09-15 07:15: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 (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.