Comment 6 for bug 1849837

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

Reviewed: https://review.opendev.org/691714
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=666008a5836124665258d1b06b4017ba3ae560c7
Submitter: Zuul
Branch: master

commit 666008a5836124665258d1b06b4017ba3ae560c7
Author: Bin Qian <email address hidden>
Date: Fri Oct 18 18:44:38 2019 -0400

    Copy sysinv.config to drbd drive only once

    This change is to ensure copying sysinv.config to drbd drive only once
    when the controller-0 is unlocked successfully the 1st time.

    The file was previously copied periodically from the active controller
    which causes occasionally fail to apply the runtime config if a swact
    happens to start. The result is that the controller is config-out-date.

    This fix also ensure all nodes going through the same invprovision
    cycle: none (installing)
           -> provisioning (installed)
           -> provisioned (unlocked successfully 1st time)
    Previously the controller-0 of a standard load starts with provisioned,
    even before it is unlocked the 1st time.

    Depends-on: https://review.opendev.org/691713
    Closes-Bug: 1848355
    Closes-Bug: 1849837

    Change-Id: Ifdfb985c8cde86f9c9074dc0774cb0dd805aacd1
    Signed-off-by: Bin Qian <email address hidden>