Put service stop at step1 and quiesce at step2.
[apex-tripleo-heat-templates.git] / puppet / services / congress.yaml
index aa8d9a9..c818980 100644 (file)
@@ -87,3 +87,11 @@ outputs:
 
       step_config: |
         include ::tripleo::profile::base::congress
+
+      upgrade_tasks:
+        - name: "PreUpgrade step0,validation: Check service openstack-congress-server is running"
+          shell: /usr/bin/systemctl show 'openstack-congress-server' --property ActiveState | grep '\bactive\b'
+          tags: step0,validation
+        - name: Stop congress service
+          tags: step1
+          service: name=openstack-congress-server state=stopped