openstack-ansible-os_keystone/tasks
Jonathan Rosser 8e1f7f4ad8 Fix loss of fernet and credential keys during Rocky to Stein upgrade
This applies only to source based installations.

The introduction of smart-sources in [1] created a code path
which deletes the /etc/keystone directory before symlinking it
into the keystone venv and creating the necessary config files.

Unfortunatley this has the side effect of also deleting any fernet
and credential keys which pre-existed in the case of an upgrade from
Rocky. The original keys were deleted simulataneously across the whole
keystone_all group in a way which is makes them unrecoverable in
the absence of a backup taken by the operator.

This change simplifies the smart-sources code to always keep the
keystone config files and fernet keys in the host /etc/keystone.
This ensures that the lifecycle of the fernet keys is not coupled
to the lifecycle of the keystone venvs.

In addition, a task is added to rescue any keys which have been
created in the keystone venv by installations from the Stein
release-candidate.

[1] https://review.opendev.org/#/c/588960/

Closes-Bug: 1833414
Change-Id: Ide611fd3d88e352367220f05dbcf4186ac20319f
2019-06-20 15:46:28 +00:00
..
keystone_apache.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_credential.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_credential_autorotate.yml Set the user argument in the cron module 2019-02-22 02:12:23 +00:00
keystone_credential_create.yml Set the user argument in the cron module 2019-02-22 02:12:23 +00:00
keystone_credential_distribute.yml Fix linting issues for ansible-lint 3.4.1 2016-11-02 02:31:54 +00:00
keystone_db_setup.yml Adds support for changing port for keystone galera database. 2018-11-22 08:44:00 +00:00
keystone_federation_sp_idp_setup.yml Do not log passwords 2018-04-17 12:24:23 +01:00
keystone_federation_sp_setup.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_fernet.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_fernet_keys_autorotate.yml Set the user argument in the cron module 2019-02-22 02:12:23 +00:00
keystone_fernet_keys_create.yml Cleanup/standardize usage of tags 2016-05-24 15:51:03 -04:00
keystone_fernet_keys_distribute.yml Fix linting issues for ansible-lint 3.4.1 2016-11-02 02:31:54 +00:00
keystone_idp_metadata.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_idp_self_signed_create.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_idp_self_signed_distribute.yml Fix usage of "|" for tests 2018-07-12 16:44:21 +02:00
keystone_idp_self_signed_store.yml Fix usage of "|" for tests 2018-07-12 16:44:21 +02:00
keystone_idp_setup.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_idp_sp_setup.yml Fix usage of "|" for tests 2018-07-12 16:44:21 +02:00
keystone_install.yml Prevent autoremoval of packages on bare metal 2019-06-11 08:47:50 -05:00
keystone_key_distribute.yml Avoid conflicting delegation with authorized_keys 2018-03-13 18:59:07 -07:00
keystone_key_populate.yml Avoid conflicting delegation with authorized_keys 2018-03-13 18:59:07 -07:00
keystone_key_setup.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_ldap_setup.yml Ensure that LDAP config is deployed on all keystone hosts 2018-11-28 11:43:14 +00:00
keystone_nginx.yml add gentoo support to keystone 2019-02-26 09:04:07 -06:00
keystone_post_install.yml Cleanup files and templates using smart sources 2019-01-09 18:30:07 -06:00
keystone_pre_install.yml Fix loss of fernet and credential keys during Rocky to Stein upgrade 2019-06-20 15:46:28 +00:00
keystone_service_bootstrap.yml Drop Admin API from Keystone 2018-09-14 11:44:40 -06:00
keystone_service_update.yml Enable overriding the service setup host python interpreter 2018-11-28 16:07:36 +00:00
keystone_ssl.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_ssl_key_create.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_ssl_key_distribute.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_ssl_key_store.yml Cleanup/standardize usage of tags 2016-05-24 15:51:03 -04:00
keystone_ssl_self_signed.yml Change include: to include_tasks: 2018-02-15 10:24:39 -06:00
keystone_ssl_user_provided.yml Add external LB management handler hook interface 2017-09-16 13:41:28 -05:00
keystone_uwsgi.yml Set the user argument in the cron module 2019-02-22 02:12:23 +00:00
main.yml Execute the keystone db setup earlier in the process 2019-05-26 06:43:26 +00:00
mq_setup.yml Updated from OpenStack Ansible Tests 2019-06-18 18:15:57 +00:00