X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fneutron-dhcp.yaml;fp=puppet%2Fservices%2Fneutron-dhcp.yaml;h=062edaa42ace008cfc4f0cae0544800a9f103d28;hb=d14c56e1b6a521f99c564c6f22edf381c8831797;hp=bb4742c964d540db0f6feaf33c90991c72a62e0b;hpb=91a231d80815dc2ad45cc9502151e68b636090d0;p=apex-tripleo-heat-templates.git 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