summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2017-06-30 11:45:53 +0200
committerJiri Stransky <jistr@redhat.com>2017-07-11 15:06:23 +0200
commitdddbd213710871e686a233229c943122e73e0e3f (patch)
tree07d3008bf477e52bc7099b08af7829b640d7011d
parente718f93872a070969050f60ce53a15c234c717a5 (diff)
Allow modprobing from cinder-volume container
When using LVM/iSCSI backend, cinder-volume tries to modprobe configfs module. We need the modules dir bind mounted for this to succeed. Co-Authored-By: Gorka Eguileor <geguileo@redhat.com> Change-Id: I7bfeaa66915e663726acdf3458db80821fbd3d6b Closes-Bug: #1701321
-rw-r--r--docker/services/cinder-volume.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/services/cinder-volume.yaml b/docker/services/cinder-volume.yaml
index 0254e259..73c16dee 100644
--- a/docker/services/cinder-volume.yaml
+++ b/docker/services/cinder-volume.yaml
@@ -133,6 +133,7 @@ outputs:
- /var/lib/config-data/puppet-generated/cinder/:/var/lib/kolla/config_files/src:ro
# FIXME: we need to generate a ceph.conf with puppet for this
- /var/lib/config-data/puppet-generated/ceph/:/var/lib/kolla/config_files/src-ceph:ro
+ - /lib/modules:/lib/modules:ro
- /dev/:/dev/
- /run/:/run/
- /sys:/sys