Convert available and minimum disk sizes to bytes.
Previously the check-requirements role would assume GB as the unit
of space when gathering disk sizes from ansible_devices. With
drives larger than 1 TB ansible_devices reports the size as a
float. This converts all disk sizes to bytes for consistency within
the comparisons regardless of the size of the disk.
Reviewed: https:/ /review. openstack. org/271049 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=ef1a45fc05c ae35e899ada44f0 cf61baf63b0fba
Committed: https:/
Submitter: Jenkins
Branch: master
commit ef1a45fc05cae35 e899ada44f0cf61 baf63b0fba
Author: d34dh0r53 <email address hidden>
Date: Thu Jan 21 15:44:01 2016 -0600
Convert available and minimum disk sizes to bytes.
Previously the check-requirements role would assume GB as the unit
of space when gathering disk sizes from ansible_devices. With
drives larger than 1 TB ansible_devices reports the size as a
float. This converts all disk sizes to bytes for consistency within
the comparisons regardless of the size of the disk.
Change-Id: I07b81a8a35197f 73cd338fa02cb7b 112df15a012
Closes-Bug: 1536726