Bug 888461

Summary: Failed snapshot leaves task_state in 'image_snapshot'
Product: Red Hat OpenStack Reporter: Russell Bryant <rbryant>
Component: openstack-novaAssignee: Nikola Dipanov <ndipanov>
Status: CLOSED DUPLICATE QA Contact: Yaniv Kaul <ykaul>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: eglynn, jkt
Target Milestone: snapshot4Keywords: Triaged
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-2012.2.3-1.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-18 12:59:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Russell Bryant 2012-12-18 18:21:58 UTC
Description of problem:

After a snapshot attempted failed (due to bug 888455 in python-glanceclient), the instance in nova was left in a bad state.  The task_state was stuck in 'image_snapshot'.


Version-Release number of selected component (if applicable):

python-novaclient-2.10.0-1.el6ost.noarch
openstack-nova-common-2012.2.1-2.el6ost.noarch
openstack-nova-compute-2012.2.1-2.el6ost.noarch
openstack-nova-scheduler-2012.2.1-2.el6ost.noarch
openstack-nova-novncproxy-0.4-2.el6.noarch
python-nova-2012.2.1-2.el6ost.noarch
openstack-nova-console-2012.2.1-2.el6ost.noarch
openstack-nova-api-2012.2.1-2.el6ost.noarch
openstack-nova-volume-2012.2.1-2.el6ost.noarch
openstack-nova-cert-2012.2.1-2.el6ost.noarch
openstack-nova-2012.2.1-2.el6ost.noarch
openstack-nova-network-2012.2.1-2.el6ost.noarch
openstack-nova-objectstore-2012.2.1-2.el6ost.noarch
openstack-glance-2012.2.1-1.el6ost.noarch
python-glance-2012.2.1-1.el6ost.noarch
python-glanceclient-0.5.1-1.el6.noarch



How reproducible:

Every time.


Steps to Reproduce / Results:

# nova image-create 7cdab80a-286b-4bab-be94-ad35ae481b7f "El NiƱo"
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-76ff5c85-37a2-4cd9-bfc6-5e334cee6656)

... wait a long time ...

[root@rhel ~(keystone_username)]# nova image-create 7cdab80a-286b-4bab-be94-ad35ae481b7f "snapshot 1"
ERROR: Cannot 'createImage' while instance is in task_state image_snapshot (HTTP 409) (Request-ID: req-34aaea9e-6528-4cf1-b6ba-aebd41186f95)

Comment 2 Nikola Dipanov 2013-02-18 12:59:03 UTC
I am closing this as a duplicate of the bug 902293.

The fix has been released and is in the latest build (at the time of this writing that is openstack-nova-2012.2.3-1.el6ost)

*** This bug has been marked as a duplicate of bug 902293 ***