Bug 1370480

Summary: Incorrect name is used for default Azure provider during discovery
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: high Docs Contact:
Priority: medium    
Version: 5.6.0CC: carnott, jfrey, jhardy, mfeifer, obarenbo, ssainkar
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.2.0 Doc Type: Bug Fix
Doc Text:
Previously, an incorrect name was used for default Azure provider during discovery. If there were no virtual machines in a provider and no EMSes in the DB, trying to create a default provider called "Azure-eastus” incorrectly set it to Azure-Azure-eastus. This caused a refresh failure because the region component of the provider name did not exist in the regions file. With this release, renaming the default region from Azure-Azure-east to Azure-east has fixed the issue.
Story Points: ---
Clone Of: 1368507 Environment:
Last Closed: 2016-10-04 14:32:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Azure Target Upstream Version:
Bug Depends On: 1368507    
Bug Blocks:    

Comment 2 Bronagh Sorota 2016-08-30 14:27:11 UTC
https://github.com/ManageIQ/manageiq/pull/10629

Comment 3 Jeff Teehan 2016-09-21 05:16:23 UTC
Had to remove all my vms, but it worked okay afterwards.  Moving this to verified using 5.6.2.0.20160913114355_70e9086 on 10.16.6.182  Also peek at code and it's pretty straight forward.

Comment 5 errata-xmlrpc 2016-10-04 14:32:30 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