[ovn-octavia-provider] Fix issue when LRP has more than one address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Fernando Royo |
Bug Description
When a LB is created or a new backend member is attached the OVN provider will search for the LRP attached to the LS where the LB is created, in order to associate this new LB to the LR. An exception is triggered if the LRP has more than one address, because current code can't find the port.
e.g a LRP with this neutron:cidrs in external_id field '10.10.10.1/24 fd8b:8a01:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/
return f(self, *args, **kwargs)
File "/home/
returned_lr = self.helper.
File "/home/
port_cidr = netaddr.IPNetwork(
File "/home/
value, prefixlen = parse_ip_
File "/home/
mask = IPAddress(val2, module.version, flags=INET_PTON)
File "/home/
raise ValueError('%s() does not support netmasks or subnet' \
ValueError: IPAddress() does not support netmasks or subnet prefixes! See documentation for details.
Changed in neutron: | |
assignee: | nobody → Fernando Royo (froyoredhat) |
Changed in neutron: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /ovn-octavia- provider/ +/895826
Review: https:/