REST api support for stack_cancel_update with no rollback

Bug #1709041 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Rabi Mishra

Bug Description

Existing REST 'action' api only supports cancel_update with rollback. However, both legacy and convergence engine support cancelling an stack that is in UPDATE_IN_PROGRESS without rollback.

- Convergence engine stops the current traversal allowing resources IN_PROGRESS to continue till they are COMPLETE/FAILED or timed out.

- In legacy engine a THREAD_CANCEL mesaage is sent to the engine with the stack lock.

It would be good to add REST api/client support for this.

Tags: spec-lite
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/491467

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/491467
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=01b58781292ca8da97019594b6dc155817c46ca1
Submitter: Zuul
Branch: master

commit 01b58781292ca8da97019594b6dc155817c46ca1
Author: rabi <email address hidden>
Date: Mon Aug 7 15:05:50 2017 +0530

    Add REST api support for cancel without rollback

    We already have REST api support for cancelling a
    UPDATE_IN_PROGRESS stack with rollback. This adds a
    new action 'cancel_without_rollback' to allow for
    canceling a create/update in_progress stack without
    rollback.

    APIImpact

    Change-Id: I6c6ffa0502ab8745cfb2f9c5ef263f1e02dfc4ca
    Closes-Bug: #1709041

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

Reviewed: https://review.openstack.org/499550
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=6c7d0596892f848d6df368867e9644b7b38d1bed
Submitter: Zuul
Branch: master

commit 6c7d0596892f848d6df368867e9644b7b38d1bed
Author: rabi <email address hidden>
Date: Thu Aug 31 10:55:13 2017 +0530

    Add functional tests for stack cancel

    This adds tests for user initiated stack cancel operations
    w/ or w/o rollback.

    Change-Id: I8ff787dc02dd76f99e9ece073b2f700c1922104d
    Depends-On: Ib107c82f341f4d271859ca7681d65f7ce4c5d0b1
    Related-Bug: #1709041

Rico Lin (rico-lin)
Changed in heat:
milestone: none → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 10.0.0.0b2

This issue was fixed in the openstack/heat 10.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.opendev.org/688537

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

Change abandoned by Rodrigo Barbieri (<email address hidden>) on branch: stable/pike
Review: https://review.opendev.org/688537

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.