← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1860140] [NEW] [OVN] Provider driver sends malformed update to Octavia

 

Public bug reported:

In some corner cases while updating a member OVN Provider driver sends a
malformed status update to Octavia that breaks the update operation and
resources stuck in PENDING_UPDATE state.

Example error below:

2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver [-] Unexpected exception in request_handler: octavia_lib.api.drivers.exceptions.UpdateStatusError: ('The status update had an unknown error.', "E
rror while updating the load balancer status: 'NoneType' object has no attribute 'update'")                                                                                                                         
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver Traceback (most recent call last):                                                                                                               
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver   File "/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line 442, in _update_status_to_octavia                           
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver     self._octavia_driver_lib.update_loadbalancer_status(status)                                                                                  
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver   File "/usr/lib/python3.6/site-packages/octavia_lib/api/drivers/driver_lib.py", line 126, in update_loadbalancer_status                         
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver     status_record=response.pop(constants.STATUS_RECORD, None))                                                                                   
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver octavia_lib.api.drivers.exceptions.UpdateStatusError: 'NoneType' object has no attribute 'update'                                                
2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver

** 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/1860140

Title:
  [OVN] Provider driver sends  malformed update to Octavia

Status in neutron:
  Confirmed

Bug description:
  In some corner cases while updating a member OVN Provider driver sends
  a malformed status update to Octavia that breaks the update operation
  and resources stuck in PENDING_UPDATE state.

  Example error below:

  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver [-] Unexpected exception in request_handler: octavia_lib.api.drivers.exceptions.UpdateStatusError: ('The status update had an unknown error.', "E
  rror while updating the load balancer status: 'NoneType' object has no attribute 'update'")                                                                                                                         
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver Traceback (most recent call last):                                                                                                               
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver   File "/usr/lib/python3.6/site-packages/networking_ovn/octavia/ovn_driver.py", line 442, in _update_status_to_octavia                           
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver     self._octavia_driver_lib.update_loadbalancer_status(status)                                                                                  
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver   File "/usr/lib/python3.6/site-packages/octavia_lib/api/drivers/driver_lib.py", line 126, in update_loadbalancer_status                         
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver     status_record=response.pop(constants.STATUS_RECORD, None))                                                                                   
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver octavia_lib.api.drivers.exceptions.UpdateStatusError: 'NoneType' object has no attribute 'update'                                                
  2020-01-17 09:04:28.792 27 ERROR networking_ovn.octavia.ovn_driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1860140/+subscriptions


Follow ups