← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1603850] [NEW] Can not remote debug on windows

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: neutron

-- 
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:
  New

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


Follow ups