Fixes agent problem with RPC

Fixed bug 1044135

When quantum-openvswitch-agent or quantum-linuxbridge-agent were
called the eventlet monkey patch was not invoked.

Change-Id: Iafb7fd02d37415c3466213d28280bcb4573de4a8
This commit is contained in:
Gary Kotton 2012-09-02 11:15:32 -04:00
parent b17176f110
commit efa4316f64
2 changed files with 2 additions and 2 deletions

View File

@ -761,6 +761,7 @@ class LinuxBridgeQuantumAgentRPC:
def main():
eventlet.monkey_patch()
cfg.CONF(args=sys.argv, project='quantum')
# (TODO) gary - swap with common logging
@ -798,5 +799,4 @@ def main():
sys.exit(0)
if __name__ == "__main__":
eventlet.monkey_patch()
main()

View File

@ -727,6 +727,7 @@ class OVSQuantumAgent(object):
def main():
eventlet.monkey_patch()
cfg.CONF(args=sys.argv, project='quantum')
# (TODO) gary - swap with common logging
@ -765,5 +766,4 @@ def main():
sys.exit(0)
if __name__ == "__main__":
eventlet.monkey_patch()
main()