← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1497151] [NEW] error messages in nova help list

 

Public bug reported:

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 f7a1114e87d9439986a73e9d419a71f7 (This is one of my tenant id)

Expected result:

Should be prompt something like :“ you need to add parameters --all-
tenants.”

Actual result:

[root@devcontrol ~(keystone_admin)]# nova list --tenant f7a1114e87d9439986a73e9d419a71f7
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+
| ID                                   | Name         | Tenant ID                        | Status | Task State | Power State | Networks           |
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+
| 4fc84ebe-fee7-4c4e-86d8-7cf5a191135e | testflavor02 | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.103 |
| bb596070-fca2-4cb8-917b-1374c78d1175 | testflavor03 | f7a1114e87d9439986a73e9d419a71f7 | ERROR  | -          | NOSTATE     |                    |
| 3e211f9b-e026-464b-aadc-1f00f5d1a69f | v3test       | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.93  |
| 280cb34c-0548-4ed3-b0d0-f391e875101d | v5test       | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.221 |
+--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+

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

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: api

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1497151

Title:
  error messages in nova help list

Status in OpenStack Compute (nova):
  New

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 f7a1114e87d9439986a73e9d419a71f7 (This is one of my tenant id)

  Expected result:

  Should be prompt something like :“ you need to add parameters --all-
  tenants.”

  Actual result:

  [root@devcontrol ~(keystone_admin)]# nova list --tenant f7a1114e87d9439986a73e9d419a71f7
  +--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+
  | ID                                   | Name         | Tenant ID                        | Status | Task State | Power State | Networks           |
  +--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+
  | 4fc84ebe-fee7-4c4e-86d8-7cf5a191135e | testflavor02 | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.103 |
  | bb596070-fca2-4cb8-917b-1374c78d1175 | testflavor03 | f7a1114e87d9439986a73e9d419a71f7 | ERROR  | -          | NOSTATE     |                    |
  | 3e211f9b-e026-464b-aadc-1f00f5d1a69f | v3test       | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.93  |
  | 280cb34c-0548-4ed3-b0d0-f391e875101d | v5test       | f7a1114e87d9439986a73e9d419a71f7 | ACTIVE | -          | Running     | net1=192.168.0.221 |
  +--------------------------------------+--------------+----------------------------------+--------+------------+-------------+--------------------+

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1497151/+subscriptions


Follow ups