[openstack-dev] [Neutron] Debugging Devstack Neutron with Pycharm

Gal Sagie gsagie at vmware.com
Wed Jun 11 07:58:41 UTC 2014


No one that is using PyCharm/Eclipse and able to debug the code? :( 

----- Original Message -----

From: "Gal Sagie" <gsagie at vmware.com> 
To: openstack-dev at lists.openstack.org 
Sent: Monday, June 9, 2014 1:59:05 PM 
Subject: [openstack-dev][Neutron] Debugging Devstack Neutron with Pycharm 

Hello all, 

I am trying to debug devstack Neutron with Pycharm, i have found here ( https://wiki.openstack.org/wiki/NeutronDevelopment#How_to_debug_Neutron_.28and_other_OpenStack_projects_probably_.29 ) 
That i need to change the neutron server code to this=> eventlet.monkey_patch() To: eventlet.monkey_patch(os=False, thread=False) 

I have done so, debug seems to run, but when i am trying to initiate commands from the CLI i get this: 


gal at ubuntu:~/devstack$ neutron net-list 
Connection to neutron failed: Maximum attempts reached 

(the server seems to run ok...) 

Any help is appreciated as i am trying to learn and understand main flows by debugging the code locally. 

Thanks 

Gal. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140611/b9656777/attachment.html>


More information about the OpenStack-dev mailing list