aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-11-20 20:50:01 +0000
committerSam Yaple <sam@yaple.net>2015-11-20 23:16:16 +0000
commit3cd5eec2ec7659c895e71d3eb7055694d59e125d (patch)
treec8f6dba14da8b374bb611f8583c729d6dccddcce /ansible
parent296d17af2d0572cc02c7cbc6d13463d7f7274c90 (diff)
downloadkolla-3cd5eec2ec7659c895e71d3eb7055694d59e125d.tar.gz
kolla-3cd5eec2ec7659c895e71d3eb7055694d59e125d.zip
Fix udev cinder issue
/run/udev contains the udev information needed for the lvm tools /run and /dev must be bound in for this to work properly Change-Id: Icfe07c4ce3673310cc24591b42c107c9710cd3ac Closes-Bug: #1518454 Closes-Bug: #1487780 Related-Bug: #1487807
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/cinder/tasks/start.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/cinder/tasks/start.yml b/ansible/roles/cinder/tasks/start.yml
index 5c30315ef..d7d16df8b 100644
--- a/ansible/roles/cinder/tasks/start.yml
+++ b/ansible/roles/cinder/tasks/start.yml
@@ -80,6 +80,8 @@
volumes:
- "{{ node_config_directory }}/cinder-volume/:{{ container_config_directory }}/:ro"
- "/var/lib/kolla/dev/log:/dev/log"
+ - /dev/:/dev/
+ - /run/:/run/
env:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
when: inventory_hostname in groups['cinder-volume']