Merge "ffu: Add missing nova-manage db sync for Pike upgrade"

This commit is contained in:
Zuul 2018-06-27 17:40:33 +00:00 committed by Gerrit Code Review
commit 85239cb6a4

View File

@ -487,6 +487,14 @@ outputs:
command: nova-manage cell_v2 discover_hosts --cell_uuid {{nova_api_cell_uuid.stdout}} --verbose command: nova-manage cell_v2 discover_hosts --cell_uuid {{nova_api_cell_uuid.stdout}} --verbose
- name: Setup cell_v2 (migrate instances) - name: Setup cell_v2 (migrate instances)
command: nova-manage cell_v2 map_instances --cell_uuid {{nova_api_cell_uuid.stdout}} command: nova-manage cell_v2 map_instances --cell_uuid {{nova_api_cell_uuid.stdout}}
- name: Sync nova/cell DB
command: nova-manage db sync
async: {get_param: NovaDbSyncTimeout}
poll: 10
when:
- step|int == 8
- is_bootstrap_node|bool
- release == 'pike'
- name: Sync nova_api DB - name: Sync nova_api DB
command: nova-manage api_db sync command: nova-manage api_db sync
when: when: