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
This commit is contained in:
Juri Hudolejev 2019-01-31 09:31:25 +02:00 committed by James Denton
parent b8890c4841
commit 414df67f86
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@
file: file:
path: "{{ item.local_path }}" path: "{{ item.local_path }}"
state: directory state: directory
owner: "{{ glance_system_user_name }}"
group: "{{ glance_system_group_name }}"
mode: "0755" mode: "0755"
with_items: "{{ glance_nfs_client }}" with_items: "{{ glance_nfs_client }}"