Fix inspection for idrac

This commit fix an issue to inspect nodes using idrac when using
redfish virtual media. We are using the redfish configuration so
it can be backported.

Change-Id: I478c25fac13b49867349c2d9fc8d206c9994c398
Story: #2008221
Task: #41010
(cherry picked from commit db55700384)
This commit is contained in:
Iury Gregory Melo Ferreira 2020-10-02 17:49:16 +02:00 committed by Iury Gregory Melo Ferreira
parent 33a34ce364
commit dabb756b5f
2 changed files with 12 additions and 0 deletions

View File

@ -46,6 +46,14 @@ class ImageHandler(object):
"file_permission": CONF.redfish.file_permission,
"kernel_params": CONF.redfish.kernel_append_params
},
"idrac": {
"swift_enabled": CONF.redfish.use_swift,
"container": CONF.redfish.swift_container,
"timeout": CONF.redfish.swift_object_expiry_timeout,
"image_subdir": "redfish",
"file_permission": CONF.redfish.file_permission,
"kernel_params": CONF.redfish.kernel_append_params
},
"ilo5": {
"swift_enabled": not CONF.ilo.use_web_server_for_images,
"container": CONF.ilo.swift_ilo_container,

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fix an issue when using idrac with vmedia and trying to inspect a node.