Unable to delete a stack with multiple SwiftSignalHandles

Bug #1392867 reported by Jason Dunsmore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Jason Dunsmore

Bug Description

Attempting to delete a stack with multiple SwiftSignalHandles will result in a 409 error from Swift.

2014-11-14 21:06:11.695 21576 TRACE swiftclient Traceback (most recent call last):
2014-11-14 21:06:11.695 21576 TRACE swiftclient File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 1208, in _retry
2014-11-14 21:06:11.695 21576 TRACE swiftclient rv = func(self.url, self.token, *args, **kwargs)
2014-11-14 21:06:11.695 21576 TRACE swiftclient File "/usr/local/lib/python2.7/dist-packages/swiftclient/client.py", line 773, in delete_container
2014-11-14 21:06:11.695 21576 TRACE swiftclient http_response_content=body)
2014-11-14 21:06:11.695 21576 TRACE swiftclient ClientException: Container DELETE failed: https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_cfdcfd33-f5c4-42e4-869a-cbf1627cda7c/c8f909e3-e222-4d6d-92e6-012b67ad95ee 409 Conflict [first 60 chars of response] <html><h1>Conflict</h1><p>There was a conflict when trying t

Changed in heat:
assignee: nobody → Jason Dunsmore (jasondunsmore)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/134654
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=0c284f7debb1b5175bb2f5693a5488f6fa49b19d
Submitter: Jenkins
Branch: master

commit 0c284f7debb1b5175bb2f5693a5488f6fa49b19d
Author: Jason Dunsmore <email address hidden>
Date: Fri Nov 14 15:16:16 2014 -0600

    Handle 404 and 409 response when deleting containers

    Attempting to delete a stack with multiple SwiftSignalHandles will result
    in a 409 error from Swift due to a logic error in the SwiftSignalHandle
    resource. This change ensures that we properly handle 404 and 409
    responses when deleting Swift containers.

    Change-Id: Iac04bf16bce949dd5019975fd07e795cd0685eba
    Closes-Bug: #1392867

Changed in heat:
status: In Progress → Fix Committed
Steven Hardy (shardy)
tags: added: juno-backport-potential
Thierry Carrez (ttx)
Changed in heat:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/246551

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (stable/juno)

Change abandoned by Jeremy Stanley (<email address hidden>) on branch: stable/juno
Review: https://review.openstack.org/246551
Reason: I'm abandoning this change in preparation for deleting the stable/juno branch, which is now at end of life.

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.