diff --git a/neutron/agent/linux/dhcp.py b/neutron/agent/linux/dhcp.py index 2d626e8a090..1e0731ca240 100644 --- a/neutron/agent/linux/dhcp.py +++ b/neutron/agent/linux/dhcp.py @@ -459,7 +459,8 @@ class Dnsmasq(DhcpLocalProcess): except RuntimeError as e: # when failed to release single lease there's # no need to propagate error further - LOG.warning(e) + LOG.warning(_LW('DHCP release failed for %(cmd)s. ' + 'Reason: %(e)s'), {'cmd': cmd, 'e': e}) def _output_config_files(self): self._output_hosts_file() diff --git a/releasenotes/notes/add-dhcp_release6-ff1b8d62fd7fe76d.yaml b/releasenotes/notes/add-dhcp_release6-ff1b8d62fd7fe76d.yaml index 00c1b8afd32..0342081580e 100644 --- a/releasenotes/notes/add-dhcp_release6-ff1b8d62fd7fe76d.yaml +++ b/releasenotes/notes/add-dhcp_release6-ff1b8d62fd7fe76d.yaml @@ -3,5 +3,18 @@ prelude: > - Call dhcp_release6 command line utility when releasing unused IPv6 leases for DHCPv6 stateful subnets. dhcp_release6 first appeared in dnsmasq 2.76 -fixes: - - closes bug 1521666 +upgrade: + - A version of dnsmasq that includes dhcp_release6 should + be installed on systems running the DHCP agent. Failure + to do this could cause DHCPv6 stateful addressing to + not function properly. + - The rootwrap filters file dhcp.filters must be updated + to include dhcp_release6, otherwise trying to run the + utility will result in a NoFilterMatched exception. +issues: + - Absence of dhcp_release6 when DHCPv6 stateful addressing + is in use may lead to bug `1521666 `_. + Neutron supports dhcp_release6 now, but if the tool is + not available this leads to increased log warnings. Read + bug report `1622002 `_ + for more details. \ No newline at end of file