rcbops / ansible-lxc-rpc

Ansible Playbooks to deploy openstack
https://rcbops.github.io/ansible-lxc-rpc/
Apache License 2.0
38 stars 31 forks source link

Compute nodes fail to build `authorized_keys` file #478

Closed jpmontez closed 10 years ago

jpmontez commented 10 years ago

The nova_compute_sshkey_create role fails at its last step: building the authorized_keys file. This is due to an intentional limitation.

Ansible prevents itself from creating files that don't exist beforehand; therefore, while that last step is correct in its implementation, a file has to be touch-ed beforehand in order for the redirection to work.

claco commented 10 years ago

Can you confirm the installed ansible version?

jpmontez commented 10 years ago
root@569037-infra01:~/ansible-lxc-rpc/rpc_deployment# ansible --version
ansible 1.6.10

Is this the correct version?

jpmontez commented 10 years ago

The relevant playbook where this occurs: https://github.com/rcbops/ansible-lxc-rpc/blob/10.0.0rc2/rpc_deployment/roles/nova_compute_sshkey_create/tasks/main.yml

The specific step is: "Build authorized keys"

claco commented 10 years ago

All merged and backported. Waiting on qe verificaiton.

jpmontez commented 10 years ago

This has been verified as working by QE.