FFU: missing ironic tasks
Add database migrations and online data migrations (from Pike on). Also upgrade packages for both API and conductor (they can be on different roles). Closes-Bug: #1780116 Change-Id: I24d20fad72ce29fd3c2c4a96f1ee8422d3e1bdc3
This commit is contained in:
parent
56dd8bd8a5
commit
8cb66f6a4e
|
@ -228,3 +228,19 @@ outputs:
|
|||
- step|int == 1
|
||||
- release == 'ocata'
|
||||
- ironic_api_enabled|bool
|
||||
- name: Ironic package update
|
||||
shell: yum -y update openstack-ironic*
|
||||
when:
|
||||
- step|int == 6
|
||||
- is_bootstrap_node|bool
|
||||
- name: Synchronize the database
|
||||
command: ironic-dbsync --config-file /etc/ironic/ironic.conf upgrade
|
||||
when:
|
||||
- step|int == 8
|
||||
- is_bootstrap_node|bool
|
||||
- name: Do online data migration
|
||||
command: ironic-dbsync --config-file /etc/ironic/ironic.conf online_data_migrations
|
||||
when:
|
||||
- step|int == 8
|
||||
- is_bootstrap_node|bool
|
||||
- release == 'pike'
|
||||
|
|
|
@ -261,3 +261,8 @@ outputs:
|
|||
- step|int == 1
|
||||
- release == 'ocata'
|
||||
- ironic_conductor_enabled|bool
|
||||
- name: Ironic packages update
|
||||
shell: yum -y update openstack-ironic*
|
||||
when:
|
||||
- step|int == 6
|
||||
- is_bootstrap_node|bool
|
||||
|
|
Loading…
Reference in New Issue