EC2 incorrect snapshot statuses

Bug #1080284 reported by Attila Fazekas
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Michael Still

Bug Description

I wanted to create volume from a fresh snapshot.
Before I can create a volume I had to wait until it is "completed".
But I got "available".

My other option would be trying the snapshot creation until it succeed. But the incorrect error codes prevent me to distinguish it from other errors.

In the EC2 world the only valid snapshot status are: "pending", "completed", "error".
It differs from the volume statuses.

Before completeness I need to see only "pending" , and should not see "creating".

Michael Still (mikal)
Changed in nova:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Michael Still (mikal) wrote :

http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html agrees that the valid ec2 statuses are "pending", "completed", and "error".

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/16507

Changed in nova:
assignee: nobody → Michael Still (mikalstill)
status: Triaged → In Progress
tags: added: ec2
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → grizzly
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/16507
Committed: http://github.com/openstack/nova/commit/eed626753c23bb82453bc5176193831fbb9e538c
Submitter: Jenkins
Branch: master

commit eed626753c23bb82453bc5176193831fbb9e538c
Author: Michael Still <email address hidden>
Date: Tue Nov 20 16:51:40 2012 +1100

    Map cinder snapshot statuses to ec2.

    EC2 has way fewer statuses than cinder does, so we need to map them
    to valid entries. Resolves bug 1080284.

    DocImpact.

    Change-Id: I73bb2905577fb6f727c0a805df2654ad1bb4ad72

Changed in nova:
status: In Progress → Fix Committed
tags: added: folsom-backport-potential
Tom Fifield (fifieldt)
no longer affects: openstack-manuals
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-2 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.