← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2000314] Re: [OVS] Call to "driver.unregister" failing

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/868483
Committed: https://opendev.org/openstack/neutron/commit/9401da6c7cb3616c01fc432f5e2150752afe91e1
Submitter: "Zuul (22348)"
Branch:    master

commit 9401da6c7cb3616c01fc432f5e2150752afe91e1
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Dec 13 16:36:14 2022 +0100

    Handle if "TRUNK_SKELETON" is not loaded
    
    If "TRUNK_SKELETON" has not been initialized, the "unregister" method
    should finish gracefully. This issue is happening in fullstalk tests,
    where the trunk initialization is not executed if "trunk" is not in
    the service plugins.
    
    Closes-Bug: #2000314
    Change-Id: Idef5fd8feaf1af309862d6cb3e06da3734fb6c19


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

Title:
  [OVS] Call to "driver.unregister" failing

Status in neutron:
  Fix Released

Bug description:
  This is happening during the stop of the OVS agent (snippet):
  2022-12-22 12:12:22.774 115433 ERROR neutron   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_capabilities.py", line 29, in unregister
  2022-12-22 12:12:22.774 115433 ERROR neutron     driver.unregister()
  2022-12-22 12:12:22.774 115433 ERROR neutron   File "/home/zuul/src/opendev.org/openstack/neutron/neutron/services/trunk/drivers/openvswitch/agent/driver.py", line 108, in unregister
  2022-12-22 12:12:22.774 115433 ERROR neutron     TRUNK_SKELETON.unregister()
  2022-12-22 12:12:22.774 115433 ERROR neutron AttributeError: 'NoneType' object has no attribute 'unregister'

  
  Logs: https://paste.opendev.org/show/b39WtsdKJB5LHyxSJya1/

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



References