Comment 2 for bug 1928836

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

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/792028
Committed: https://opendev.org/starlingx/utilities/commit/bb2932c067c410d6d9f22e1638cf5484f55cdfb1
Submitter: "Zuul (22348)"
Branch: master

commit bb2932c067c410d6d9f22e1638cf5484f55cdfb1
Author: Jim Gauld <email address hidden>
Date: Tue May 18 13:48:53 2021 -0400

    AIO-DX swact task affinity robustness

    Task affinity functions are used to speedup initialization of AIO
    and swact on AIO-DX. When swact occurs, SM leverages task affining
    scripts to move platform tasks to idle cores, followed by moving
    platform tasks back to platform cores at the end of the swact.

    This change adds a timeout of 90 seconds so that tasks are always
    affined back to platform cores even if the swact does not complete
    (e.g., due to failed or disabled minor service).

    This also corrects interactions of the task_affinity_functions with
    the affine-tasks.sh init script by checking if the service is running,
    and by updating/removing a common flag file. This will also improve the
    task affinity handling of openstack installation and startup, since
    the affine-tasks.sh script assumes tasks float across cores until
    nova-compute is providing service.

    Closes-Bug: 1928836

    Signed-off-by: Jim Gauld <email address hidden>
    Change-Id: Ief5c65103f98e9ffb57f96327af1e0dd35d13857