[RFE] - Diagnostics Extension for Neutron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Problem
----------
Debugging common networking/neutron problems (1. cannot ping VM, 2. cannot ping FIP),
tends to be manual, and requires root access to look into the state of the agents or the datapath
on different hosts.
Neutron needs to provide a "diagnostics" extension api which can be used for debugging networking problems.
Each agent/driver exposes its own state in a structured (json) format via the diagnostics extension.
Nova "diagnostics" serves as an example here.
https:/
Fix
----
A "diagnostics" extension is added to neutron
Each agent and corresponding drivers supports a get_diagnostics() API invoked from neutron-server upon
the following GET APIs limited by policy to admin-only.
GET: /agent/
GET: /agent/
GET: /agent/
GET: /agent/
GET: /agent/
Neutron Command-line Client supports the following new commands
-------
neutron l2-diagnostics --network-id <> --port-id <> agent
neutron dhcp-diagnostics --network-id <> --port-id <> --ping agent
neutron l3-diagnostics --network-id <> --port-id <> --ping agent
Sample Diagnostics Extension Code
-------
See Attached Code Diff
description: | updated |
description: | updated |
description: | updated |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
importance: | Undecided → Wishlist |
Changed in neutron: | |
assignee: | nobody → Ramu Ramamurthy (ramu-ramamurthy) |
This is very interesting. Making Neutron more debuggable should be a priority. I think this RFE should go through the full spec process (Double so as it introduces a rich new API).