← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
     Assignee: Sumant Murke (sumant-murke)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Sumant Murke (sumant-murke)

-- 
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):
  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


Follow ups