← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1430415] [NEW] nova volume-show commands does not support volume name

 

Public bug reported:

Issue: nova volume-show <volume> {name} does not work only accepts ID of
volume.

display results for command.

± nova volume-list
+---------------------------------------------------------------+--------------+----------------------+-------+--------------------+-------------------+
| ID                                                                              | Status      | Display Name | Size  | Volume Type | Attached to |
+---------------------------------------------------------------+--------------+----------------------+-------+--------------------+-------------------+
| fcf3b226-1026-4342-9367-9f0bd2dd6233 | available | test3a1              | 1       | dot3a               |                         |
+---------------------------------------------------------------+--------------+----------------------+-------+---------------------+------------------+
± nova volume-show test3a1
ERROR (CommandError): No volume with a name or ID of 'test3a1' exists.
± nova volume-show fcf3b226-1026-4342-9367-9f0bd2dd6233
+----------------------------------------------------------+------------------------------------------------------------------+
| Property                                                           | Value                                                                          |
+----------------------------------------------------------+------------------------------------------------------------------+
| attachments                                                    | []                                                                                  |
| availability_zone                                            | nova                                                                            |
| bootable                                                           | false                                                                            |
| created_at                                                        | 2015-03-10T15:48:19.000000                            |
| display_description                                       | -                                                                                    |
| display_name                                                  | test3a1                                                                       |
| encrypted                                                         | False                                                                            |
| id                                                                          | fcf3b226-1026-4342-9367-9f0bd2dd6233    |
| metadata                                                           | {}                                                                                  |
| os-vol-host-attr:host                                      | carl-stack2@dot3a#cb-eos03-r5                      |
| os-vol-mig-status-attr:migstat                    | -                                                                                   |
| os-vol-mig-status-attr:name_id                  | -                                                                                   |
| os-vol-tenant-attr:tenant_id                        | 390e20e677434dd4b84ab3e26311de0b     |
| os-volume-replication:driver_data             | -                                                                                  |
| os-volume-replication:extended_status  | -                                                                                   |
| size                                                                       | 1                                                                                  |
| snapshot_id                                                       | -                                                                                  |
| source_volid                                                      | -                                                                                  |
| status                                                                   | available                                                                  |
| volume_type                                                     | dot3a                                                                        |
+------------------------------------------------------------+----------------------------------------------------------------+

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1430415

Title:
  nova volume-show commands does not support volume name

Status in OpenStack Compute (Nova):
  New

Bug description:
  Issue: nova volume-show <volume> {name} does not work only accepts ID
  of volume.

  display results for command.

  ± nova volume-list
  +---------------------------------------------------------------+--------------+----------------------+-------+--------------------+-------------------+
  | ID                                                                              | Status      | Display Name | Size  | Volume Type | Attached to |
  +---------------------------------------------------------------+--------------+----------------------+-------+--------------------+-------------------+
  | fcf3b226-1026-4342-9367-9f0bd2dd6233 | available | test3a1              | 1       | dot3a               |                         |
  +---------------------------------------------------------------+--------------+----------------------+-------+---------------------+------------------+
  ± nova volume-show test3a1
  ERROR (CommandError): No volume with a name or ID of 'test3a1' exists.
  ± nova volume-show fcf3b226-1026-4342-9367-9f0bd2dd6233
  +----------------------------------------------------------+------------------------------------------------------------------+
  | Property                                                           | Value                                                                          |
  +----------------------------------------------------------+------------------------------------------------------------------+
  | attachments                                                    | []                                                                                  |
  | availability_zone                                            | nova                                                                            |
  | bootable                                                           | false                                                                            |
  | created_at                                                        | 2015-03-10T15:48:19.000000                            |
  | display_description                                       | -                                                                                    |
  | display_name                                                  | test3a1                                                                       |
  | encrypted                                                         | False                                                                            |
  | id                                                                          | fcf3b226-1026-4342-9367-9f0bd2dd6233    |
  | metadata                                                           | {}                                                                                  |
  | os-vol-host-attr:host                                      | carl-stack2@dot3a#cb-eos03-r5                      |
  | os-vol-mig-status-attr:migstat                    | -                                                                                   |
  | os-vol-mig-status-attr:name_id                  | -                                                                                   |
  | os-vol-tenant-attr:tenant_id                        | 390e20e677434dd4b84ab3e26311de0b     |
  | os-volume-replication:driver_data             | -                                                                                  |
  | os-volume-replication:extended_status  | -                                                                                   |
  | size                                                                       | 1                                                                                  |
  | snapshot_id                                                       | -                                                                                  |
  | source_volid                                                      | -                                                                                  |
  | status                                                                   | available                                                                  |
  | volume_type                                                     | dot3a                                                                        |
  +------------------------------------------------------------+----------------------------------------------------------------+

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


Follow ups

References