Skip to content

Commit 3cc8df4

Browse files
committed
Add doc about vault bao migration
1 parent e9b08d6 commit 3cc8df4

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

doc/source/configuration/openbao.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OpenBao/Hashicorp Vault may also be used as the secret store for Barbican.
3030
To configure Hashicorp Vault instead set ``stackhpc_ca_secret_store: vault``,
3131
then follow the instruction.
3232

33-
Currently the migration path from Hashicorp Vault to OpenBao is in development
33+
Migration method can be found at :ref:`Hashicorp Vault to OpenBao migration <vault-bao-migration>`
3434

3535
Background
3636
==========
@@ -580,3 +580,27 @@ Deploy Barbican
580580
.. code-block:: bash
581581
582582
kayobe overcloud service deploy -kt barbican
583+
584+
.. _vault-bao-migration:
585+
586+
Hashicorp Vault to OpenBao Migration
587+
====================================
588+
589+
You can migrate your secret store from Vault to OpenBao by using a playbook.
590+
591+
.. code-block::bash
592+
593+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/secret-store/vault-bao-migration-all.yml
594+
595+
The playbook does three things that can be run separately.
596+
597+
1. Migrate seed Vault to OpenBao - Done by ``$KAYOBE_CONFIG_PATH/ansible/secret-store/vault-bao-migration-seed.yml``
598+
2. Migrate overcloud Vault to OpenBao - Done by ``$KAYOBE_CONFIG_PATH/ansible/secret-store/vault-bao-migration-overcloud.yml``
599+
3. Automatically update SKC to target OpenBao - ``Done by $KAYOBE_CONFIG_PATH/ansible/secret-store/vault-bao-migration-change-config.yml``
600+
601+
Seed migration is a single node migration and API calls to seed secret store can be disrupted.
602+
However, end users of OpenStack will not be affected.
603+
604+
Overcloud migration is HA migration and no downtime is expected.
605+
606+
It is recommended to run ``vault-bao-migration-change-config.yml`` after migrating all Vault deployments to OpenBao.

0 commit comments

Comments
 (0)