aboutsummaryrefslogtreecommitdiff
path: root/compose/nova-api-compute-network.yml
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-03-27 18:55:00 -0500
committerSam Yaple <sam@yaple.net>2015-03-28 15:54:43 -0500
commit1dcd904d27593e818721fe6dc143cd384eb9a6d9 (patch)
treee7e635b0fae4ed9cc6991248777297d56651afdc /compose/nova-api-compute-network.yml
parentafcc1569b8fe3f962ad13bd0ed780c3336163fd3 (diff)
downloadkolla-1dcd904d27593e818721fe6dc143cd384eb9a6d9.tar.gz
kolla-1dcd904d27593e818721fe6dc143cd384eb9a6d9.zip
Loads ebtables from inside the containers
We have to overlay the /lib/modules folder from the host to properly `modprobe` from within a container. We don't have to give it write permissions however, so the docker-compose volume is mounted in as 'ro' Change-Id: I95101136dad56e9331d8b92cd394495f7bd0576a
Diffstat (limited to 'compose/nova-api-compute-network.yml')
-rw-r--r--compose/nova-api-compute-network.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/compose/nova-api-compute-network.yml b/compose/nova-api-compute-network.yml
index 8e0c4c08f..fbb009baf 100644
--- a/compose/nova-api-compute-network.yml
+++ b/compose/nova-api-compute-network.yml
@@ -14,6 +14,7 @@ libvirt:
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
+ - /lib/modules:/lib/modules:ro
volumes_from:
- computedata
@@ -28,6 +29,7 @@ novanetwork:
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
+ - /lib/modules:/lib/modules:ro
volumes_from:
- computedata
@@ -43,6 +45,8 @@ novaapi:
restart: always
env_file:
- openstack.env
+ volumes:
+ - /lib/modules:/lib/modules:ro
novacompute:
image: kollaglue/centos-rdo-nova-compute
@@ -55,5 +59,6 @@ novacompute:
volumes:
- /run:/run
- /sys/fs/cgroup:/sys/fs/cgroup
+ - /lib/modules:/lib/modules:ro
volumes_from:
- computedata