← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1779882] [NEW] Deleting a port on a system with 1K ports takes too long

 

Public bug reported:

When attempting to delete a port on a system with 1K ports, it takes
around 35 seconds to complete:

$ time openstack port delete port60_2

real    0m34.367s
user    0m3.497s
sys     0m0.187s


Log is *full* of the following messages when I issue the CLI:

neutron-server[324]: DEBUG neutron.pecan_wsgi.hooks.policy_enforcement
[None req-a936bb85-d881-441b-aa07-74c4779d1771 demo demo] Attributes
excluded by policy engine: [u'binding:profile', u'binding:vif_details',
u'binding:vif_type', u'binding:host_id'] {{(pid=342)
_exclude_attributes_by_policy
/opt/stack/neutron/neutron/pecan_wsgi/hooks/policy_enforcement.py:256}}

To be precise: 896 messages like this ^

$ sudo journalctl  -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
33626

$ time openstack port delete port60_2

real    0m34.367s
user    0m3.497s
sys     0m0.187s

$ sudo journalctl  -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
34522

I'm using networking-ovn as mechanism-driver but looks unrelated to the
backend :?

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

Title:
  Deleting a port on a system with 1K ports takes too long

Status in neutron:
  New

Bug description:
  When attempting to delete a port on a system with 1K ports, it takes
  around 35 seconds to complete:

  $ time openstack port delete port60_2

  real    0m34.367s
  user    0m3.497s
  sys     0m0.187s

  
  Log is *full* of the following messages when I issue the CLI:

  neutron-server[324]: DEBUG neutron.pecan_wsgi.hooks.policy_enforcement
  [None req-a936bb85-d881-441b-aa07-74c4779d1771 demo demo] Attributes
  excluded by policy engine: [u'binding:profile',
  u'binding:vif_details', u'binding:vif_type', u'binding:host_id']
  {{(pid=342) _exclude_attributes_by_policy
  /opt/stack/neutron/neutron/pecan_wsgi/hooks/policy_enforcement.py:256}}

  To be precise: 896 messages like this ^

  $ sudo journalctl  -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
  33626

  $ time openstack port delete port60_2

  real    0m34.367s
  user    0m3.497s
  sys     0m0.187s

  $ sudo journalctl  -u devstack@q-svc | grep "Attributes excluded by policy engine" | wc -l
  34522

  I'm using networking-ovn as mechanism-driver but looks unrelated to
  the backend :?

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


Follow ups