Public bug reported:
Sometimes there is a RACE condition on creation of VIP port that ends
with exception and blocks LB stack creation.
Example error:
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
[req-a1e64a8e-5971-4b2f-afdf-33e026f193d6 - 968cd882ee5145d4a3e30b9612b0cae0 -
default default] Provider 'ovn' raised a driver error: An unknown driver e
rror occurred.: octavia_lib.api.drivers.exceptions.DriverError: ('An unknown
driver error occurred.', IpAddressAlreadyAllocatedClient())
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils Traceback (most
recent call last):
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line
1843, in create_vip_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils project_id,
lb_id, vip_dict)['port']
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line
1523, in create_vip_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils return
network_driver.neutron_client.create_port(port)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 803, in
create_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils return
self.post(self.ports_path, body=body)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in
post
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils headers=headers,
params=params)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 294, in
do_request
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
self._handle_fault_response(status_code, replybody, resp)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 269, in
_handle_fault_response
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
exception_handler_v20(status_code, error_body)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 93, in
exception_handler_v20
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
request_ids=request_ids)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
neutronclient.common.exceptions.IpAddressAlreadyAllocatedClient: IP address
172.30.188.22 already allocated in subnet 6cdca17f-c896-4684-9feb-6d0aa4aa3cb
** Affects: neutron
Importance: Undecided
Assignee: Maciej Jozefczyk (maciej.jozefczyk)
Status: Confirmed
** Tags: ovn
** Changed in: neutron
Status: New => Confirmed
** Changed in: neutron
Assignee: (unassigned) => Maciej Jozefczyk (maciej.jozefczyk)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1860141
Title:
[OVN] Provider driver fails while LB VIP port already created
Status in neutron:
Confirmed
Bug description:
Sometimes there is a RACE condition on creation of VIP port that ends
with exception and blocks LB stack creation.
Example error:
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
[req-a1e64a8e-5971-4b2f-afdf-33e026f193d6 - 968cd882ee5145d4a3e30b9612b0cae0 -
default default] Provider 'ovn' raised a driver error: An unknown driver e
rror occurred.: octavia_lib.api.drivers.exceptions.DriverError: ('An unknown
driver error occurred.', IpAddressAlreadyAllocatedClient())
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils Traceback (most
recent call last):
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line
1843, in create_vip_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils project_id,
lb_id, vip_dict)['port']
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line
1523, in create_vip_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils return
network_driver.neutron_client.create_port(port)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 803, in
create_port
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils return
self.post(self.ports_path, body=body)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 359, in
post
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
headers=headers, params=params)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 294, in
do_request
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
self._handle_fault_response(status_code, replybody, resp)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 269, in
_handle_fault_response
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
exception_handler_v20(status_code, error_body)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils File
"/usr/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 93, in
exception_handler_v20
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
request_ids=request_ids)
2020-01-17 08:57:10.331 24 ERROR octavia.api.drivers.utils
neutronclient.common.exceptions.IpAddressAlreadyAllocatedClient: IP address
172.30.188.22 already allocated in subnet 6cdca17f-c896-4684-9feb-6d0aa4aa3cb
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1860141/+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