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

Bug #1739752 reported by jcat
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-calico
New
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

Revision history for this message
Vasili (vasili.namatov) wrote :

The thing is that it still not updating nameservers from subnet details to resolv.conf file

Revision history for this message
Vasili (vasili.namatov) wrote :

But the resolving work well.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.