If goal state is available, this patch uses it to defer distributing the
known_hosts and authorized_keys to the related nova-compute units until
the last nova-compute unit expected has joined and triggered a
cloud-compute-relation-changed hook. This means that all of the hosts
have been scanned and thus the whole group (per relation id) can be set.
Note that this patch does not unify the known_hosts/authorized_keys
files across relations. That's for a separate patch.
Reviewed: https:/ /review. opendev. org/669123 /git.openstack. org/cgit/ openstack/ charm-nova- cloud-controlle r/commit/ ?id=e8577fc96e7 818a5cda80128eb a3de75b32de448
Committed: https:/
Submitter: Zuul
Branch: master
commit e8577fc96e7818a 5cda80128eba3de 75b32de448
Author: Alex Kavanagh <email address hidden>
Date: Thu Jul 4 10:42:25 2019 +0100
Use goal state to defer distributing ssh data
If goal state is available, this patch uses it to defer distributing the compute- relation- changed hook. This means that all of the hosts
known_hosts and authorized_keys to the related nova-compute units until
the last nova-compute unit expected has joined and triggered a
cloud-
have been scanned and thus the whole group (per relation id) can be set.
Note that this patch does not unify the known_hosts/ authorized_ keys
files across relations. That's for a separate patch.
Change-Id: I6c26ebbad2236e 66c174ef4606828 db834803865
Related-Bug: #1833420