Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Eclipse Debugging for Neutron

Hi,

I have installed openstack gizzily version using devstack script successfully (Installed Path is /opt/stack/)

Also, I have made eclipse IDE dev environment with quantum as pydev project at /root/openstack/GIT/neutron dir

Using pydev debugger I have kept a breakpoint the file

/root/openstack/GIT/neutron/bin/quantum-server


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

import os import sys sys.path.insert(0, os.getcwd()) <<<<<<<<<<<<<< Break point here from quantum.server import main as server

server()


I have started debugging, it hit the break point in the file /root/openstack/GIT/neutron/bin/quantum-server and when I am doing step by step execution, I have observed that it started referring files from the path /opt/stack/neutron directory which is not in the project work space

Can anyone please let me know what I am missing here?

Thanks, Narsing

Eclipse Debugging for NeutronHow to debug Neutron using Eclipse

Hi,

I have installed openstack gizzily grizzly version using devstack script successfully (Installed Path is /opt/stack/)

/opt/stack/). Also, I have made eclipse IDE dev environment with quantum as pydev project at /root/openstack/GIT/neutron dir

Using pydev debugger I have kept a breakpoint the filefile /root/openstack/GIT/neutron/bin/quantum-server

/root/openstack/GIT/neutron/bin/quantum-server


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

thread=False)

import os import sys sys.path.insert(0, os.getcwd()) <<<<<<<<<<<<<< Break point here from quantum.server import main as server

server

server()


server()

I have started debugging, it hit the break point in the file /root/openstack/GIT/neutron/bin/quantum-server and when I am doing step by step execution, I have observed that it started referring files from the path /opt/stack/neutron directory which is not in the project work space

space. Can anyone please let me know what I am missing here?

Thanks, Narsing