aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/nova-conductor.yaml
diff options
context:
space:
mode:
authorSofer Athlan-Guyot <sathlang@redhat.com>2017-02-24 22:31:29 +0100
committerSofer Athlan-Guyot <sathlang@redhat.com>2017-02-28 19:20:13 +0100
commitfb7821378242e595184a38e1e0cb7e9978c0f806 (patch)
treee46ac5dd92a0d43f67b09e93ccf5c3fae440fe1f /puppet/services/nova-conductor.yaml
parentd54532679edce04a5bdc3159489b77baf90b14ca (diff)
Put service stop at step1 and quiesce at step2.
In the previous release[1], the services were stopped before the pacemaker services, so that they get a chance to send last message to the database/rabbitmq queue: Let's do the upgrade in the same order. [1] https://github.com/openstack/tripleo-heat-templates/blob/stable/newton/extraconfig/tasks/major_upgrade_controller_pacemaker_2.sh#L13-L71 Change-Id: I1c4045e8b9167396c9dfa4da99973102f1af1218
Diffstat (limited to 'puppet/services/nova-conductor.yaml')
-rw-r--r--puppet/services/nova-conductor.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/nova-conductor.yaml b/puppet/services/nova-conductor.yaml
index a19d0f8d..4574cae8 100644
--- a/puppet/services/nova-conductor.yaml
+++ b/puppet/services/nova-conductor.yaml
@@ -67,12 +67,12 @@ outputs:
include tripleo::profile::base::nova::conductor
upgrade_tasks:
- name: Stop nova_conductor service
- tags: step2
+ tags: step1
service: name=openstack-nova-conductor state=stopped
# If not already set by puppet (e.g a pre-ocata version), set the
# upgrade_level for compute to "auto"
- name: Set compute upgrade level to auto
- tags: step2
+ tags: step1
ini_file:
str_replace:
template: "dest=/etc/nova/nova.conf section=upgrade_levels option=compute value=LEVEL"