From 78c498e786d1d6e4cde44599643b3a628736b684 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Fri, 29 Sep 2017 00:51:14 +0800 Subject: [PATCH] Using folder rather than file when map files into container when mapping file from host to container, if the file doesn't exist, it will become a folder. So map folder rather than file. Change-Id: I053ff11d32948711c0e4c3241f56d1f6210348ac Closes-Bug: #1720189 --- ansible/roles/skydive/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/skydive/defaults/main.yml b/ansible/roles/skydive/defaults/main.yml index 82a74fc5e2..b5e6f56268 100644 --- a/ansible/roles/skydive/defaults/main.yml +++ b/ansible/roles/skydive/defaults/main.yml @@ -20,7 +20,7 @@ skydive_services: volumes: - "{{ node_config_directory }}/skydive-agent/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro" - - "/var/run/openvswitch/db.sock:/var/run/openvswitch/db.sock:ro" + - "/var/run/openvswitch:/var/run/openvswitch:ro" - "/var/run/netns:/host/run:shared" - "kolla_logs:/var/log/kolla/"