Add PCI to nova compute container for passthrough support
authorBrent Eagles <beagles@redhat.com>
Wed, 28 Jun 2017 13:03:24 +0000 (10:33 -0230)
committerBrent Eagles <beagles@redhat.com>
Tue, 11 Jul 2017 16:10:00 +0000 (13:40 -0230)
Nova's whitelist mechanism requires access to the PCI related
directories in the filesystem to service PCI passthrough requests.

Change-Id: Icfad1d116662798701228b142e224513f7dd22e2

docker/services/nova-compute.yaml

index 101934f..e61cd4f 100644 (file)
@@ -117,6 +117,8 @@ outputs:
                   - /var/lib/nova:/var/lib/nova
                   - /var/lib/libvirt:/var/lib/libvirt
                   - /var/log/containers/nova:/var/log/nova
+                  - /sys/class/net:/sys/class/net
+                  - /sys/bus/pci:/sys/bus/pci
             environment:
              - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
       host_prep_tasks: