kolla-ansible/ansible/roles/keystone/tasks
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
..
bootstrap_service.yml map the host localtime to the container 2016-05-03 09:27:51 +08:00
bootstrap.yml add support for non-default database_port in kolla/ansible 2016-05-13 12:12:25 +00:00
check.yml Remove unecessary blank lines 2016-05-02 07:44:29 -04:00
config.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
deploy.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
do_reconfigure.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
init_fernet.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
main.yml Allow keystone role to pull images 2016-01-06 04:23:28 +00:00
pull.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
reconfigure.yml Run the keystone reconfigure only on keystone group host 2016-02-29 11:46:15 +08:00
register.yml Disable tty for keystone register script 2016-04-19 15:59:51 +01:00
start.yml Add full support for fernet 2016-08-25 20:08:22 +10:00
upgrade.yml Playbook for keystone upgrade 2016-01-13 18:48:55 +00:00