[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
16.4.1 is included in focal-updates and hirsute has 18.0 so I'm setting this to Fix Released. $ rmadison neutron neutron | 1:2014.1-0ubuntu1 | trusty | source neutron | 1:2014.1.3-0ubuntu1.1 | trusty-security | source neutron | 1:2014.1.5-0ubuntu8 | trusty-updates | source neutron | 2:8.0.0-0ubuntu1 | xenial | source neutron | 2:8.4.0-0ubuntu7.4| xenial-security | source neutron | 2:8.4.0-0ubuntu7.5| xenial-updates | source neutron | 2:12.0.1-0ubuntu1 | bionic | source neutron | 2:12.1.1-0ubuntu8 | bionic-updates | source neutron | 2:16.0.0~b3~git2020041516.5f42488a9a-0ubuntu2 | focal | source neutron | 2:16.4.1-0ubuntu2 | focal-updates | source neutron | 2:18.0.0-0ubuntu2 | hirsute | source neutron | 2:18.1.1-0ubuntu2 | hirsute-updates | source neutron | 2:19.0.0-0ubuntu1 | impish | source neutron | 2:19.0.0-0ubuntu1 | jammy | source ** Changed in: neutron (Ubuntu) Status: New => Fix Released ** Changed in: neutron (Ubuntu Focal) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
ussuri 16.4.1 will be included in https://bugs.launchpad.net/cloud- archive/+bug/1943712 and victoria 17.2.1 in https://bugs.launchpad.net/cloud-archive/+bug/1943711 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Description changed: The following code in DeviceManager's fill_dhcp_udp_checksums assumes IPv6 is always enabled: iptables_mgr = iptables_manager.IptablesManager(use_ipv6=True, namespace=namespace) When iptables_mgr.apply() is later called, an attempt to add the UDP checksum rule for DHCP is done via iptables-save/iptables-restore and if IPv6 has been disabled on a hypervisor (eg, by setting `ipv6.disable=1` on the kernel command line) then an many-line error occurs in the DHCP agent logfile. There should be a way of telling the agent that IPv6 is disabled and as such, it should ignore trying to set up the UDP checksum rule for IPv6. This can be easily achieved given that IptablesManager already has support for disabling it. We've seen this on Rocky on Ubuntu Bionic but it appears the issue still exists on the master branch. = Ubuntu SRU details: - [Impact] - See above. + + [Impact] - [Test Case] - Deploy openstack on a hypervisor with IPv6 disabled. - Create a network which has a subnetwork with DHCP enabled. - Search the `neutron-dhcp-agent.log` (with debug log enabled) and check if there are any `ip6tables-restore` commands. + See above - [Regression Potential] - Minimal. - Users which were relying on the setting to always be true could be affected. + + [Test Plan] + + Disable IPv6 on a hypervisor. + sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 + sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 + sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1 + Deploy Openstack Ussuri or Victoria with one compute node, using the hypervisor which has IPv6 disabled as a neutron gateway. + Create a network which has a subnetwork with DHCP enabled. Eg: + openstack network create net1 + openstack subnet create subnet1 --network net1 --subnet-range 192.0.2.0/24 --dhcp + Search the `/var/log/neutron/neutron-dhcp-agent.log` (with debug log enabled) and check if there are any `ip6tables-restore` commands. Eg: + sudo grep ip6tables-restore /var/log/neutron/neutron-dhcp-agent.log + + [Where problems could occur] + + Users which were relying on the setting to always be true could be + affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Changed in: neutron (Ubuntu) Importance: Undecided => Medium ** Changed in: neutron (Ubuntu Focal) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Also affects: cloud-archive/victoria Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Patch added: "neutron-focal-victoria.debdiff" https://bugs.launchpad.net/neutron/+bug/1915480/+attachment/5525960/+files/neutron-focal-victoria.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
The attachment "neutron-focal-ussuri.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Patch added: "neutron-focal-ussuri.debdiff" https://bugs.launchpad.net/neutron/+bug/1915480/+attachment/5525933/+files/neutron-focal-ussuri.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Description changed: The following code in DeviceManager's fill_dhcp_udp_checksums assumes IPv6 is always enabled: iptables_mgr = iptables_manager.IptablesManager(use_ipv6=True, - namespace=namespace) + namespace=namespace) When iptables_mgr.apply() is later called, an attempt to add the UDP checksum rule for DHCP is done via iptables-save/iptables-restore and if IPv6 has been disabled on a hypervisor (eg, by setting `ipv6.disable=1` on the kernel command line) then an many-line error occurs in the DHCP agent logfile. There should be a way of telling the agent that IPv6 is disabled and as such, it should ignore trying to set up the UDP checksum rule for IPv6. This can be easily achieved given that IptablesManager already has support for disabling it. We've seen this on Rocky on Ubuntu Bionic but it appears the issue still exists on the master branch. + + = + Ubuntu SRU details: + + [Impact] + See above. + + [Test Case] + Deploy openstack on a hypervisor with IPv6 disabled. + Create a network which has a subnetwork with DHCP enabled. + Search the `neutron-dhcp-agent.log` (with debug log enabled) and check if there are any `ip6tables-restore` commands. + + [Regression Potential] + Minimal. + Users which were relying on the setting to always be true could be affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** No longer affects: cloud-archive/victoria -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1915480] Re: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/ussuri Importance: Undecided Status: New ** Also affects: cloud-archive/victoria Importance: Undecided Status: New ** Also affects: neutron (Ubuntu) Importance: Undecided Status: New ** Also affects: neutron (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915480 Title: DeviceManager's fill_dhcp_udp_checksums assumes IPv6 available To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1915480/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs