Bug 1370211

Summary: Azure: undefined method `downcase'
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: ProvidersAssignee: Daniel Berger <dberger>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.6.0CC: carnott, cpelland, dajohnso, dberger, jfrey, jhardy, mfeifer, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.6.2.0 Doc Type: Bug Fix
Doc Text:
Due to a lack of an explicit subscription in the code, both Azure EA subscriptions and MSDN subscriptions were catching events. This resulted in the following error: Azure: undefined method `downcase. This was fixed in the code by adding a downcase guard for the Azure resource type.
Story Points: ---
Clone Of: 1370107 Environment:
Last Closed: 2016-10-04 14:31:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Azure Target Upstream Version:
Embargoed:
Bug Depends On: 1370107    
Bug Blocks:    

Comment 1 Daniel Berger 2016-08-25 17:54:18 UTC
I believe this was ultimately caused by the lack of an explicit subscription, which was addressed by https://bugzilla.redhat.com/show_bug.cgi?id=1370218.

We can add a .to_s guard here, but once the hotfix was applied, this error went away.

Comment 2 Daniel Berger 2016-08-30 16:27:22 UTC
I also added a guard here: https://github.com/ManageIQ/manageiq/pull/10846

Comment 3 Jeff Teehan 2016-09-20 21:19:50 UTC
Reviewed code.  Developer verified the fix worked when applied to his account.  Moving to verified.

Comment 5 errata-xmlrpc 2016-10-04 14:31:56 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/RHSA-2016-1996.html