diff options
author | Dan Radez <dradez@redhat.com> | 2017-02-10 13:34:39 -0500 |
---|---|---|
committer | Athlan-Guyot sofer <sathlang@redhat.com> | 2017-03-01 13:24:52 +0000 |
commit | d0d93953ab27833d2326e0657ea920c2bfd96f0c (patch) | |
tree | d4c79bbb7d655d924faf46cb0ce0e552f5adcbeb | |
parent | 1ab18342023458c58e6771b94c22ede89c917af3 (diff) |
Adding upgrade_tasks to tacker
Change-Id: I0d7e151a931d02068dea80d7cf57b99736e689e6
(cherry picked from commit 077c2eeb40bf1e9d5ad011c4c6036614d03886b6)
-rw-r--r-- | puppet/services/tacker.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/tacker.yaml b/puppet/services/tacker.yaml index 97ac9828..23b00c15 100644 --- a/puppet/services/tacker.yaml +++ b/puppet/services/tacker.yaml @@ -96,3 +96,10 @@ outputs: step_config: | include ::tripleo::profile::base::tacker + upgrade_tasks: + - name: "PreUpgrade step0,validation: Check service openstack-tacker-server is running" + shell: /usr/bin/systemctl show 'openstack-tacker-server' --property ActiveState | grep '\bactive\b' + tags: step0,validation + - name: Stop tacker service + tags: step2 + service: name=openstack-tacker-server state=stopped |