Specify SSH server list when configuring octavia

Uses the controller IP list to set the ssh_servers parameter for
enabling the ssh admin user. This is now required because of
https://review.openstack.org/#/c/533599/

Change-Id: Ib56399ee767f58dd841cd385ec265722439b1653
This commit is contained in:
Brent Eagles 2018-01-30 09:43:22 -03:30
parent ae35a71c54
commit bf969f51ad

View File

@ -35,22 +35,24 @@ workflows:
tags:
- tripleo-common-managed
tasks:
enable_ssh_admin:
workflow: tripleo.access.v1.enable_ssh_admin
on-success: get_private_key
get_private_key:
action: tripleo.validations.get_privkey
publish:
private_key: <% task().result %>
on-success: get_overcloud_stack_details
get_overcloud_stack_details:
publish:
# TODO(beagles), we are making an assumption about the octavia heatlh manager and
# controller worker needing
#
octavia_controller_ips: <% env().get('service_ips', {}).get('octavia_worker_ctlplane_node_ips', []) %>
on-success: enable_ssh_admin
enable_ssh_admin:
workflow: tripleo.access.v1.enable_ssh_admin
input:
ssh_servers: <% $.octavia_controller_ips %>
on-success: get_private_key
get_private_key:
action: tripleo.validations.get_privkey
publish:
private_key: <% task().result %>
on-success: make_local_temp_directory
make_local_temp_directory: