summaryrefslogtreecommitdiff
path: root/ironic/drivers/modules
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-01-20 20:34:37 +0000
committerGerrit Code Review <review@openstack.org>2023-01-20 20:34:37 +0000
commit2e1477f4335e949bd593d0d56d32652eac564626 (patch)
tree3556c9d16869073ddd8f8ff0216a9b63ff8ac8fe /ironic/drivers/modules
parent9a85e4787b9f7256ccd09ea293b89509666b88c7 (diff)
parentf113210999b0492085e925462f41b4ffa9fb5165 (diff)
downloadironic-2e1477f4335e949bd593d0d56d32652eac564626.tar.gz
Merge "Create [inventory]"
Diffstat (limited to 'ironic/drivers/modules')
-rw-r--r--ironic/drivers/modules/inspector.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ironic/drivers/modules/inspector.py b/ironic/drivers/modules/inspector.py
index a4c8c1091..543eaba48 100644
--- a/ironic/drivers/modules/inspector.py
+++ b/ironic/drivers/modules/inspector.py
@@ -368,7 +368,7 @@ def _check_status(task):
elif status.is_finished:
_clean_up(task)
# If store_data == 'none', do not store the data
- store_data = CONF.inspector.inventory_data_backend
+ store_data = CONF.inventory.data_backend
if store_data == 'none':
LOG.debug('Introspection data storage is disabled, the data will '
'not be saved for node %(node)s', {'node': node.uuid})
@@ -417,7 +417,7 @@ def store_introspection_data(node_uuid, inventory_data, plugin_data):
"""
swift_api = swift.SwiftAPI()
swift_object_name = '%s-%s' % (_OBJECT_NAME_PREFIX, node_uuid)
- container = CONF.inspector.swift_inventory_data_container
+ container = CONF.inventory.swift_data_container
swift_api.create_object_from_data(swift_object_name + '-inventory',
inventory_data,
container)
@@ -436,7 +436,7 @@ def get_introspection_data(node_uuid):
"""
swift_api = swift.SwiftAPI()
swift_object_name = '%s-%s' % (_OBJECT_NAME_PREFIX, node_uuid)
- container = CONF.inspector.swift_inventory_data_container
+ container = CONF.inventory.swift_data_container
inventory_data = swift_api.get_object(swift_object_name + '-inventory',
container)
plugin_data = swift_api.get_object(swift_object_name + '-plugin',