Jesse Pretorius f4634205d9 Implement data migrations for rolling upgrades
In order to cater for artifact-based installed, and
rolling upgrades, this patch implements a set of local
facts to inform the online migrations task.

The 'nova_all_software_updated' variable will be
set by the playbook on each run to ensure that the
online migrations only happen once all venvs are
homogenous. This ensures that the playbook can be
executed in a serialised fashion and the data will
not be corrupted.

The ``upgrade_levels`` setting for ``compute`` is set
to ``auto`` to ensure that a mixed RPC version
deployment can operate properly when doing a rolling
upgrade as suggested by [1].

Additional changes are made to improve the role's
ability to be executed using serialised playbooks.

Finally, the nova-manage command references to the
config file location have been removed as they refer
to the default location.

[1] https://docs.openstack.org/developer/nova/upgrade.html

Conflicts:
>------handlers/main.yml
>------tasks/main.yml
>------tasks/nova_db_post_setup.yml
>------tasks/nova_db_setup.yml
>------tasks/nova_install.yml
>------templates/nova.conf.j2

Backport note:
ansible_play_hosts in Ansible 2.1 provides
the hosts for the play serial batch and not
the hosts for the play as a whole. It is
therefore not suitable, so we leave the
task scoping as it was.

Change-Id: I08e5a7f0ce526b11aa52c35ee29c458954a5f22d
(cherry picked from commit 7fc1497ebe)
2017-07-09 13:06:58 +01:00
2017-06-26 11:59:44 +01:00
2016-09-29 14:47:06 -04:00
2016-09-30 12:44:34 +00:00
2016-08-18 17:18:12 +01:00
2016-07-19 21:12:37 +00:00
2016-10-20 12:54:37 +01:00
2016-08-19 15:40:40 -04:00

OpenStack-Ansible nova

Ansible role that installs and configures OpenStack nova and all of its corresponding services.

This role will install the following:
  • nova-api
  • nova-conductor
  • nova-scheduler
  • nova-console
  • nova-cert
  • nova-compute

Documentation for the project can be found at: http://docs.openstack.org/developer/openstack-ansible-os_nova/

The project home is at: http://launchpad.net/openstack-ansible

Description
Role os_nova for OpenStack-Ansible
Readme 16 MiB
Languages
Jinja 66.7%
Python 30.9%
Shell 2.4%