summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail <mzhnichkov@mirantis.com>2017-03-23 14:55:40 +0400
committerMikhail Zhnichkov <mzhnichkov@mirantis.com>2017-03-24 06:22:33 +0000
commit972f335ff138652aa51561d95967d795e197778b (patch)
treeece4534c041052ca6fe5601e0b7be2758ca63398
parent49c835ec0976c7b5f08c33c665b2bbcc52a4832d (diff)
Wait for the completion connections before drop container
Notes
Notes (review): Code-Review+2: Andrey Pavlov <apavlov@mirantis.com> Verified+1: Mirantis CCP CI <mirantis-fuel-ccp-ci@mirantis.com> Code-Review+2: Sergey Reshetnyak <sreshetniak@mirantis.com> Workflow+1: Sergey Reshetnyak <sreshetniak@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 24 Mar 2017 08:48:40 +0000 Reviewed-on: https://review.openstack.org/449064 Project: openstack/fuel-ccp-keystone Branch: refs/heads/master
-rw-r--r--service/keystone.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/service/keystone.yaml b/service/keystone.yaml
index f8227d9..15e3ad8 100644
--- a/service/keystone.yaml
+++ b/service/keystone.yaml
@@ -1,4 +1,4 @@
1dsl_version: 0.6.0 1dsl_version: 0.9.0
2service: 2service:
3 name: keystone 3 name: keystone
4 ports: 4 ports:
@@ -24,6 +24,10 @@ service:
24 path: "/var/log/ccp/keystone" 24 path: "/var/log/ccp/keystone"
25 type: host 25 type: host
26 readOnly: False 26 readOnly: False
27 lifecycle:
28 preStop:
29 exec:
30 command: ["apachectl", "-k", "graceful-stop"]
27 pre: 31 pre:
28 - name: chown-logs-dir 32 - name: chown-logs-dir
29 command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone" 33 command: "sudo /bin/chown keystone:keystone /var/log/ccp/keystone"