#NEWLINE# @ task_manager . require_exclusive_lock #NEWLINE# def tear_down( self , task ) : #NEWLINE# #INDENT# "Tear down a previous deployment on the task's node.\n\n        :param task: a TaskManager instance.\n        :returns: status of the deploy. One of ironic.common.states.\n        " #NEWLINE# manager_utils . node_power_action ( task , states . POWER_OFF ) #NEWLINE# return states . DELETED