Bug 1646646

Summary: Azure refresh fails with [NoMethodError]: undefined method `sku'
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Daniel Berger <dberger>
Status: CLOSED ERRATA QA Contact: Angelina Vasileva <anikifor>
Severity: high Docs Contact:
Priority: medium    
Version: 5.9.4CC: dmetzger, gblomqui, jfrey, jhardy, niroy, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.6.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1642478 Environment:
Last Closed: 2018-12-13 15:15:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1642478    
Bug Blocks: 1622587    

Comment 2 CFME Bot 2018-11-05 19:47:16 UTC
New commit detected on ManageIQ/manageiq-providers-azure/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-azure/commit/214e1a51cbea600d7036270069cba878d05553d2
commit 214e1a51cbea600d7036270069cba878d05553d2
Author:     Ladislav Smola <lsmola>
AuthorDate: Thu Nov  1 12:02:53 2018 -0400
Commit:     Ladislav Smola <lsmola>
CommitDate: Thu Nov  1 12:02:53 2018 -0400

    Merge pull request #300 from djberg96/disk_sku

    Handle possibility that disk might not have sku

    (cherry picked from commit 60d75641b09d7c79e8c27890ca39c772a9836b94)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1646646

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

Comment 3 Angelina Vasileva 2018-11-15 14:49:06 UTC
Fixed and verified in 5.9.6.0.20181105224828_652732b

Comment 5 errata-xmlrpc 2018-12-13 15:15:44 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/RHSA-2018:3816