Fix perms issue for dnsmasq on CentOS.

logs are in /var/log/neutron/neutron-dnsmasq.log
dnsmasq[18597]: cannot read /var/lib/neutron/dhcp/5bb9f1cd-0188-4b31-a1ad-d59740cc6f10/opts: Permission denied
cannot read /var/lib/neutron/dhcp/5bb9f1cd-0188-4b31-a1ad-d59740cc6f10/host: Permission denied

Change-Id: I9de6da0249d665e0b0a95f2dde3c1f1fcc235b42
This commit is contained in:
Marc Gariepy 2016-10-27 16:34:02 -04:00
parent 8fda2b7a93
commit 1d02538db4

View File

@ -35,6 +35,7 @@
state: directory
owner: "{{ item.owner|default(neutron_system_user_name) }}"
group: "{{ item.group|default(neutron_system_group_name) }}"
mode: "{{ item.mode | default(omit) }}"
with_items:
- { path: "/openstack", owner: "root", group: "root" }
- { path: "{{ neutron_conf_dir }}" }
@ -45,7 +46,7 @@
- { path: "/var/cache/neutron" }
- { path: "/var/lock/neutron" }
- { path: "/var/run/neutron" }
- { path: "{{ neutron_system_home_folder }}" }
- { path: "{{ neutron_system_home_folder }}", mode: "0755" }
- { path: "{{ neutron_system_home_folder }}/ha_confs" }
- name: Test for log directory or link