From 92fa456c71076f47a0442fc5df6bf49d73b92c4a Mon Sep 17 00:00:00 2001 From: Kyle Haley Date: Tue, 5 Sep 2017 11:03:46 -0700 Subject: [PATCH] Removing deprecated dispose method call The dispose method call against neutron.db.api has been removed in this iteration of neutron (Ocata). Removing this call as it may not have ever been needed based on the accompanying comment on that line. Change-Id: I3d8c5d50650abda8064eb860118ae2e40d3662a5 Closes-Bug: 1714536 --- quark/tools/async_worker.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/quark/tools/async_worker.py b/quark/tools/async_worker.py index 3ced67f..e69f1cd 100644 --- a/quark/tools/async_worker.py +++ b/quark/tools/async_worker.py @@ -28,7 +28,6 @@ from stevedore import extension from neutron._i18n import _ from neutron._i18n import _LE from neutron.common import config -from neutron.db import api as session from neutron import service from quark.worker_plugins import base_worker @@ -104,7 +103,6 @@ class QuarkAsyncServer(object): try: rpc = service.RpcWorker(self.plugins) - session.dispose() # probaby not needed, but maybe launcher = common_service.ProcessLauncher(CONF, wait_interval=1.0) launcher.launch_service(rpc, workers=CONF.QUARK_ASYNC.rpc_workers)