From 902d63ce8e76f880d16ac8b40dff302308db9304 Mon Sep 17 00:00:00 2001 From: Jose Luis Franco Arza Date: Mon, 14 Feb 2022 07:22:05 +0100 Subject: [PATCH] Add --reproduce-command in UC install and upgrade. Document the usage of the --reproduce-command option to obtain a reproducer file with the Ansible command used to re-run the very same deployment playbooks. Depends-On: https://review.opendev.org/c/openstack/python-tripleoclient/+/827494 Change-Id: Id136969eaef3a1a911c1132bdc696181039e787c --- deploy-guide/source/deployment/install_undercloud.rst | 5 +++++ deploy-guide/source/post_deployment/upgrade/undercloud.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/deploy-guide/source/deployment/install_undercloud.rst b/deploy-guide/source/deployment/install_undercloud.rst index 9d4a7282..1f0bf687 100644 --- a/deploy-guide/source/deployment/install_undercloud.rst +++ b/deploy-guide/source/deployment/install_undercloud.rst @@ -254,6 +254,11 @@ Downloaded ansible playbooks and inventory files (see :ref:`config_download`) used for undercloud deployment are stored in the tempdir ``~/undercloud-ansible-`` by default. +.. note:: + In order to obtain the ansible command used for the installation of the + Undercloud in the artifacts directory, it is necessary to pass the option + ``--reproduce-command`` in the Undercloud deployment command. + .. note:: Any passwords set in ``undercloud.conf`` will take precedence over the ones in ``undercloud-passwords.conf``. diff --git a/deploy-guide/source/post_deployment/upgrade/undercloud.rst b/deploy-guide/source/post_deployment/upgrade/undercloud.rst index 7b80fdf7..306a82bf 100644 --- a/deploy-guide/source/post_deployment/upgrade/undercloud.rst +++ b/deploy-guide/source/post_deployment/upgrade/undercloud.rst @@ -128,6 +128,11 @@ Updating Undercloud Components To upgrade with instack undercloud in Rocky, you'll need to upgrade with ``--use-heat=False`` option. Note this isn't tested and not supported. + .. note:: + In order to obtain the ansible command used for the installation of the + Undercloud in the artifacts directory, it is necessary to pass the option + ``--reproduce-command`` in the Undercloud upgrade command. + .. note:: It's possible to enable verbose logging with ``--verbose`` option. To cleanup an undercloud after its upgrade, you'll need to set