diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-31 14:23:06 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-31 14:23:06 +0000 |
commit | 04d797c09e3ae3fbc0025dfc4dec30b2b44d4620 (patch) | |
tree | 6c610b6737cfc605abd52d12da31154cabc53b28 /puppet/services/ovn-dbs.yaml | |
parent | 599c6740eb4c81a5fcd2e99d37b831efc6d3ad7e (diff) | |
parent | 5f313f27c9120b0e3bac905d155c2b6d234d27bb (diff) |
Merge "Add 'ovn-controller' service"
Diffstat (limited to 'puppet/services/ovn-dbs.yaml')
-rw-r--r-- | puppet/services/ovn-dbs.yaml | 14 |
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 |