The python nova client uses cinder api's directly for getting the volume
information.so the bug is actually in the nova-client.

So moving to python-novaclient.

** Project changed: nova => python-novaclient

-- 
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 Python client library for Nova:
  Confirmed

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/python-novaclient/+bug/1430415/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to