← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2007674] [NEW] Neutron creates too many connections to rabbitmq

 

Public bug reported:

It is undesirable to keep many TCP connections open at the same time
because doing so consumes system resources and makes it more difficult
to scale.

E.g OVS agent creates 15 long-lived connections to rabbitmq from scratch
https://paste.opendev.org/show/br2JxQ7SJkX1Ib2Za3jv/

Comparing to Nova which uses 3 connections
https://paste.opendev.org/show/bTeFYCTEVX4Hx3YHwJi2/

Agent creates separate topic/RPC server for each resource, like neutron-
vo-Network-1.1, neutron-vo-SecurityGroup-1.2, neutron-vo-Port-1.5 and so
on.

We could combine these calls into couple RPC servers and reduce
connection number, oslo.messaging supports connection pool, which could
be configured via config, so it manages connections dynamically.

Openstack Yoga, DVR mode

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

Title:
  Neutron creates too many connections to rabbitmq

Status in neutron:
  New

Bug description:
  It is undesirable to keep many TCP connections open at the same time
  because doing so consumes system resources and makes it more difficult
  to scale.

  E.g OVS agent creates 15 long-lived connections to rabbitmq from
  scratch https://paste.opendev.org/show/br2JxQ7SJkX1Ib2Za3jv/

  Comparing to Nova which uses 3 connections
  https://paste.opendev.org/show/bTeFYCTEVX4Hx3YHwJi2/

  Agent creates separate topic/RPC server for each resource, like
  neutron-vo-Network-1.1, neutron-vo-SecurityGroup-1.2, neutron-vo-
  Port-1.5 and so on.

  We could combine these calls into couple RPC servers and reduce
  connection number, oslo.messaging supports connection pool, which
  could be configured via config, so it manages connections dynamically.

  Openstack Yoga, DVR mode

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