openstack-ansible/doc/source/admin/upgrades/major-upgrades.rst
Jean-Philippe Evrard 6442320b24 [Docs] Simplify and fix docs configuration
The documentation has currently multiple problems:
- The top left tag of the openstacktheme isn't consistent with
  the latest available tag, which confuses people (see
  related bug)
- There are unused variables that could deserve cleanup
- There are static content that can be discovered from files
- We don't leverage the dynamic nature of the configuration for
  conditional upgrade messages, while we should.

Change-Id: If8776ee54fda5cdcc27be36e2031150914aa32b2
Related-Bug: #1755241
2018-03-15 14:36:31 +00:00

1.3 KiB

Major upgrades

This guide provides information about the upgrade process from to for OpenStack-Ansible.

Note

You can only upgrade between sequential releases.

Introduction

For upgrades between major versions, the OpenStack-Ansible repository provides playbooks and scripts to upgrade an environment. The run-upgrade.sh script runs each upgrade playbook in the correct order, or playbooks can be run individually if necessary. Alternatively, a deployer can upgrade manually. A major upgrade process performs the following actions:

  • Modifies files residing in the /etc/openstack_deploy directory, to reflect new configuration values.
  • Places flag files that are created by the migration scripts in order to achieve idempotency. These files are placed in the directory.
  • Upgrades the infrastructure servers. See setup-infra-playbook for details.

For more information about the major upgrade process, see upgrading-by-using-a-script and upgrading-manually.

Warning

Test this on a development environment first.