From 55f9e3600c0c4c87bddb4169b8e5a823cb97dd06 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 21 Nov 2018 14:35:05 -0500 Subject: [PATCH] Fix permissions on /var/lib/glance/cache During deployment, it is possible that the folder was previously created by something else (i.e. in this case, the nspawn deployment tooling). We already set the permissions for the subfolders but we don't set it to the root folder which is causing Glance to fail to start properly. Change-Id: I91b3529fd1896ecde814801c0297465f1b956871 --- tasks/glance_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/glance_install.yml b/tasks/glance_install.yml index d4843c60..a89a54a7 100644 --- a/tasks/glance_install.yml +++ b/tasks/glance_install.yml @@ -68,6 +68,7 @@ mode: "0750" - path: "/var/cache/glance" - path: "{{ glance_system_user_home }}" + - path: "{{ glance_system_user_home }}/cache" - path: "{{ glance_system_user_home }}/cache/api" mode: "0700" - path: "{{ glance_system_user_home }}/cache/registry"