Unexpected response in agent-list command with --field param
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Marcos Lobo | ||
python-neutronclient |
Fix Released
|
Low
|
Unassigned |
Bug Description
On Neutron Havana (server and client). If you read the documentation about agent-list command you can read this:
# neutron help agent-list
...
-F FIELD, --field FIELD
...
I think there is a problem with "--field FIELD" parameter. If you try this command you obtain an unexpected response:
# neutron agent-list --field agent_type
'alive'
I think 'alive' is NOT the expected response for that request. I was expected to obtain something like:
# neutron agent-list --field agent_type
+------
| agent_type |
+------
| DHCP agent |
| Open vSwitch agent |
+------
But, if you try to obtain "alive" field, the response is the expected one.
# neutron agent-list --field alive
+-------+
| alive |
+-------+
| :-) |
| :-) |
+-------+
Changed in neutron: | |
assignee: | nobody → Marcos Lobo (marcos-fermin-lobo) |
Changed in neutron: | |
status: | New → Fix Committed |
Changed in neutron: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in python-neutronclient: | |
importance: | Undecided → Low |
milestone: | none → 2.3.5 |
status: | New → Fix Released |
Changed in neutron: | |
milestone: | juno-1 → 2014.2 |
This problem is not seen in the latest ice-house code. As you mentioned in the bug, it may be applicable only for Havana.