Skip to content

Commit afe1414

Browse files
committed
Ensure passwordless ssh with stack between nodes
For compute migration to work, the stack user needs to be configured with passwordless ssh between all hosts involved in the migration. Reuse the build ssh-key for this, which is already distributed for user root. Depends-on: https://review.openstack.org/563584 Change-Id: Id07f55fea06509466add35315c135dbfba6aa714
1 parent a0f319f commit afe1414

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

roles/orchestrate-devstack/tasks/main.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
- name: Setup devstack on sub-nodes
77
block:
88

9+
- name: Distribute the build sshkey for the user "stack"
10+
include_role:
11+
name: copy-build-sshkey
12+
vars:
13+
copy_sshkey_target_user: 'stack'
14+
915
- name: Sync CA data to subnodes (when any)
1016
# Only do this if the tls-proxy service is defined and enabled
1117
include_role:

0 commit comments

Comments
 (0)