No need to clear "target_provision_state" again from conductor

The event processing for "fail" event clears the node's
"target_provision_state", so there is no need for the conductor to
explicitly clear it again.

Change-Id: I18e7c1dbcec6ad48bfea242b6201d900fd0c3461
This commit is contained in:
Yuriy Zveryanskyy 2016-10-03 10:09:00 +03:00
parent 85750a1913
commit e38cb779b1
1 changed files with 0 additions and 2 deletions

View File

@ -971,8 +971,6 @@ class ConductorManager(base_manager.BaseConductorManager):
LOG.error(error)
node.last_error = error
task.process_event('fail')
node.target_provision_state = None
node.save()
@task_manager.require_exclusive_lock
def _do_node_clean_abort(self, task, step_name=None):