Merge "Move nova online migrations to nova-conductor"

This commit is contained in:
Zuul 2020-06-15 21:43:56 +00:00 committed by Gerrit Code Review
commit 0b519bfc72
2 changed files with 9 additions and 9 deletions

View File

@ -495,15 +495,6 @@ outputs:
- step|int == 4
host_prep_tasks: {get_attr: [NovaApiLogging, host_prep_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:
- step|int == 1
tags:

View File

@ -203,6 +203,15 @@ outputs:
persistent: yes
state: yes
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:
- step|int == 1
tags: