summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ironic/drivers/modules/ipmitool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/drivers/modules/ipmitool.py b/ironic/drivers/modules/ipmitool.py
index c3b5600e3..13391ef4e 100644
--- a/ironic/drivers/modules/ipmitool.py
+++ b/ironic/drivers/modules/ipmitool.py
@@ -950,6 +950,7 @@ class IPMIPower(base.PowerInterface):
# call to store it.
vendor = task.driver.management.detect_vendor(task)
if vendor:
+ task.upgrade_lock()
props = task.node.properties
props['vendor'] = vendor
task.node.properties = props
@@ -1241,7 +1242,6 @@ class IPMIManagement(base.ManagementInterface):
response['persistent'] = 'Options apply to all future boots' in out
return response
- @task_manager.require_exclusive_lock
@METRICS.timer('IPMIManagement.detect_vendor')
def detect_vendor(self, task):
"""Detects, stores, and returns the hardware vendor.