Bug 1335573

Summary: backport the Handle lack of diskSizeGB property in Azure for inventory collection fix
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Daniel Berger <dberger>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: cpelland, dberger, fdewaley, jfrey, jhardy, mfeifer, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.5   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.5.5.2 Doc Type: Bug Fix
Doc Text:
Cause: It's possible to attach a data disk that doesn't actually have a size set yet. Consequence: his causes the refresher to blow up when attempting to get the disk_size_gb property on the Disk object Fix: This fix just checks for the property and, if not found, sets it to 0. Result:
Story Points: ---
Clone Of: 1335238 Environment:
Last Closed: 2016-07-26 15:34:17 UTC Type: ---
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: 1335238    
Bug Blocks:    

Comment 5 CFME Bot 2016-06-21 17:11:50 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=33dcc5dfff7cdbdc6568d9dcbe5cba3c73c0a85b

commit 33dcc5dfff7cdbdc6568d9dcbe5cba3c73c0a85b
Merge: b4650f7 1c4d7fa
Author:     Greg Blomquist <gblomqui>
AuthorDate: Tue Jun 21 13:11:09 2016 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Tue Jun 21 13:11:09 2016 -0400

    Merge branch '5.5.z' into '5.5.z'
    
    Check for disk_size_gb property, and default to 0 if not found.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1335573
    
    See merge request !955

 app/models/manageiq/providers/azure/cloud_manager/refresh_parser.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Jeff Teehan 2016-07-15 00:20:01 UTC
I remember this one now.  Took us a day to figure out how to make a disk with zero size.  It's not easy to do.  Verified the code is correct and checked user comment that their issue was resolved with this change.  Moving to verified using 10.16.7.61 running 5.5.5.2.20160712144556_629f93b

Comment 9 errata-xmlrpc 2016-07-26 15:34:17 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://rhn.redhat.com/errata/RHBA-2016-1488.html