Skip to content
Snippets Groups Projects
Commit ea5d1a58 authored by Vladislav Belogrudov's avatar Vladislav Belogrudov
Browse files

Add documetation for kolla-mergepwd tool

Change-Id: I7b542cacb9f21dd84a7e3864c7cd95565dbbf8fb
Implements: blueprint kolla-merge-passwords
parent 3f63620a
No related branches found
No related tags found
No related merge requests found
...@@ -102,3 +102,18 @@ tests. ...@@ -102,3 +102,18 @@ tests.
.. note:: .. note::
In order to do smoke tests, requires ``kolla_enable_sanity_checks=yes``. In order to do smoke tests, requires ``kolla_enable_sanity_checks=yes``.
``kolla-mergepwd --old OLD_PASSWORDS --new NEW_PASSWORDS --final FINAL_PASSWORDS``
is used to merge passwords from old installation with newly generated passwords
during upgrade of Kolla release. The workflow is:
- save old passwords from ``/etc/kolla/passwords.yml`` into ``passwords.yml.old``
- generate new passwords via ``kolla-genpwd`` as ``passwords.yml.new``
- merge ``passwords.yml.old`` and ``passwords.yml.new`` into ``/etc/kolla/passwords.yml``
For example::
mv /etc/kolla/passwords.yml passwords.yml.old
cp kolla-ansible/etc/kolla/passwords.yml passwords.yml.new
kolla-genpwd -p passwords.yml.new
kolla-mergepwd --old passwords.yml.old --new passwords.yml.new --final /etc/kolla/passwords.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment