← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1603850] Re: Can not remote debug on windows

 

have you enabled gevent debugging in pycharm?  Also, I assume you are
running pycharm in windows but neutron-server or the agents you want to
debug are running on CentOS7.  In which case you are probably adding a
remote interpreter in pycharm.  So gevent debugging will probably solve
this for you.  Pycharm did have an issue with gevent debugging in
previous versions.  However, the latest version has these fixed.  I'm
marking this invalid as I believe this to be a pycharm issue and not a
neutron issue.

https://blog.jetbrains.com/pycharm/2012/08/gevent-debug-support/

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1603850

Title:
  Can not remote debug on windows

Status in neutron:
  Invalid

Bug description:
  The neutron runs on CentOS7 and my development environment is Windows
  10. The IDE I use is PyCharm 5.

  To remote debug neutron with Pydevd module, you need to change the
  code of neutron/common/eventlet_utils.py

  from

      eventlet.monkey_patch

  to

      eventlet.monkey_patch(os=False, thread=False)

  But this will cause a lot issues. For example:

      The l3 agent and DHCP agent will not be able to report their
  status to Neutron API Server

  May be I should not do this change. But if you want to remote debug
  neutron from Windows, you have to do this. So this should be a
  problem. Please consider it as a bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1603850/+subscriptions


References