List (server) details API ignores 'host' filter
Bug #1055983 reported by
Unmesh Gurjar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Medium
|
Unmesh Gurjar | ||
python-novaclient |
Fix Released
|
Undecided
|
Unmesh Gurjar |
Bug Description
Branch: master
Scenario:
1. Use the 'nova list --host <host-name>' command to list instances on a specific Compute host.
2. Observe the result returned.
Actual Results:
The 'host' filter is ignored and all the 'active' instances are reported.
Expected Result:
Only the instances running on the specified host should be reported.
Observation:
1. The API specification for List details server ( v2/{tenant-
Solution:
1. Support should be added in Nova list server details API to consider the 'host' parameter.
2. The 'nova list' command help should be updated (remove the 'host' parameter from it).
Changed in nova: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
tags: | added: ntt |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
For the 'nova list' command the flags '--host' , '--instance-name' , '--ip', '--ip6' are allowed for use by user which have "admin" role. So to fix this bug , we should
Update the "nova help list" output in python-novaclient such that these flags '--host' , '--instance-name' , '--ip', '--ip6' contain a help note "(Admin only)" in the end of their description.