← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1802369] Re: Unit tests failing due to recent Neutron patch

 

When importing that module, these event listeners are created:

https://github.com/openstack/neutron/blob/master/neutron/db/api.py#L110
and
https://github.com/openstack/neutron/blob/master/neutron/db/api.py#L134


Adding them manually fixed the issue. So far the workaround imports the file to get the listeners imported but this is something that Neutron folks need to confirm now and perhaps move them somewhere else to get them imported either way.

** Also affects: neutron
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1802369

Title:
  Unit tests failing due to recent Neutron patch

Status in networking-ovn:
  New
Status in neutron:
  New

Bug description:
  Since Nov 7th we have unit tests failing. I've doing git bisect on
  neutron and found that [0] is the culprit. Digging further I checked
  that it's not actually that MAX_RETRIES changed from 10 (neutron code)
  to 20 (neutron-lib) but the fact that "from neutron.db import api as
  db_api" is no longer imported.

  
  [0] https://github.com/openstack/neutron/commit/3316b45665a99b0f61e45a8c7facf538618861bf

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-ovn/+bug/1802369/+subscriptions