Reviewed: https://review.opendev.org/c/openstack/neutron/+/793772 Committed: https://opendev.org/openstack/neutron/commit/b141aed51296fd6564ccce18f907dc1913a4bc5b Submitter: "Zuul (22348)" Branch: master
commit b141aed51296fd6564ccce18f907dc1913a4bc5b Author: Rodolfo Alonso Hernandez <[email protected]> Date: Mon May 31 11:41:04 2021 +0000 Remove leading zeroes from an IP address In python3.9, ipaddress.IPv4Interface does not support defining an IP address with leading zeroes. E.g.: >>> ipaddress.IPv4Interface('00.0.0.0/0') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.9/ipaddress.py", line 1390, in __init__ IPv4Address.__init__(self, addr) File "/usr/lib/python3.9/ipaddress.py", line 1307, in __init__ self._ip = self._ip_int_from_string(addr_str) File "/usr/lib/python3.9/ipaddress.py", line 1199, in _ip_int_from_string raise AddressValueError("%s in %r" % (exc, ip_str)) from None ipaddress.AddressValueError: Leading zeros are not permitted in '00' in '00.0.0.0' Change-Id: I29137b22c158e979e81be9e41464948aa99f5498 Closes-Bug: #1930222 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1930222 Title: "test_add_and_remove_metering_label_rule_src_and_dest_ip_only" failing in py39 Status in neutron: Fix Released Bug description: Log: https://89a2790c32b5ab9dcbfe- 375c96d2b682bc8bc02e09d31e738426.ssl.cf5.rackcdn.com/791365/7/check /openstack-tox-py39/d3a256a/testr_results.html Snippet: http://paste.openstack.org/show/805859/ To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1930222/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

