1 首先停掉neutron-server

kill neutron-server in screen by ctr-c q-svc

2

cp /usr/local/bin/neutron-server opt/stack/neutron/bin/neutron-server.py

/opt/stack/neutron/bin$ chmod 644 neutron-server.py

F5 flash neutron project in eclipse

3

diff --git a/neutron/common/eventlet_utils.py b/neutron/common/eventlet_utils.py
index cf995d5..2056562 100644
--- a/neutron/common/eventlet_utils.py
+++ b/neutron/common/eventlet_utils.py
@@ -29,4 +29,4 @@ def monkey_patch():
         #       eventletmonkey_patch-breaks
         eventlet.monkey_patch(os=False, thread=False)
     else:
-        eventlet.monkey_patch()
+        eventlet.monkey_patch(os=False, thread=False)

4 配置eclipse debug

project = neutron

Main Modle = ${workspace_loc:neutron/bin/neutron-server.py}

Arguments = --config-file /etc/neutron/neutron.conf  --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

4 在nova.conf中添加:

[conductor]
use_local=true

F5 step in

F6 next step

F7 step out

 参考:http://blog.csdn.net/quqi99/article/details/40949799

http://www.cnblogs.com/ycxyyzw/archive/2013/03/27/2983905.html

相关文章:

  • 2021-05-10
  • 2021-12-05
  • 2021-10-18
  • 2021-07-26
  • 2021-09-15
  • 2021-12-05
猜你喜欢
  • 2021-07-23
  • 2021-06-25
  • 2022-12-23
  • 2021-07-20
  • 2021-10-17
  • 2021-06-30
相关资源
相似解决方案