summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-volume
diff options
context:
space:
mode:
author汉 徐 <hanxu@carey.local>2015-12-28 14:24:45 +0800
committer汉 徐 <hanxu@carey.local>2015-12-28 14:24:45 +0800
commita074bf874bfef148de55544988bbfbd39badcd4d (patch)
tree1952084bfc2c3a5a3d38b562eef818cdea9f9a3f /deploy/adapters/ansible/roles/cinder-volume
parent8d9d65ef222225db6ffebe1f2ead334ef1f0280f (diff)
bugfix: cinder scheduler service is not restart when configuration updated
JIRA: COMPASS-222 Change-Id: I43bb9ccc1bfe8e2cce9d0d82eccf97337d1fc07a Signed-off-by: 汉 徐 <hanxu@carey.local>
Diffstat (limited to 'deploy/adapters/ansible/roles/cinder-volume')
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml2
-rw-r--r--deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
index 3765071e..c0da9984 100644
--- a/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/cinder-volume/tasks/main.yml
@@ -14,3 +14,5 @@
backup=yes
notify:
- restart cinder-volume services
+
+- meta: flush_handlers
diff --git a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
index 75288946..4d8e49ce 100644
--- a/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
+++ b/deploy/adapters/ansible/roles/cinder-volume/templates/cinder.conf
@@ -38,7 +38,6 @@ volume_name_template = volume-%s
snapshot_name_template = snapshot-%s
max_gigabytes=10000
-volume_group=cinder-volumes
volume_clear=zero
volume_clear_size=10