commit a2a55395795e3ac67c778c4f8e81b964ea509f43
Author: Carlos Goncalves <email address hidden>
Date: Wed May 9 14:06:22 2018 +0200
Check pub key file perms and default to pub key data
The previously default /home/stack/.ssh/id_rsa.pub file may not exist or
be readable; exit with explicit error message. Users can still specify a
file path but will need to ensure it is readable. Should a file path not
be specified, default to amp_ssh_key_data. The value is passed by THT
with the public key of the 'default' keypair from the undercloud which
anyway is the public key of the 'stack' user.
This patch also fixes a syntax error in octavia-undercloud role.
Closes-Bug: #1770153
Closes-Bug: #1770641
Depends-On: https://review.openstack.org/568022
Change-Id: I0026343d90b84572c3002fa21001cfb09c742391
(cherry picked from commit 8a69b692c4bdf3b5b7b32907ea8f117c194058b3)
Reviewed: https:/ /review. openstack. org/568394 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=a2a55395795 e3ac67c778c4f8e 81b964ea509f43
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit a2a55395795e3ac 67c778c4f8e81b9 64ea509f43
Author: Carlos Goncalves <email address hidden>
Date: Wed May 9 14:06:22 2018 +0200
Check pub key file perms and default to pub key data
The previously default /home/stack/ .ssh/id_ rsa.pub file may not exist or
be readable; exit with explicit error message. Users can still specify a
file path but will need to ensure it is readable. Should a file path not
be specified, default to amp_ssh_key_data. The value is passed by THT
with the public key of the 'default' keypair from the undercloud which
anyway is the public key of the 'stack' user.
This patch also fixes a syntax error in octavia-undercloud role.
Closes-Bug: #1770153
Closes-Bug: #1770641
Depends-On: https:/ /review. openstack. org/568022 72c3002fa21001c fb09c742391 5b7b32907ea8f11 7c194058b3)
Change-Id: I0026343d90b845
(cherry picked from commit 8a69b692c4bdf3b