Reviewed:  https://review.opendev.org/708590
Committed: 
https://git.openstack.org/cgit/openstack/ovn-octavia-provider/commit/?id=439fc8f4b0fa52d358cdf12208476b56d79e6891
Submitter: Zuul
Branch:    master

commit 439fc8f4b0fa52d358cdf12208476b56d79e6891
Author: Maciej Józefczyk <[email protected]>
Date:   Fri Jan 17 14:38:26 2020 +0000

    Don't send malformed status update to Octavia
    
    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.
    
    In OVN while resource is administratively disabled
    we suffix its ID with string ':D'.
    This patch filters this string from resources ID
    before sending Octavia a status update.
    
    Because for now we don't have running master branch
    for OVN provider driver this change will be applied
    first on stable/train and then cherry-picked.
    
    Change-Id: Ib2ce04625faddd6ed263678bad2f4eb10929a520
    Closes-Bug: #1860140


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

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

Status in neutron:
  Fix Released

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

-- 
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

Reply via email to