Remove version field from iLO error

According to bug https://bugs.launchpad.net/sushy/+bug/2028214
the 2.15 value in the error string we had recorded for iLO devices,
is actually a version indicator according to one of the ilo developers.

Closes-Bug: 2028214
Related-Bug: 2021995
Change-Id: I0059341e3815f2d13bdaf1efa794e29a6f2cd503
This commit is contained in:
Julia Kreger 2023-11-27 08:34:07 -08:00
parent 3c49a85c5f
commit 192d897ce9
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Connector(object):
LOG.debug('iDRAC is not yet ready after previous operation. '
'Error: %(err)s', {'err': exc_str})
retry = True
elif 'iLO.2.15.InvalidOperationForSystemState' in exc_str:
elif 'iLO' in exc_str and 'InvalidOperationForSystemState' in exc_str:
LOG.debug('iLO is not ready after previous operation. '
'Error: %(error)s', {'err': exc_str})
retry = True