It seems to be happening mostly when we stop the greenthread while deleting an IN_PROGRESS stack and the existing action is interrupted.
In these cases the 'Command Out of Sync' errors are associated with ResourceClosedError.
- Few cases it fails when the thread linked function(release) is called which in turn calls persist_state_and_release_lock[1].
- Other cases it fails while setting the resource state to FAILED[2]
Most of the cases this happens for StackValidationTest where we try to delete(cleanup) an IN_PROGRESS stack.
It seems to be happening mostly when we stop the greenthread while deleting an IN_PROGRESS stack and the existing action is interrupted.
In these cases the 'Command Out of Sync' errors are associated with ResourceClosedE rror.
- Few cases it fails when the thread linked function(release) is called which in turn calls persist_ state_and_ release_ lock[1] .
- Other cases it fails while setting the resource state to FAILED[2]
Most of the cases this happens for StackValidationTest where we try to delete(cleanup) an IN_PROGRESS stack.
[1]
http:// logs.openstack. org/99/ 330799/ 5/gate/ gate-heat- dsvm-functional -orig-mysql- lbaasv2/ c7e34e3/ logs/screen- h-eng.txt. gz#_2016- 06-30_05_ 01_58_311
[2] logs.openstack. org/03/ 335303/ 3/check/ gate-heat- dsvm-functional -orig-mysql- lbaasv2/ ffb5434/ logs/screen- h-eng.txt. gz#_2016- 06-29_22_ 17_02_904
http://
There are few other cases it fails with just 'Exception during reset or simillar'. Not sure how that happens.