Merge "Set bay status: DELETE_IN_PROGRESS before updated by poll"

This commit is contained in:
Jenkins 2016-08-16 01:43:19 +00:00 committed by Gerrit Code Review
commit 9b45c1b828
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,9 @@ class Handler(object):
conductor_utils.notify_about_bay_operation(
context, taxonomy.ACTION_DELETE, taxonomy.OUTCOME_FAILURE)
raise
bay.status = bay_status.DELETE_IN_PROGRESS
self._poll_and_check(osc, bay)
return None