diff options
author | 汉 徐 <hanxu@carey.local> | 2015-12-28 14:24:45 +0800 |
---|---|---|
committer | 汉 徐 <hanxu@carey.local> | 2015-12-28 14:24:45 +0800 |
commit | a074bf874bfef148de55544988bbfbd39badcd4d (patch) | |
tree | 1952084bfc2c3a5a3d38b562eef818cdea9f9a3f /deploy/adapters/ansible/roles/cinder-controller | |
parent | 8d9d65ef222225db6ffebe1f2ead334ef1f0280f (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-controller')
-rw-r--r-- | deploy/adapters/ansible/roles/cinder-controller/tasks/main.yml | 2 | ||||
-rw-r--r-- | deploy/adapters/ansible/roles/cinder-controller/templates/cinder.conf | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/cinder-controller/tasks/main.yml b/deploy/adapters/ansible/roles/cinder-controller/tasks/main.yml index 5491dcf0..1df53e24 100644 --- a/deploy/adapters/ansible/roles/cinder-controller/tasks/main.yml +++ b/deploy/adapters/ansible/roles/cinder-controller/tasks/main.yml @@ -13,3 +13,5 @@ - config - cinder-config - cinder + +- meta: flush_handlers diff --git a/deploy/adapters/ansible/roles/cinder-controller/templates/cinder.conf b/deploy/adapters/ansible/roles/cinder-controller/templates/cinder.conf index 3714aa50..8ecda649 100644 --- a/deploy/adapters/ansible/roles/cinder-controller/templates/cinder.conf +++ b/deploy/adapters/ansible/roles/cinder-controller/templates/cinder.conf @@ -3,7 +3,7 @@ rootwrap_config = /etc/cinder/rootwrap.conf api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper = tgtadm volume_name_template = volume-%s -volume_group = cinder-volumes +volume_group = storage-volumes verbose = {{ VERBOSE }} debug = {{ DEBUG }} auth_strategy = keystone @@ -39,7 +39,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 |