Comment 2 for bug 2012570

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

Reviewed: https://review.opendev.org/c/starlingx/ha/+/878285
Committed: https://opendev.org/starlingx/ha/commit/c81032a5727892f0107089c5a9d735f147770e10
Submitter: "Zuul (22348)"
Branch: master

commit c81032a5727892f0107089c5a9d735f147770e10
Author: Bin Qian <email address hidden>
Date: Wed Mar 22 20:54:35 2023 +0000

    Update rule of disable & standby dependency

    This change is to update the service disabling and going standby
    dependency check.
    The 2 specific rules are
    1. "service a" has a disable action dependency to "service b", with
       targeted "service b" state of disabled, disable action of
       "service a" is considered as "dependency met" only when "service b"
        is in disabled stated, or enabled-standby state.
    2. "service a" has a go-standby action dependency "to service b", with
       targeted "service b" state of disabled, go-standby action of
       "service a" is considered as "dependency met" only when "service b"
       is in disabled stated, or enabled-standby state.

    TCs:
       passed: Perform repeatedly host-swact operations, with adding long
               delay in xxx-fs ocf-script in disable action, observed that
               all xxx-fs services are disabled before drbd-xxx services
               start disabling.

    Closes-Bug: 2012570

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