diff options
author | Ryan Hallisey <rhallise@redhat.com> | 2015-11-03 21:17:57 +0000 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-11-10 18:21:22 +0000 |
commit | 1264b1bba2b7528b00d745533768a30896e064d7 (patch) | |
tree | 5d6ebeb3065a6d758150573b656fc3bbd71e05d8 /docker | |
parent | 092bcd9283db3379cc2ccc50499e7904d9647c25 (diff) |
Nova-libvirt needs to bind to /sys/fs/cgroup
Nova-compute was mounting in /sys/fs/cgroup when the libvirt
container is the one that actually needs it.
Change-Id: Iae5c7ad24083a8547474611d72f015c4fd23a073
Diffstat (limited to 'docker')
-rw-r--r-- | docker/compute-post.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/compute-post.yaml b/docker/compute-post.yaml index 5dd88726..1dc7be16 100644 --- a/docker/compute-post.yaml +++ b/docker/compute-post.yaml @@ -182,6 +182,7 @@ resources: volumes: - /run:/run - /lib/modules:/lib/modules:ro + - /sys/fs/cgroup:/sys/fs/cgroup - /var/lib/etc-data/json-config/nova-libvirt.json:/var/lib/kolla/config_files/config.json - /var/lib/etc-data/libvirt/libvirtd.conf:/var/lib/kolla/config_files/libvirtd.conf environment: @@ -254,7 +255,6 @@ resources: restart: always volumes: - /run:/run - - /sys/fs/cgroup:/sys/fs/cgroup - /lib/modules:/lib/modules:ro - /var/lib/etc-data/json-config/nova-compute.json:/var/lib/kolla/config_files/config.json - /var/lib/etc-data/nova/nova.conf:/var/lib/kolla/config_files/nova.conf:ro |