Browse Source

Fix Glance NFS mount point ownership

Glance NFS mounts are owned by `root` and are not writable by `glance`
user. Proposed change sets the `glance_nfs_client.local_path`
directory ownership to
`glance_system_user_name:glance_system_group_name` so that
Glance can write to that.

Change-Id: I226827d4f44da098961b16fd4450104d7a367205
Closes-Bug: 1813300
Related-Bug: 1759552
Juri Hudolejev 2 months ago
parent
commit
414df67f86
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      tasks/glance_install.yml

+ 2
- 0
tasks/glance_install.yml View File

@@ -47,6 +47,8 @@
47 47
   file:
48 48
     path: "{{ item.local_path }}"
49 49
     state: directory
50
+    owner: "{{ glance_system_user_name }}"
51
+    group: "{{ glance_system_group_name }}"
50 52
     mode: "0755"
51 53
   with_items: "{{ glance_nfs_client }}"
52 54
 

Loading…
Cancel
Save