Bug 1124562

Summary: backport patches to use Size throughout
Product: Red Hat Enterprise Linux 7 Reporter: David Lehman <dlehman>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-15 21:23:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Lehman 2014-07-29 19:34:02 UTC
Description of problem:
There have been numerous issues related to inconsistent use of size/capacity units in both anaconda and blivet. This bug is a proposal to bring all size-related code in blivet up to date with the master branch. The combination of float's lack of precision and the constant need to convert between various units has led to a steady stream of bugs. Using the Size class throughout addresses all of these issues by providing a consistent type for use in size calculations.