mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 15:53:32 +00:00
Have XCC raid configuration proceed with new state
A server may now be in state 3, which allows raid configuration in addition to state 2. Change-Id: I5218b9c43391c2c094973d238db526b9fecb8e9e
This commit is contained in:
@@ -1099,7 +1099,7 @@ class XCCClient(IMMClient):
|
||||
def check_storage_configuration(self, cfgspec=None):
|
||||
rsp = self.wc.grab_json_response(
|
||||
'/api/function/raid_conf?params=raidlink_GetStatus')
|
||||
if rsp['items'][0]['status'] != 2:
|
||||
if rsp['items'][0]['status'] not in (2, 3):
|
||||
raise pygexc.TemporaryError('Storage configuration unavailable in '
|
||||
'current state (try boot to setup or '
|
||||
'an OS)')
|
||||
|
||||
Reference in New Issue
Block a user