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:
parent
b17176f110
commit
efa4316f64
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user