Update os_neutron to handle newton migrations

Performing initial neutron migrations currently works, but applying
subsequent migrations will fail due to the role attempting to apply
mitaka migrations.  This update moves tasks/neutron_db_setup.yml
over to newton and updates library/neutron_migrations_facts to be
aware of newton migrations.

Change-Id: I56416f21144f0cdb9e096576922fd441bc7f9cb3
This commit is contained in:
Matt Thompson 2016-04-20 12:59:07 +01:00
parent ea3dd6f393
commit a277ebd2cf
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ author: Rcbops
EXAMPLES = """
- name: Gather neutron migration facts
neutron_migrations_facts:
release: mitaka
release: newton
"""
@ -118,7 +118,7 @@ MIGRATIONS = {
'run_expand': True
}
RELEASES = ['mitaka', 'liberty']
RELEASES = ['newton', 'mitaka', 'liberty']
def get_branch(release, revision, library_path, project):

View File

@ -41,7 +41,7 @@
- name: Get neutron migrations facts
neutron_migrations_facts:
release: mitaka
release: newton
library_path: "{{ neutron_lib_dir }}"
bin_path: "{{ neutron_bin }}"
when: neutron_plugin_type == 'ml2'