Bug 1585227 - [Infra] New transaction leak in netvirt.fibmanager.VrfEntryListener
Summary: [Infra] New transaction leak in netvirt.fibmanager.VrfEntryListener
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: opendaylight
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 13.0 (Queens)
Assignee: Michael Vorburger
QA Contact: Sai Sindhur Malleni
URL:
Whiteboard: Infra
Depends On:
Blocks: 1577975
TreeView+ depends on / blocked
 
Reported: 2018-06-01 15:01 UTC by Sai Sindhur Malleni
Modified: 2022-07-09 11:53 UTC (History)
5 users (show)

Fixed In Version: opendaylight-8.3.0-2.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the transaction did not close in netvirt.fibmanager.VrfEntryListener. This resulted in memory leaks at scale and/or in longevity. This issue has been resolved and OpenDaylight now requires less memory to run.
Clone Of:
Environment:
N/A
Last Closed: 2018-08-29 16:20:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenDaylight Bug NETVIRT-1291 0 None None None 2018-06-01 15:01:55 UTC
OpenDaylight gerrit 71591 0 None None None 2018-07-23 09:15:13 UTC
OpenDaylight gerrit 72638 0 None None None 2018-06-04 16:05:45 UTC
Red Hat Issue Tracker ODL-113 0 None None None 2022-07-09 11:53:22 UTC
Red Hat Issue Tracker OSP-17282 0 None None None 2022-07-09 11:53:24 UTC
Red Hat Product Errata RHSA-2018:2598 0 None None None 2018-08-29 16:21:11 UTC

Description Sai Sindhur Malleni 2018-06-01 15:01:24 UTC
Description of problem:
Running performance and scale tests that create 100s of neutron resources like networks, subnets, ports and routers as well as launching VMs on the networks and waiting for the environment to quiesce, we observe some new transaction leaks based on Michael Vorburger's mdsal-trace tool.

  24x transactions opened here, which are not closed:
      (...)
      org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter.newWriteOnlyTransaction(BindingDOMDataBrokerAdapter.java:69)
      (...)
      org.opendaylight.netvirt.fibmanager.VrfEntryListener.lambda$populateFibOnNewDpn$17(VrfEntryListener.java:1575)
      org.opendaylight.infrautils.jobcoordinator.internal.JobCoordinatorImpl$MainTask.runWithUncheckedExceptionLogging(JobCoordinatorImpl.java:416)
      org.opendaylight.infrautils.utils.concurrent.LoggingUncaughtThreadDeathContextRunnable.run(LoggingUncaughtThreadDeathContextRunnable.java:60)
      java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
      java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)

Version-Release number of selected component (if applicable):
OSP13
ODL Oxygen

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP with ODL
2. Run perf and scale tests
3.

Actual results:
Found open transactions after environment was quiesced 

Expected results:
No large number of open transactions

Additional info:

Comment 1 Michael Vorburger 2018-06-01 15:43:48 UTC
NETVIRT-1291: This is already fixed on ODL upstream master; Stephen will cherry-pick - thank you!

Comment 11 Joanne O'Flynn 2018-08-14 09:45:45 UTC
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.

Comment 12 Sai Sindhur Malleni 2018-08-16 12:13:13 UTC
Verified in opendaylight-8.3.0-3.el7ost.noarch

Comment 14 errata-xmlrpc 2018-08-29 16:20:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2598


Note You need to log in before you can comment on or make changes to this bug.