Comment 8 for bug 1748065

Revision history for this message
Yang Youseok (ileixe) wrote :

@Mark

Hi Mark, we also encounter this issue doing steps below.

1. One host(A) in keystone group, deploy it.
2. Add one more host(B) in keystone group
3. Try to deploy B
4. B could not be initialized since A does not have IP address in fernet-push.sh.

I think kolla-ansible seems to have fernet init step contrary to intuition. imho, this is came from kolla-ansible depends on generated static file like fernet-*.sh.j2.

What I suggest is to use required keystone hosts dynamically rather than using sh file. To be specific, to-be step looks like this

1. One host(A) in keystone group deploy it
   1.1 A does not have fernet-*.sh files
2. Add one more host (B) in keystone group
3. Try to deploy B
4. B make A to push fernet key using given IP addresses when deployed.

What do you think about it?