To reproduce the error I did the following:
* connect onto my network-agent
* enter the namespace of my network via ip netns exec qdhcp-$network_id bash
* check with "ss -tuplen" that dnsmasq is listening on tcp/53
* nc localhost 53 # keep this open
* add/remove a subnet from the current network (or just call directory.get_plugin().agent_notifiers['DHCP agent'].network_added_to_agent() on your network_id/agent_host)
* wait shortly
* kill the netcat (it keeps the one dnsmasq process busy)
* check "ss -tuplen" and see that it is no longer listening on tcp/53
To reproduce the error I did the following: get_plugin( ).agent_ notifiers[ 'DHCP agent'] .network_ added_to_ agent() on your network_ id/agent_ host)
* connect onto my network-agent
* enter the namespace of my network via ip netns exec qdhcp-$network_id bash
* check with "ss -tuplen" that dnsmasq is listening on tcp/53
* nc localhost 53 # keep this open
* add/remove a subnet from the current network (or just call directory.
* wait shortly
* kill the netcat (it keeps the one dnsmasq process busy)
* check "ss -tuplen" and see that it is no longer listening on tcp/53