Merge "Move nova online migrations to nova-conductor" into stable/train

This commit is contained in:
Zuul 2020-07-22 04:30:58 +00:00 committed by Gerrit Code Review
commit 2842461851
2 changed files with 9 additions and 9 deletions

View File

@ -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:

View File

@ -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: