Bug 1317921

Summary: Memory size for Azure flavor incorrectly displayed in Bytes/KB
Product: Red Hat CloudForms Management Engine Reporter: ncatling
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: high Docs Contact:
Priority: medium    
Version: 5.5.0CC: cbolz, cpelland, jfrey, jhardy, jprause, ltsai, nstephan, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: azure:ui
Fixed In Version: 5.6.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1357085 1357086 (view as bug list) Environment:
Last Closed: 2016-06-29 15:42:47 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:
Bug Depends On:    
Bug Blocks: 1349424, 1357085, 1357086    
Attachments:
Description Flags
Azure flavors none

Description ncatling 2016-03-15 14:02:55 UTC
Created attachment 1136609 [details]
Azure flavors

Description of problem:
Memory size for Azure flavor incorrectly displayed in Bytes/KB, rather than GB.
For example, CloudForms displays Basic_A2 as 3.5KB, where as it should be 3.5GB.

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


How reproducible:
View Provider > Azure > Flavors

Steps to Reproduce:
1.
2.
3.

Actual results:
See attached.


Expected results:


Additional info:

Comment 3 CFME Bot 2016-04-25 22:00:56 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5abee3ec1b4178466b859f31b01f29926e8487f9

commit 5abee3ec1b4178466b859f31b01f29926e8487f9
Author:     Bronagh Sorota <bsorota>
AuthorDate: Mon Apr 25 13:08:00 2016 -0400
Commit:     Bronagh Sorota <bsorota>
CommitDate: Mon Apr 25 13:08:00 2016 -0400

    Flavor memory size needs to be stored in bytes to be
    displayed in the correct unit in the UI
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1317921

 app/models/manageiq/providers/azure/cloud_manager/refresh_parser.rb  | 4 ++--
 spec/models/manageiq/providers/azure/cloud_manager/refresher_spec.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Comment 4 Jeff Teehan 2016-05-04 17:50:13 UTC
Good eye.  I spot checked a few to make sure all values were correct.

Moving to verified using https://10.16.6.211/flavor/show_list

Comment 7 errata-xmlrpc 2016-06-29 15:42:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348

Comment 8 Tsai Li Ming 2016-07-12 01:28:18 UTC
*** Bug 1344925 has been marked as a duplicate of this bug. ***

Comment 9 Dave Johnson 2016-07-15 16:37:51 UTC
*** Bug 1344925 has been marked as a duplicate of this bug. ***

Comment 10 John Prause 2016-07-15 18:50:22 UTC
*** Bug 1349424 has been marked as a duplicate of this bug. ***