diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-01-27 12:58:03 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-01-27 12:58:03 +0000 |
commit | c349789089157b0210d8de4f317599df81fa9760 (patch) | |
tree | fd5508c45791ab7414ff1aafead262da0158772e /puppet/services/neutron-dhcp.yaml | |
parent | ef741fab9bf8f649be6ec8f7cef14f5b841f93c6 (diff) | |
parent | d14c56e1b6a521f99c564c6f22edf381c8831797 (diff) |
Merge "Adds a pre-upgrade check that service is running (step0)"
Diffstat (limited to 'puppet/services/neutron-dhcp.yaml')
-rw-r--r-- | puppet/services/neutron-dhcp.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/puppet/services/neutron-dhcp.yaml b/puppet/services/neutron-dhcp.yaml index bb4742c9..062edaa4 100644 --- a/puppet/services/neutron-dhcp.yaml +++ b/puppet/services/neutron-dhcp.yaml @@ -80,6 +80,9 @@ outputs: step_config: | include tripleo::profile::base::neutron::dhcp upgrade_tasks: + - name: "PreUpgrade step0,validation: Check service neutron-dhcp-agent is running" + shell: /usr/bin/systemctl show 'neutron-dhcp-agent' --property ActiveState | grep '\bactive\b' + tags: step0,validation - name: Stop neutron_dhcp service tags: step2 service: name=neutron-dhcp-agent state=stopped |