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
This commit is contained in:
Mohammed Naser 2018-11-21 14:35:05 -05:00
parent d28c0dced7
commit 55f9e3600c
1 changed files with 1 additions and 0 deletions

View File

@ -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"