calico-dhcp-agent should pass additional config file dhcp_agent.ini

Bug #1739752 reported by jcat on 2017-12-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-calico
Undecided
Unassigned

Bug Description

While trying to get MTU settings to openstack clients via DHCP, I found that any changes made to the neutron dnsmasq file where not passed to dnsmasq by calico-dhcp-agent.

Adding the neutron dhcp config file, dhcp_agent.ini, as an additional config file for calico-dhcp-agent, seemed to enable setting in dnsmasq to take effect as expected.

I propose changing the systemd unit from:

ExecStart=/usr/bin/calico-dhcp-agent --config-file /etc/neutron/neutron.conf

..to:

ExecStart=/usr/bin/calico-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini

..or creating some other mechanism, where by extra config files can be optionally specified without changing the unit file.

If you want any further info, please let me know.

Cheers,
Just

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers