2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Update error text for redfish to cover completely unsupported redfish

systems
This commit is contained in:
Jarrod Johnson 2021-08-26 08:58:02 -04:00
parent b4ee1ab6af
commit 3e21587f22

View File

@ -183,7 +183,7 @@ class IpmiCommandWrapper(ipmicommand.Command):
if 'Access Denied' in str(pe):
raise exc.TargetEndpointBadCredentials()
if 'Redfish not ready' in str(pe):
raise exc.TargetEndpointUnreachable('Redfish not yet ready')
raise exc.TargetEndpointUnreachable('Redfish is not supported by this system or is not yet ready')
raise
def close_confluent(self):