Description of problem: When the Azure refresh parser finds an Instance in one region with a Resource Group in a different region, no resource group is populated in the DB. Many azure-armrest API calls on the Instance require the Resource Group. When SSA is attempted on this instance it will fail since there is no resource group to dereference. Version-Release number of selected component (if applicable): How reproducible: Whenever an Azure Instance has a Resource Group from a different Region. Steps to Reproduce: 1. Add an Azure Instance in one region and assign it to a Resource Group from another region. 2. 3. Actual results:SSA will fail with the following message: Failed to create evm snapshot with EMS. Error: [NoMethodError]: [undefined method `name' for nil:NilClass] Expected results: SSA should succeed. Additional info:
Technically, resource groups in Azure have a location. In practice, the location of a resource group has little significance, since Azure doesn't mandate that the resources within a resource group be in the same region. Agreed that this is a bug on our end. We should just collect all resource groups in the refresh parser regardless of provider region so that we are guaranteed to have the relationship setup.
Fixed with https://github.com/ManageIQ/manageiq-providers-azure/pull/142
So This wasn't really fixed with the above PR - I would think this should be changed back to ON_DEV...
New PRs: https://github.com/ManageIQ/manageiq-providers-azure/pull/165 https://github.com/ManageIQ/manageiq-schema/pull/123
*** Bug 1502734 has been marked as a duplicate of this bug. ***