[Yahoo-eng-team] [Bug 1325079] Re: Invalid error message for snapshot creation in EC2 layer

2015-08-02 Thread Davanum Srinivas (DIMS)
** 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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1325079] Re: Invalid error message for snapshot creation in EC2 layer

2015-06-19 Thread Andrey Pavlov
** Changed in: ec2-api
   Status: New = Fix Released

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

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp