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:
parent
ea3dd6f393
commit
a277ebd2cf
@ -55,7 +55,7 @@ author: Rcbops
|
|||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
- name: Gather neutron migration facts
|
- name: Gather neutron migration facts
|
||||||
neutron_migrations_facts:
|
neutron_migrations_facts:
|
||||||
release: mitaka
|
release: newton
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ MIGRATIONS = {
|
|||||||
'run_expand': True
|
'run_expand': True
|
||||||
}
|
}
|
||||||
|
|
||||||
RELEASES = ['mitaka', 'liberty']
|
RELEASES = ['newton', 'mitaka', 'liberty']
|
||||||
|
|
||||||
|
|
||||||
def get_branch(release, revision, library_path, project):
|
def get_branch(release, revision, library_path, project):
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
- name: Get neutron migrations facts
|
- name: Get neutron migrations facts
|
||||||
neutron_migrations_facts:
|
neutron_migrations_facts:
|
||||||
release: mitaka
|
release: newton
|
||||||
library_path: "{{ neutron_lib_dir }}"
|
library_path: "{{ neutron_lib_dir }}"
|
||||||
bin_path: "{{ neutron_bin }}"
|
bin_path: "{{ neutron_bin }}"
|
||||||
when: neutron_plugin_type == 'ml2'
|
when: neutron_plugin_type == 'ml2'
|
||||||
|
Loading…
Reference in New Issue
Block a user