From e89141ef39545755f8eaaf175a00085920254e5a Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Mon, 7 Dec 2015 07:47:02 +0000 Subject: [PATCH] move usage_audit to cmd/eventlet package setup_rpc func need the eventlet monkey_patch, otherwise the main process will be blocked. Change-Id: I9f4a0b7c957b7dc7740e3cf6e75f18778ad562d0 Closes-Bug: #1522681 (cherry picked from commit 5b6992db49cf6e69b05411ed7d170198434f39e9) --- neutron/cmd/{ => eventlet}/usage_audit.py | 0 setup.cfg | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename neutron/cmd/{ => eventlet}/usage_audit.py (100%) diff --git a/neutron/cmd/usage_audit.py b/neutron/cmd/eventlet/usage_audit.py similarity index 100% rename from neutron/cmd/usage_audit.py rename to neutron/cmd/eventlet/usage_audit.py diff --git a/setup.cfg b/setup.cfg index 59b026f89ed..e93e88aee64 100644 --- a/setup.cfg +++ b/setup.cfg @@ -97,7 +97,7 @@ console_scripts = neutron-rpc-server = neutron.cmd.eventlet.server:main_rpc_eventlet neutron-rootwrap = oslo_rootwrap.cmd:main neutron-rootwrap-daemon = oslo_rootwrap.cmd:daemon - neutron-usage-audit = neutron.cmd.usage_audit:main + neutron-usage-audit = neutron.cmd.eventlet.usage_audit:main neutron-metering-agent = neutron.cmd.eventlet.services.metering_agent:main neutron-sriov-nic-agent = neutron.plugins.ml2.drivers.mech_sriov.agent.sriov_nic_agent:main neutron-sanity-check = neutron.cmd.sanity_check:main