{"push_id":1225706190,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"b2e5cf9a18e855aa00196b44ac150bafc650bd69","before":"8be640e6893c7f25944f06d9ef4f5752ea7a9172","commits":[{"sha":"97a3670462d791587764b05c2e50a2bbd45521b0","author":{"name":"Zane Bitter","email":"ba19b75c25a5c8688dc67c92c4ba8aece024ace6@redhat.com"},"message":"Use handle_update_cancel() to cancel nested stack updates\n\nThe code designed to deal with the case where an in-progress StackResource\nupdate is cancelled by stopping the update of the nested stack has never\nworked because it was erroneously trying to catch StopIteration exceptions\ninstead of the actual exception raised when a generator is closed,\nGeneratorExit.\n\nThis change moves the handling code to the new handle_update_cancel()\nmechanism instead. Using this mechanism also means that StackResources will\nbe cancelled immediately, rather than waiting for up to error_wait_time\nbefore cancelling the nested stack update. The previous patch adds a grace\nperiod for IN_PROGRESS resources within the nested stack to complete, so we\nwant to notify it straight away to begin that period (and to not start any\nnew work).\n\nSince the grace period on the child stack means that the child is likely to\nstill be IN_PROGRESS at the time we want to roll back, handle rollback by\nsending an update-cancel with rollback message to the child. Only if the\nchild is no longer IN_PROGRESS will we start an update with the previous\ntemplate. If it is still IN_PROGRESS then just wait for it to reach\nROLLBACK_COMPLETE.\n\nChange-Id: Ide210f695446fe8de2057b3b74c276165a6f9f3f\nCloses-Bug: #1591337\nCloses-Bug: #1446252","distinct":true,"url":"https://api.github.com/repos/openstack/heat/commits/97a3670462d791587764b05c2e50a2bbd45521b0"},{"sha":"b2e5cf9a18e855aa00196b44ac150bafc650bd69","author":{"name":"Jenkins","email":"61eb39d4445155efb6068840385577c11776cd20@review.openstack.org"},"message":"Merge \"Use handle_update_cancel() to cancel nested stack updates\"","distinct":true,"url":"https://api.github.com/repos/openstack/heat/commits/b2e5cf9a18e855aa00196b44ac150bafc650bd69"}]}
{"actor":{"display_login":"openstack-gerrit"}}