Comment 1 for bug 1978879

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

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/845187
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/959037a0a9f18252a1a5acb505cef7c85ddcfd63
Submitter: "Zuul (22348)"
Branch: master

commit 959037a0a9f18252a1a5acb505cef7c85ddcfd63
Author: lbonatti <email address hidden>
Date: Thu Jun 9 00:04:27 2022 -0400

    Fix remote restore fail gathering SSH public key

    The error is because the output of the command
    return a dict that do not contain the stdout key.
    The output contains the error saying "no password
    was provided". So the fix deactivate privilege
    escalation and with that prevents the attribute error.

    Test plan:

    AIO-DX:
    PASS: Run a full remote restore sucessfully
    PASS: Run the remote restore playbooks sucessfully
    PASS: Unlock controller-0 sucessfully
    PASS: Unlock controller-1 sucessfully

    AIO-SX:
    PASS: Run a full remote restore sucessfully
    PASS: Run the remote restore playbooks sucessfully
    PASS: Run the remote restore playbooks as root sucessfully
    PASS: Unlock controller-0 sucessfully

    Closes-bug: 1978879

    Signed-off-by: lbonatti <email address hidden>
    Change-Id: I09c1c99c749ee0422267ce677dea25ab7289e7b1