Comment 3 for bug 2031556

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/891616
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/aa1c9281f0702c5aef2dc3e7b732bf550ce71522
Submitter: "Zuul (22348)"
Branch: master

commit aa1c9281f0702c5aef2dc3e7b732bf550ce71522
Author: Joshua Kraitberg <email address hidden>
Date: Wed Aug 16 12:45:05 2023 -0400

    Fix: Ignore CentOS LDAP configuration during restore

    During CentOS to Debian upgrade, the configuration path changes from
    /etc/openldap to /etc/ldap. However, /etc/openldap is not cleaned
    up after migration. This caused restore to use the incorrect
    LDAP configuration.

    To avoid encountering this issue on systems that have already been
    upgraded, the logic of when restoring LDAP has been changed.

    TEST PLAN
    PASS: Perform stx6 to stx8 upgrade on AIO-SX
    PASS: Perform optimized B&R on AIO-SX on an upgraded system
    * The upgrade should be CentOS to Debian
    * Ensure LDAP data is correct after restore
    * Ensure /etc/openldap is not present on system after restore

    Closes-Bug: 2031556
    Signed-off-by: Joshua Kraitberg <email address hidden>
    Change-Id: Ib66ea00a65c725359e2965a7dadddb82d31877e5