summaryrefslogtreecommitdiffstats
path: root/puppet/services/ovn-dbs.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-31 14:23:06 +0000
committerGerrit Code Review <review@openstack.org>2017-07-31 14:23:06 +0000
commit04d797c09e3ae3fbc0025dfc4dec30b2b44d4620 (patch)
tree6c610b6737cfc605abd52d12da31154cabc53b28 /puppet/services/ovn-dbs.yaml
parent599c6740eb4c81a5fcd2e99d37b831efc6d3ad7e (diff)
parent5f313f27c9120b0e3bac905d155c2b6d234d27bb (diff)
Merge "Add 'ovn-controller' service"
Diffstat (limited to 'puppet/services/ovn-dbs.yaml')
-rw-r--r--puppet/services/ovn-dbs.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/puppet/services/ovn-dbs.yaml b/puppet/services/ovn-dbs.yaml
index f6f3e3c8..2b98008b 100644
--- a/puppet/services/ovn-dbs.yaml
+++ b/puppet/services/ovn-dbs.yaml
@@ -57,3 +57,17 @@ outputs:
- {get_param: OVNSouthboundServerPort}
step_config: |
include ::tripleo::profile::base::neutron::ovn_northd
+ upgrade_tasks:
+ - name: Check if ovn_northd is deployed
+ command: systemctl is-enabled ovn-northd
+ tags: common
+ ignore_errors: True
+ register: ovn_northd_enabled
+ - name: "PreUpgrade step0,validation: Check service ovn-northd is running"
+ shell: /usr/bin/systemctl show 'ovn-northd' --property ActiveState | grep '\bactive\b'
+ when: ovn_northd_enabled.rc == 0
+ tags: step0,validation
+ - name: Stop ovn-northd service
+ tags: step1
+ when: ovn_northd_enabled.rc == 0
+ service: name=ovn-northd state=stopped