Backup & Restore: Remote restore fail gathering SSH public key

Bug #1978879 reported by Luis Eduardo Bonatti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Luis Eduardo Bonatti

Bug Description

Brief Description
-----------------
IPV4 AIO-DX remote restore fail while running restore bootstrap.

Severity
--------
<Major: System/Feature is usable but degraded>

Steps to Reproduce
------------------
Running backup remotely
Copy the playbooks directory from target host to your
Reinstall controller
Copy the backup tarball file in the controller-0
Restore remotely using the backup file

Expected Behavior
------------------
Controller restore successful

Actual Behavior
----------------
Controller restore fail

Reproducibility
---------------
Reproducible

System Configuration
--------------------
IPV4 AIO-DX

Branch/Pull Time/Commit
-----------------------
Master

Last Pass
---------

Timestamp/Logs
--------------

Test Activity
-------------

Workaround
----------

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
tags: added: stx.update
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

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Luis Eduardo Bonatti (lbonatti)
importance: Undecided → Medium
tags: added: stx.7.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.