Merge "Move nova online migrations to nova-conductor" into stable/train
This commit is contained in:
commit
2842461851
|
@ -531,15 +531,6 @@ outputs:
|
||||||
when: nova_api_healthcheck_state.status.ExecMainStatus != '0'
|
when: nova_api_healthcheck_state.status.ExecMainStatus != '0'
|
||||||
host_prep_tasks: {get_attr: [NovaApiLogging, host_prep_tasks]}
|
host_prep_tasks: {get_attr: [NovaApiLogging, host_prep_tasks]}
|
||||||
external_upgrade_tasks:
|
external_upgrade_tasks:
|
||||||
- when: step|int == 1
|
|
||||||
block:
|
|
||||||
- name: Online data migration for Nova
|
|
||||||
command: "{{ container_cli }} exec nova_api nova-manage db online_data_migrations"
|
|
||||||
delegate_to: "{{ groups['nova_api'][0] }}"
|
|
||||||
become: true
|
|
||||||
tags:
|
|
||||||
- online_upgrade
|
|
||||||
- online_upgrade_nova
|
|
||||||
- when:
|
- when:
|
||||||
- step|int == 1
|
- step|int == 1
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -262,6 +262,15 @@ outputs:
|
||||||
persistent: yes
|
persistent: yes
|
||||||
state: yes
|
state: yes
|
||||||
external_upgrade_tasks:
|
external_upgrade_tasks:
|
||||||
|
- when: step|int == 1
|
||||||
|
block:
|
||||||
|
- name: Online data migration for Nova
|
||||||
|
command: "{{ container_cli }} exec nova_conductor nova-manage db online_data_migrations"
|
||||||
|
delegate_to: "{{ groups['nova_conductor'][0] }}"
|
||||||
|
become: true
|
||||||
|
tags:
|
||||||
|
- online_upgrade
|
||||||
|
- online_upgrade_nova
|
||||||
- when:
|
- when:
|
||||||
- step|int == 1
|
- step|int == 1
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue