collectd: give access to the libvirt socket in ro

collectd virt plugin needs to read /var/run/libvirt/libvirt-sock-ro to
work.

This change gives this access.

Closes-bug: #1772635
Change-Id: I52b32ebecfe1fc270bda7d5c0e7e90ce273e72a6
This commit is contained in:
Mehdi Abaakouk 2018-05-22 12:59:01 +02:00
parent 1eaa019a1f
commit e04b3ce972

View File

@ -108,6 +108,7 @@ outputs:
- /var/log/containers/collectd:/var/log/collectd:rw
- /var/run/openvswitch:/var/run/openvswitch:ro
- /var/run/ceph:/var/run/ceph:ro
- /var/run/libvirt:/var/run/libvirt:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks: