From 52d5eb9876d20bdb2a5dd314994785d34a7b862d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 7 Jun 2019 09:34:29 -0400 Subject: [PATCH] Add stripsize to the redfish plugin Storage creation was not passing through the stripsize parameter. --- .../confluent/plugins/hardwaremanagement/redfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py index 88d981a6..78e88efa 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/redfish.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/redfish.py @@ -911,7 +911,7 @@ class IpmiHandler(object): if raidlvl and vol['raidlevel'] != raidlvl: raise exc.InvalidArgumentException('Cannot mix raid levels in ' 'a single array') - vols.append(storage.Volume(name=vol['name'], size=vol['size'])) + vols.append(storage.Volume(name=vol['name'], size=vol['size'], stripsize=vol['stripsize'])) newcfg = storage.ConfigSpec( arrays=(storage.Array(raid=raidlvl, disks=disks, volumes=vols),)) self.ipmicmd.apply_storage_configuration(newcfg)