Merge "Ensure ratio calculated for Ceph journals is an integer"

This commit is contained in:
Jenkins 2015-04-17 16:13:48 +00:00 committed by Gerrit Code Review
commit fd41c3bde5

View File

@ -182,7 +182,7 @@ class Nailgun(BaseDataDriver):
# We need to allocate a journal partition for each ceph OSD
# Determine the number of journal partitions we need on
# each device
ratio = math.ceil(float(ceph_osds) / ceph_journals)
ratio = int(math.ceil(float(ceph_osds) / ceph_journals))
# No more than 10GB will be allocated to a single journal
# partition