Bug 1273950

Summary: Cinder disk size is not formatted to GB in "Edit virtual machine" window
Product: [oVirt] ovirt-engine Reporter: Natalie Gavrielov <ngavrilo>
Component: Frontend.WebAdminAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Natalie Gavrielov <ngavrilo>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0.1CC: bugs, tnisan
Target Milestone: ovirt-3.6.1Flags: tnisan: ovirt-3.6.z?
ngavrilo: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 12:19:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
snapshot none

Description Natalie Gavrielov 2015-10-21 14:45:42 UTC
Description of problem:

Whenever attaching or creating cinder disks to a VM, the disk size is not formatted and displayed in bytes:
for example, 5 GB will be displayed as 5368709120 GB.
Does not happen with other types of disks.

Version-Release number of selected component (if applicable):

rhevm-3.6.0.1-0.1.el6.noarch


How reproducible:
100%

Steps to Reproduce:

Attach/create cinder disk to a VM.

Actual results:

Attached disk size is displayed in bytes, with GB displayed next to it. 

Expected results:

Disk size should be formatted and displayed in GB. 

Additional info:
Snapshot

Comment 1 Natalie Gavrielov 2015-10-21 14:46:50 UTC
Created attachment 1085194 [details]
snapshot

Comment 2 Yaniv Lavi 2015-10-29 12:49:56 UTC
In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone.

Comment 3 Natalie Gavrielov 2015-12-15 16:34:35 UTC
Verified using: rhevm-3.6.1.3-0.1.el6.noarch (build 3.6.1-4)
Now disk size is formatted correctly.

Comment 4 Natalie Gavrielov 2015-12-15 16:35:20 UTC
Verified using: rhevm-3.6.1.3-0.1.el6.noarch (build 3.6.1-4)
Now disk size is formatted correctly.

Comment 5 Sandro Bonazzola 2015-12-16 12:19:01 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.