yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01712
[Bug 1135306] Re: Start keyston with debug host and port fails
** Changed in: keystone
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1135306
Title:
Start keyston with debug host and port fails
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
When i start keystone with the following command
keystone-all --pydev-debug-host localhost --pydev-debug-port 5678 --config-dir "./etc"
i get the below trace.
2013-02-27 22:25:36 ERROR [keystone.common.utils] Error setting up the debug environment. Verify that the option --debug-url has the format <host>:<port> and that a debugger processes is listening on that port.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.a199.ge865b97-py2.7.egg/keystone/common/utils.py", line 304, in setup_remote_pydev_debug
from pydev import pydevd
ImportError: No module named pydev
Traceback (most recent call last):
File "/usr/local/bin/keystone-all", line 5, in <module>
pkg_resources.run_script('keystone==2013.1.a199.ge865b97', 'keystone-all')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 1239, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.a199.ge865b97-py2.7.egg/EGG-INFO/scripts/keystone-all", line 99, in <module>
pydev_debug_url = utils.setup_remote_pydev_debug()
File "/usr/local/lib/python2.7/dist-packages/keystone-2013.1.a199.ge865b97-py2.7.egg/keystone/common/utils.py", line 304, in setup_remote_pydev_debug
from pydev import pydevd
ImportError: No module named pydev
I followed the instructions given in jetbrains web help to set up the debugger to connect with pycharm
http://www.jetbrains.com/pycharm/webhelp/remote-debugging-2.html
The reason for keystone not able to start in debug mode is that pydev
package in pycharm-debug.egg is removed. Looks like this issue is also
tracked in jetbrains http://youtrack.jetbrains.com/issue/PY-8824
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1135306/+subscriptions