aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Cornea <mcornea@redhat.com>2017-03-24 13:06:22 +0100
committerMarius Cornea <mcornea@redhat.com>2017-03-24 16:30:04 +0100
commit276aca7a8145570301e566a8fb3253f57601d171 (patch)
treeb961ef8a5010438783b58c79b39b80249d2d76c5
parent8716d9f769dd17ef17fef7f0fdefaf0df6a7fe24 (diff)
Stop openstack-nova-compute during nova-ironic upgrade
This change ensures that that openstack-nova-compute is stopped and disabled during the upgrade process. Closes-Bug: 1675814 Change-Id: Ifd2557b11e4317f1e76e459e8de4162116578eff
-rw-r--r--puppet/services/nova-ironic.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/services/nova-ironic.yaml b/puppet/services/nova-ironic.yaml
index 843f44c5..f1d8dff7 100644
--- a/puppet/services/nova-ironic.yaml
+++ b/puppet/services/nova-ironic.yaml
@@ -51,3 +51,7 @@ outputs:
nova::scheduler::filter::scheduler_host_manager: 'ironic_host_manager'
step_config: |
include tripleo::profile::base::nova::compute::ironic
+ upgrade_tasks:
+ - name: Stop openstack-nova-compute service
+ tags: step1
+ service: name=openstack-nova-compute state=stopped enabled=no