From 078dd5566e7d38d966459063c356a002e2f5ecb0 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 6 Feb 2017 10:53:17 +0800 Subject: [PATCH] Mount mnt folder when enabled cinder nfs backend Change-Id: Ib3d0067ce4bc90245664a2fff337d4e71e4214c1 --- ansible/roles/nova/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova/defaults/main.yml b/ansible/roles/nova/defaults/main.yml index 9bef246503..ac9f569366 100644 --- a/ansible/roles/nova/defaults/main.yml +++ b/ansible/roles/nova/defaults/main.yml @@ -31,7 +31,7 @@ nova_services: - "/etc/localtime:/etc/localtime:ro" - "kolla_logs:/var/log/kolla" - "nova_compute:/var/lib/nova" - - "/var/lib/nova/mnt:/var/lib/nova/mnt:shared" + - "{% if enable_cinder_backend_nfs | bool %}/var/lib/nova/mnt:/var/lib/nova/mnt:shared{% endif %}" - "heka_socket:/var/lib/kolla/heka/" placement-api: container_name: "placement_api"