aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2017-08-07 15:52:52 +0200
committerDmitry Tantsur <divius.inside@gmail.com>2017-08-07 15:53:34 +0200
commit7586c580793c555a302129acaf82965bf612ef32 (patch)
tree76aaa06548c5718d2762b7e3f63729731bd8a559 /manifests/profile
parentab591715fce6684d442b2a5dc661c39b89327cc5 (diff)
Run online_data_migrations for Ironic on upgrade
This only enables correct offline upgrade for now, proper rolling upgrade support will follow in the Queens release. Change-Id: Iebbd0c6dfc704ba2e0b5176d607354dd31f13a0d Depends-On: I548c80cf138b661ba3a5e45a6dfe8711f3322ed0 Partial-Bug: #1708149
Diffstat (limited to 'manifests/profile')
-rw-r--r--manifests/profile/base/ironic.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/profile/base/ironic.pp b/manifests/profile/base/ironic.pp
index 2739f33..7e6efec 100644
--- a/manifests/profile/base/ironic.pp
+++ b/manifests/profile/base/ironic.pp
@@ -70,8 +70,9 @@ class tripleo::profile::base::ironic (
if $step >= 4 or ($step >= 3 and $sync_db) {
$oslomsg_use_ssl_real = sprintf('%s', bool2num(str2bool($oslomsg_use_ssl)))
class { '::ironic':
- sync_db => $sync_db,
- default_transport_url => os_transport_url({
+ sync_db => $sync_db,
+ db_online_data_migrations => $sync_db,
+ default_transport_url => os_transport_url({
'transport' => $oslomsg_rpc_proto,
'hosts' => $oslomsg_rpc_hosts,
'port' => sprintf('%s', $oslomsg_rpc_port),