While attempting to use the Python script provided as the answer for Is it possible to order/configure IBM SoftLayer file storage using slcli or Python API?, I keep getting the following error:
"ValueError: The IOPS value: 125, is not valid for the storage space: 500GB."
I got this error for IOPS values of 100, 125, 200, 250, 500, 1000, 2000, 2500, 3000, 5000 and 6000.
I am trying this for the San Jose data center (sjc01).
What is the valid value for IOPS for 500GB of file storage?
Thanks in advance!
The error is because this, The filter, to get the IOPS prices, uses the configured storage space, it fails when you use a storage space less than 1000, in order to avoid the error the code needs to use in its request "1000" as storage space to get the valid pricesfor IOPS. In the code below I added that scenerio.
The another error is that the IOPS must be in increased in intervals of 100. In another words the value "125" is invalid. You need to change it to "100" or "200"
Regards