openshift-kni / install-scripts

Installation scripts for OpenShift KNI clusters
14 stars 20 forks source link

Don't calculate OSD_SIZE if OSD_DEVICES is empty #137

Closed yprokule closed 5 years ago

yprokule commented 5 years ago

If osd_size var not found/set it's calculated based on the first osd disk size found on deploy host. This references another variable osd_devices which might not be set. To avoid miscalculation assert 'osd_devices' variable is set before calculating 'osd_size'.

yprokule commented 5 years ago

/cc @mcornea @sreichar @karmab