allow nova user to log to other node using ssh key
This commit is contained in:
parent
725adbff63
commit
36d21bd670
2 changed files with 10 additions and 0 deletions
|
@ -232,6 +232,9 @@
|
|||
when: packstack_sucessfully_finished.stat.exists == False
|
||||
- file: path=/etc/packstack_sucessfully_finished state=touch
|
||||
|
||||
- name: Set shell to nova user to allow cold migrations
|
||||
user: name=nova shell=/bin/bash
|
||||
|
||||
# FIXME we should really reboot here
|
||||
|
||||
# http://docs.openstack.org/icehouse/install-guide/install/yum/content/basics-queue.html
|
||||
|
|
|
@ -285,6 +285,13 @@
|
|||
notify:
|
||||
- restart openstack-nova-compute
|
||||
|
||||
- name: Set shell to nova user to allow cold migrations
|
||||
user: name=nova shell=/bin/bash
|
||||
- name: SSH public key for nova user
|
||||
authorized_key: user=nova key="{{fed_cloud09_nova_public_key}}"
|
||||
- name: Deploy private SSH key
|
||||
copy: src={{ private }}/files/openstack/fed-cloud09-nova.key dest=/var/lib/nova/.ssh/ mode=600 owner=nova group=nova
|
||||
|
||||
# This needs to be run after controller reprovision
|
||||
- name: "restart neutron-openvswitch-agent"
|
||||
service: name=neutron-openvswitch-agent state=restarted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue