Merge "Remove sushy-oem-idrac from driver requirements"

This commit is contained in:
Zuul
2025-11-03 13:11:44 +00:00
committed by Gerrit Code Review
6 changed files with 19 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ The ``idrac`` hardware type requires the ``sushy`` library and the vendor extens
to be installed on the ironic conductor node(s) if an Ironic node is
configured to use an ``idrac-redfish`` interface implementation, for example::
sudo pip install 'sushy>=2.0.0' 'sushy-oem-idrac>=2.0.0'
sudo pip install 'sushy>=5.6.0'
Enabling
--------

View File

@@ -12,6 +12,3 @@ python-scciclient>=0.16.0,<0.17.0
# Ansible-deploy interface
ansible>=2.7
# Dell EMC iDRAC sushy OEM extension
sushy-oem-idrac>=5.0.0,<6.0.0

View File

@@ -174,8 +174,8 @@ class DracRedfishManagement(redfish_management.RedfishManagement):
Exports the configuration of the server against which the step is run
and stores it in specific format in indicated location.
Uses Dell's Server Configuration Profile (SCP) from `sushy-oem-idrac`
library to get ALL configuration for cloning.
Uses Dell's Server Configuration Profile (SCP) from `sushy` oem
extension to get ALL configuration for cloning.
:param task: A task from TaskManager.
:param export_configuration_location: URL of location to save the

View File

@@ -88,7 +88,7 @@ def _retry_till_realtime_ready(task):
def _is_realtime_ready(task):
"""Gets is real time ready status
Uses sushy-oem-idrac extension.
Uses sushy oem extension.
:param task: TaskManager object containing the node.
:returns: True, if real time operations are ready, otherwise False.
@@ -272,10 +272,10 @@ class DracRedfishRAID(redfish_raid.RedfishRAID):
except AttributeError as ae:
# For backported version where libraries could be too old
LOG.warning('Failed to find method to convert drives to RAID '
'mode. Possibly because `sushy-oem-idrac` is too old. '
'Without newer `sushy-oem-idrac` RAID configuration '
'will fail if selected physical disks are in non-RAID '
'mode. To avoid that update `sushy-oem-idrac`. '
'mode. Possibly because `sushy` oem extension is too '
'old. Without newer `sushy` oem extension RAID '
'configuration will fail if selected physical disks '
'are in non-RAID mode. To avoid that update `sushy`. '
'Error: %(err)s', {'err': ae})
return False
@@ -346,10 +346,10 @@ class DracRedfishRAID(redfish_raid.RedfishRAID):
except AttributeError as ae:
# For backported version where libraries could be too old
LOG.warning('Failed to find method to clear foreign config. '
'Possibly because `sushy-oem-idrac` is too old. '
'Without newer `sushy-oem-idrac` no foreign '
'Possibly because `sushy oem extension` is too old. '
'Without newer `sushy` oem extension no foreign '
'configuration will be cleared if there is any. '
'To avoid that update `sushy-oem-idrac`. '
'To avoid that update `sushy`. '
'Error: %(err)s', {'err': ae})
return False
@@ -421,7 +421,7 @@ class DracRedfishRAID(redfish_raid.RedfishRAID):
LOG.warning('Failed to find extension to convert '
'controller to RAID mode. '
+ warning_msg_templ + '. Error: %(err)s',
{'err': ee, 'pkg': 'sushy-oem-idrac'})
{'err': ee, 'pkg': 'sushy'})
return None
task_mon = oem_controller.convert_to_raid()
if task_mon:

View File

@@ -67,8 +67,8 @@ def execute_oem_manager_method(
try:
manager_oem = manager.get_oem_extension('Dell')
except sushy.exceptions.OEMExtensionNotFoundError as e:
error_msg = (_("Search for Sushy OEM extension Python package "
"'sushy-oem-idrac' failed for node %(node)s. "
error_msg = (_("Search for Sushy OEM extension in "
"'sushy' package failed for node %(node)s. "
"Ensure it is installed. Error: %(error)s") %
{'node': task.node.uuid, 'error': e})
LOG.error(error_msg)

View File

@@ -0,0 +1,5 @@
---
upgrade:
- |
The sushy-oem-idrac extension is not used anymore and it's
been removed from the requirements.