Fix calico service unit user/group

The wrong vars were being passed to systemd_service, so the agents
were being run as neutron/neutron instead of root/root.

Change-Id: I9f7b046b85203da20f022b6ee959290485b6aabd
This commit is contained in:
Logan V 2019-04-13 18:58:56 -05:00
parent a14dd0829d
commit 0d34dade14

View File

@ -444,8 +444,8 @@ neutron_services:
start_order: 1
calico-felix:
group: neutron_calico_dhcp_agent
system_user: root
system_group: root
systemd_user_name: root
systemd_group_name: root
service_name: calico-felix
service_en: "{{ neutron_plugin_type == 'ml2.calico' }}"
service_conf_path: /etc/calico
@ -457,8 +457,8 @@ neutron_services:
start_order: 3
calico-dhcp-agent:
group: neutron_calico_dhcp_agent
system_user: root
system_group: root
systemd_user_name: root
systemd_group_name: root
service_name: calico-dhcp-agent
service_en: "{{ neutron_plugin_type == 'ml2.calico' }}"
service_rootwrap: rootwrap.d/dhcp.filters