Browse Source

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
Mohammed Naser 5 months ago
parent
commit
55f9e3600c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tasks/glance_install.yml

+ 1
- 0
tasks/glance_install.yml View File

@@ -68,6 +68,7 @@
68 68
       mode: "0750"
69 69
     - path: "/var/cache/glance"
70 70
     - path: "{{ glance_system_user_home }}"
71
+    - path: "{{ glance_system_user_home }}/cache"
71 72
     - path: "{{ glance_system_user_home }}/cache/api"
72 73
       mode: "0700"
73 74
     - path: "{{ glance_system_user_home }}/cache/registry"

Loading…
Cancel
Save