← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325079] Re: Invalid error message for snapshot creation in EC2 layer

 

** Changed in: nova
       Status: Confirmed => Won't Fix

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

Title:
  Invalid error message for snapshot creation in EC2 layer

Status in ec2-api:
  Fix Released
Status in OpenStack Compute (nova):
  Won't Fix

Bug description:
  Volume snapshots in EC2 can be created only for volumes in some
  particular statuses. For other statuses creation an error should be
  returned. Current EC2 code doesn't check the statuses and pass the
  request to Cinder code. When it fails creating it returns its own
  native error which is incorrectly reported further by EC2 layer.

  Environment: DevStack

  Steps to reproduce:
  1 Run from script:
  vol=$(euca-create-volume -z nova -s 1 --snapshot snap-xxx | awk -F " " '{print $2}')
  euca-create-snapshot $vol

  InvalidInput: Invalid input received: Invalid volume: must be
  available

  If run tthis agains AWS the error output is
  IncorrectState: Volume 'vol-xxx' is not in a state where snapshots are allowed.

  Note. To reproduce the error on AWS i recommend to get a non-empty
  snapshot about 10GB and increase the size parameter in euca-create-
  volume.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ec2-api/+bug/1325079/+subscriptions


References