From a1be08894bb6847fdf8b77750098dd8aa01630ae Mon Sep 17 00:00:00 2001 From: Michele Baldessari Date: Fri, 28 Apr 2017 14:17:38 +0200 Subject: [PATCH] Add the update-plan-only step for the minor updates workflow Currently we are missing the step to bring updated tht templates in the swift container. Without that step you will run a minor update which will always run the yum_update.sh script that was around deployment time, making it impossible to ship fixes to the script itself. Change-Id: I28696be9925a31d305a4faca10a95ce7c7644cb3 --- doc/source/post_deployment/package_update.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/source/post_deployment/package_update.rst b/doc/source/post_deployment/package_update.rst index 31293069..af1c7380 100644 --- a/doc/source/post_deployment/package_update.rst +++ b/doc/source/post_deployment/package_update.rst @@ -3,8 +3,20 @@ Updating Packages on Overcloud Nodes ==================================== -You can update packages on all overcloud nodes with a command similar to the -following:: +Updating packages on all overcloud nodes involves two steps. The first one +makes sure that the overcloud plan is updated (a new tripleo-heat-templates rpm +might have brought fixes/changes to the templates):: + + openstack overcloud deploy --update-plan-only \ + --templates \ + -e + +By using the parameter ``--update-plan-only`` we make sure we update only the +stored overcloud plan and not the overcloud itself. Make sure you pass the +exact same environment parameters that were used at deployment time. + +The second step consists in updating the packages themselves on all overcloud +nodes with a command similar to the following:: openstack overcloud update stack -i overcloud @@ -32,4 +44,4 @@ breakpoint on next one. The --templates and --environment-file (-e) are now deprecated. They can still be passed to the command, but they will be silently ignored. This is due to the plan now used for deployment should only be modified via plan modification - commands. \ No newline at end of file + commands.