Comment 7 for bug 1942356

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/train)

Reviewed: https://review.opendev.org/c/openstack/python-tripleoclient/+/806993
Committed: https://opendev.org/openstack/python-tripleoclient/commit/ffa2440ee13be9b53a2f7fe216dc7558a2dcad02
Submitter: "Zuul (22348)"
Branch: stable/train

commit ffa2440ee13be9b53a2f7fe216dc7558a2dcad02
Author: Douglas Viroel <email address hidden>
Date: Wed Sep 1 18:31:45 2021 -0300

    Fix edit authorized_keys file in-place

    This fix is to avoid the issue described in #1942356
    Cloud-init may not give permissions to the entire .ssh directory
    which breaks sed --in-place operation, since it always create a
    temporary file in the same directory.
    New releases already use ssh-admin playbook instead of shell
    commands.

    Closes-Bug: #1942356
    Change-Id: If2db45f09eface56b5b26646b97e1fdbfb7b5a3e
    Signed-off-by: Douglas Viroel <email address hidden>