From dddbd213710871e686a233229c943122e73e0e3f Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Fri, 30 Jun 2017 11:45:53 +0200 Subject: [PATCH] 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 Change-Id: I7bfeaa66915e663726acdf3458db80821fbd3d6b Closes-Bug: #1701321 --- docker/services/cinder-volume.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/services/cinder-volume.yaml b/docker/services/cinder-volume.yaml index 0254e25902..73c16deecc 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