error messages in nova help list
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-novaclient |
Fix Released
|
Low
|
Ritesh Paiboina | ||
Bug Description
1. version
kilo 2015.1.0
2. Relevant log files:
no log
3. Reproduce steps:
3.1
nova help list
--all-tenants [<0|1>] Display information from all tenants (Admin only).
--tenant [<tenant>] Display information from single tenant (Adminonly).
The --all-tenants option must also be provided.
3.2
nova list --tenant f7a1114e87d9439
Expected result:
Should be prompt something like :“ you need to add parameters --all-tenants.”
Actual result:
[root@devcontrol ~(keystone_admin)]# nova list --tenant f7a1114e87d9439
+------
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+------
| 4fc84ebe-
| bb596070-
| 3e211f9b-
| 280cb34c-
+------
4
The Actual result show that messages “--all-tenants option must also be provided.” in “nova help list” is wrong
So,it should be delete
| description: | updated |
| description: | updated |
| Changed in python-novaclient: | |
| milestone: | none → 2.30.0 |
| status: | Fix Committed → Fix Released |

novaclient/ v2/shell. py '<tenant> ',
@cliutils.arg(
'--tenant',
# nova db searches by project_id
dest='tenant',
metavar=
nargs='?',
help=_('Display information from single tenant (Admin only). '
'The --all-tenants option must also be provided.'))
。。。
。。。
def do_list(cs, args):
"""List active servers."""
imageid = None
flavorid = None
if args.image:
should change to
novaclient/ v2/shell. py '<tenant> ',
@cliutils.arg(
'--tenant',
# nova db searches by project_id
dest='tenant',
metavar=
nargs='?',
help=_('Display information from single tenant (Admin only). '))
。。。
。。。
def do_list(cs, args):
"""List active servers."""
imageid = None
flavorid = None
if args.image: