aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/cinder-volume.yaml
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2017-06-27 15:48:40 +0200
committerJiri Stransky <jistr@redhat.com>2017-07-11 15:05:42 +0200
commite718f93872a070969050f60ce53a15c234c717a5 (patch)
treeeb410e6b590ed6598623cde7f8bb540618325af7 /docker/services/cinder-volume.yaml
parent322f2dbd4c1d9c8617186bcb9211d7a1fe10ba3f (diff)
LVM in cinder-volume container without udev
Disabling udev usage from LVM seems to be the only observed working way of running containerized cinder-volume with local LVM backend. I didn't come across reports that not using udev would have negative impact on the functionality. Additional info at https://groups.google.com/forum/#!topic/docker-user/n4Xtvsb4RAw Change-Id: I491795deab0c37d1bad3b50524481e0b76529667 Depends-On: I1bf395a6228dba66fa6bf9b8bcc9f3ac3d922a49 Closes-Bug: #1700982
Diffstat (limited to 'docker/services/cinder-volume.yaml')
-rw-r--r--docker/services/cinder-volume.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/docker/services/cinder-volume.yaml b/docker/services/cinder-volume.yaml
index 0ce098a3..0254e259 100644
--- a/docker/services/cinder-volume.yaml
+++ b/docker/services/cinder-volume.yaml
@@ -67,9 +67,15 @@ outputs:
description: Role data for the Cinder Volume role.
value:
service_name: {get_attr: [CinderBase, role_data, service_name]}
- config_settings: {get_attr: [CinderBase, role_data, config_settings]}
+ config_settings:
+ map_merge:
+ - get_attr: [CinderBase, role_data, config_settings]
+ - tripleo::profile::base::lvm::enable_udev: false
step_config: &step_config
- get_attr: [CinderBase, role_data, step_config]
+ list_join:
+ - "\n"
+ - - "include ::tripleo::profile::base::lvm"
+ - get_attr: [CinderBase, role_data, step_config]
service_config_settings: {get_attr: [CinderBase, role_data, service_config_settings]}
# BEGIN DOCKER SETTINGS
puppet_config: