db connection for cell0 not being updated in the database for a brownfield TLS deployment

Bug #1838804 reported by Ade Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Ade Lee

Bug Description

When doing a TLS brown field deployment (ie. updating a previously
deployed system without internal TLS to using internal TLS), the
database endpoint stored in the db for the default cell and cell0
must be changed in step3. If this does not occur, then several
services fail to start and some operations (and the installation)
eventually times out.

Logic already exists in step 3 to change the default cell.

In stein+, this is not a problem because we have already
added logic to set the db endpoint for both cells using
templated values for both cells in step 3.

In rocky, logic must be added in step3 to update this value, just
like the default cell.

In queens, the logic to update the db data for cell0 was added by
the FFU team, but it was added in step5, which is too late for
the brownfield case. This needs to be moved to step 3.

Ade Lee (alee-3)
Changed in tripleo:
assignee: nobody → Ade Lee (alee-3)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/674400

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/674402

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.opendev.org/674400
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4efdeb4e69f3b254282f42a9d0c740cc42af0475
Submitter: Zuul
Branch: stable/rocky

commit 4efdeb4e69f3b254282f42a9d0c740cc42af0475
Author: Ade Lee <email address hidden>
Date: Fri Aug 2 13:41:44 2019 -0400

    Update mysql url for cell0 in step3

    When doing a TLS brown field deployment (ie. updating a previously
    deployed system without internal TLS to using internal TLS), the
    database endpoint stored in the db for the default cell and cell0
    must be changed in step3.

    Logic already exists in step 3 to change the default cell. Logic
    has been added to change cell0.

    Note that this is not a problem in stein+ because we have already
    added logic to set the db endpoint for both cells using
    templated values for both cells in step 3.

    Closes-Bug: 1838804
    Change-Id: I3a0bc2ba62c9c0a2f4860a5b362f59251e858fcb

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/674402
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=9a6be5798f1654c883ed09e4086df53ffb236971
Submitter: Zuul
Branch: stable/queens

commit 9a6be5798f1654c883ed09e4086df53ffb236971
Author: Ade Lee <email address hidden>
Date: Fri Aug 2 14:23:17 2019 -0400

    Update mysql url for cell0 in step3

    When doing a TLS brown field deployment (ie. updating a previously
    deployed system without internal TLS to using internal TLS), the
    database endpoint stored in the db for the default cell and cell0
    must be changed in step3.

    Logic already exists in step 3 to change the default cell, and the
    FFU group added logic to update cell0 in step 5. We just need to
    move that logic to step 3.

    Note that this is not a problem in stein+ because we have already
    added logic to set the db endpoint for both cells using
    templated values for both cells in step 3.

    Closes-Bug: 1838804

    Change-Id: I7b5f6e0a2c8ba77fd575cf1a1003a1553f96efff

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.4.1

This issue was fixed in the openstack/tripleo-heat-templates 9.4.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.4.1

This issue was fixed in the openstack/tripleo-heat-templates 8.4.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.