Allow modprobing from cinder-volume container
authorJiri Stransky <jistr@redhat.com>
Fri, 30 Jun 2017 09:45:53 +0000 (11:45 +0200)
committerJiri Stransky <jistr@redhat.com>
Tue, 11 Jul 2017 13:06:23 +0000 (15:06 +0200)
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

docker/services/cinder-volume.yaml

index 0254e25..73c16de 100644 (file)
@@ -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