Comment 2 for bug 2056106

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

Reviewed: https://review.opendev.org/c/starlingx/update/+/911016
Committed: https://opendev.org/starlingx/update/commit/a6c5490d1a13c0938f3d22d977427babe8ac1302
Submitter: "Zuul (22348)"
Branch: master

commit a6c5490d1a13c0938f3d22d977427babe8ac1302
Author: Luis Eduardo Bonatti <email address hidden>
Date: Mon Mar 4 21:10:04 2024 -0300

    Fix deploy precheck returning blank error message

    This commit fix the deploy precheck <release> command output which
    is returning one line with an blank "Error:" when the output is correct.

    Test Plan:
    PASS: Deploy precheck <release> returning without error.
    PASS: Deploy precheck <release> returning expected error.
    PASS: Deploy start failed with expected error.
    PASS: Deploy start

    Note: Exit code 3 was chosen based on exit codes with special meaning
    which the 1 is for catchall general errors and 2 for misuse of shell
    builtins. The number 3 is not allocated with special meaning so it
    was chosen for unhealthy precheck.

    Closes-Bug: 2056106

    Change-Id: Ifed48157f7810eec2881d8a9e011eae8941f3427
    Signed-off-by: Luis Eduardo Bonatti <email address hidden>