kolla-ansible/ansible
Shaun Smekel 1c68ae389b Add full support for fernet
This addresses the ansible aspects of fernet key bootstrapping as
well as distributed key rotation.

- Bootstrapping is handled in the same way as keystone bootstrap.
- A new keystone-fernet and keystone-ssh container is created to allow
  the nodes to communicate with each other (taken from nova-ssh).
- The keystone-fernet is a keystone container with crontab installed.
  This will handle key rotations through keystone-manage and trigger
  an rsync to push new tokens to other nodes.
- Key rotation is setup to be balanced across the keystone nodes using
  a round-robbin style. This ensures that any node failures will not
  stop the keys from rotating. This is configured by a desired token
  expiration time which then determines the cron scheduling for each
  node as well as the number of fernet tokens in rotation.
- Ability for recovered node to resync with the cluster. When a node
  starts it will run sanity checks to ensure that its fernet tokens
  are not stale. If they are it will rsync with other nodes to ensure
  its tokens are up to date.

The Docker component is implemented in:
  https://review.openstack.org/#/c/349366

Change-Id: I15052c25a1d1149d364236f10ced2e2346119738
Implements: blueprint keystone-fernet-token
2016-08-25 20:08:22 +10:00
..
action_plugins Fix the incompatibility for ansible 2.1.0 2016-05-30 23:02:09 +08:00
group_vars Add full support for fernet 2016-08-25 20:08:22 +10:00
inventory Merge "add baremetal role to install kolla deps." 2016-08-23 16:28:17 +00:00
library Merge "Fix the variable name mismatch" 2016-08-19 04:03:14 +00:00
roles Add full support for fernet 2016-08-25 20:08:22 +10:00
certificates.yml Add Ansible scripts to generate TLS certificates for testing 2016-02-26 14:09:31 -05:00
destroy.yml Change cleanup to destroy as cleanup is a misnomer 2016-08-08 13:37:10 -04:00
kolla-host.yml add baremetal role to install kolla deps. 2016-08-10 16:03:08 +00:00
mariadb_recovery.yml MariaDB lights out recovery 2016-03-16 15:53:44 +00:00
post-deploy.yml Create openrc file on the deploy node 2015-11-23 17:02:54 -05:00
prechecks.yml Fix file permissions 2015-12-26 17:36:38 +00:00
site.yml Remove duplicate items 2016-08-18 03:56:40 +00:00
tempest.yml implement Ansible Tempest role 2016-07-20 09:43:10 +08:00