← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1514576] Re: Nova volume-attach should also allow user to provide volume name for the input.

 

The REST API of Nova only accepts UUIDs [1]. The translation from object
name to its UUID (like volume name to its UUID) is usually done via the
novaclient. That's why I added the python-novaclient as affected project
and marked it as invalid for the Nova project.

[1] http://developer.openstack.org/api-ref-compute-v2.1.html#attach

** Also affects: python-novaclient
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Invalid

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

Title:
  Nova volume-attach should also allow user to provide volume name for
  the input.

Status in OpenStack Compute (nova):
  Invalid
Status in python-novaclient:
  New

Bug description:
  Nova version 2.32.0

  When we want to attach an existing volume to an exiting instance then
  it accepts only volume uuid to specify for attaching to the instance.

  for example

  name of the instance : test_vm
  name of the volume my-volume 

  I did :
  nova volume-attach  test_vm my-volume

  Expected result:
  it should allow instance to attach the volume.

  Actual result:
  ERROR (NotFound): Volume my-volume could not be found. (HTTP 404) (Request-ID: req-0ba9225c-cc39-44b6-a85b-758cc2c97e2c)

  
  It should also accept volume name if its unique throughout all the volume names like it allows instance name instead of UUID.

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


References