Add optional trove task-manager debugging

Registered by Dmitriy Ukhlov

Now it is not posible to debug trove task manager because of using rpc interface based on eventlet library. I suggest to use PyDev remote debugger with disabled eventlet.monkey_patch for threading library. For remote debugging configuration I suggest to use configuration key set :
- pydev_debug - string, enables debug if is "enabled", disables if is "disabled", if is "auto" - try to connect to debug server, if it is not running run in wihout debugging, "auto" is default setting
- pydev_path - string, defines path to pydevd library
- pydev_debug_host - string, pydev debug server host (localhost by default)
- pydev_debug_port - int, pydev debug server port (5678 by default)

Blueprint information

Status:
Complete
Approver:
Michael Basnight
Priority:
Low
Drafter:
Dmitriy Ukhlov
Direction:
Approved
Assignee:
Dmitriy Ukhlov
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Dmitriy Ukhlov
Completed by
Dmitriy Ukhlov

Related branches

Sprints

Whiteboard

i see this as 2 reviews. 1) env vars and setup in redstack. 2) code that looks like keystone in the binscript.

If you look @ trove-integration (redstack), all setup for trove is done there. This makes sense to add here.

------------------------------------------------------------------------------------------------------------------------------------

I preffer to implement this case: 2) code that looks like keystone in the binscript. It makes debugging trove easier in case of installation on any openstack (without using redstack).

Gerrit topic: https://review.openstack.org/#q,topic:bp/task-manager-debug,n,z

Addressed by: https://review.openstack.org/44443
    Pydev remote debugging spport added

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.