** Also affects: ec2-api Importance: Undecided Status: New -- 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: New 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