Comment 1 for bug 1973817

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/842215
Committed: https://opendev.org/starlingx/config/commit/5d36bedaa5f4c5a28d0fbc079cc22bc437eb562e
Submitter: "Zuul (22348)"
Branch: master

commit 5d36bedaa5f4c5a28d0fbc079cc22bc437eb562e
Author: Heitor Matsui <email address hidden>
Date: Tue May 17 15:10:35 2022 -0300

    Retry platform resize during upgrade-activate

    Due to the validation added on [1], the first attempt to resize
    the platform controllerfs may now fail as the script will resize
    backup host filesystems prior to resizing platform, thus forcing
    subsequent fs resize commands to wait for the agent to report back
    to conductor before allowing other filesystem resize commands.

    This commit makes the script retry the controllerfs-modify command
    during its validation phase if the platform size is different from
    the resized size.

    Also, because of the possible extra waiting time added until agents
    report back, the sleep time during the platform fs validation phase
    was bumped up.

    [1] https://review.opendev.org/c/starlingx/config/+/839384

    Test Plan:
    PASS: run upgrade-activate on Standard System Controller, verify
          that script runs successfully and backup/platform filesystems
          are resized accordingly
    PASS: run upgrade-activate on AIO-DX System Controller, verify that
          script runs successfully and backup/platform are resized
          accordingly

    Closes-bug: 1973817
    Change-Id: I83dc7ce365d8cd490fdfd3c6b68661082e9dd102
    Signed-off-by: Heitor Matsui <email address hidden>