diff --git a/pyghmi/redfish/oem/generic.py b/pyghmi/redfish/oem/generic.py index 8cb3cc92..46d67ba4 100644 --- a/pyghmi/redfish/oem/generic.py +++ b/pyghmi/redfish/oem/generic.py @@ -1049,9 +1049,11 @@ class OEMHandler(object): def get_update_status(self): upd = self._do_web_request('/redfish/v1/UpdateService') - health = upd.get('Status', {}).get('Health', 'bad') + health = upd.get('Status', {}).get('Health', 'Unknown') if health == 'OK': return 'ready' + if health == 'Unknown' and upd.get('ServiceEnabled'): + return 'ready' return 'unavailable' def update_firmware(self, filename, data=None, progress=None, bank=None, otherfields=()):