commit a661b6d5e17fbe3652f77726a0b4c7a87f7fcbbc
Author: Alex Schultz <email address hidden>
Date: Wed Jan 11 12:43:01 2017 -0700
Improve upgrade process to include upgrade flag
Previously, the upgrade process for the undercloud has been to just
rerun the install process. The problem is that this does not include
anwyay to indicate that it's already been run if we need to trigger some
different actions on subsequent runs. As part of the Newton to Ocata
upgrade, we need to be able to run the cell v2 setup in a different
order than on a traditional install. We need a way for the puppet
scripts that ultimately get run to know if it's an upgrade or install
action. This change adds the creation of an undercloud_upgrade fact that
will be used when the upgrade process is run. Additionally a new script
called instack-upgrade-undercloud has been created to be used when
upgrade. The use of instack-install-undercloud will cause the install
flow to be execuated, while the instack-upgrade-undercloud will set the
fact to true to allow for the puppet scripts to use the upgrade flow.
Reviewed: https:/ /review. openstack. org/419112 /git.openstack. org/cgit/ openstack/ instack- undercloud/ commit/ ?id=a661b6d5e17 fbe3652f77726a0 b4c7a87f7fcbbc
Committed: https:/
Submitter: Jenkins
Branch: master
commit a661b6d5e17fbe3 652f77726a0b4c7 a87f7fcbbc
Author: Alex Schultz <email address hidden>
Date: Wed Jan 11 12:43:01 2017 -0700
Improve upgrade process to include upgrade flag
Previously, the upgrade process for the undercloud has been to just upgrade- undercloud has been created to be used when install- undercloud will cause the install upgrade- undercloud will set the
rerun the install process. The problem is that this does not include
anwyay to indicate that it's already been run if we need to trigger some
different actions on subsequent runs. As part of the Newton to Ocata
upgrade, we need to be able to run the cell v2 setup in a different
order than on a traditional install. We need a way for the puppet
scripts that ultimately get run to know if it's an upgrade or install
action. This change adds the creation of an undercloud_upgrade fact that
will be used when the upgrade process is run. Additionally a new script
called instack-
upgrade. The use of instack-
flow to be execuated, while the instack-
fact to true to allow for the puppet scripts to use the upgrade flow.
Change-Id: Ie3cb21e30334fe 8ffc0a9d6e707b4 2269b64c9ec Blueprint: undercloud-upgrade
Related-Bug: #1649341
Related-