Hide Forgot
Description of problem: During Azure discovery, if there are no VMs in a provider and there are no EMSes in the DB, we try to create a default provider called "Azure-eastus". However, this is incorrectly being set to Azure-Azure-eastus which causes a refresh failure because the region component of the provider name does not exist in the regions file. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Ensure the provider has no VMs 2. Ensure there are no EMSes in the DB 3. Discover the Azure environment. Actual results: exception in the evm.log pointing to refresh post processing. Expected results: to see 1 or more Azure providers. Additional info:
https://github.com/ManageIQ/manageiq/pull/10629
This is working. Funny, my client key expired since the 5.6 version of this bug and then neither were working until I figured out I needed a new key. Anyway, this is verified in 5.7.0.2 using my account with no VMs. For what it's worth, my account is all West US, so defaulting to east doesn't really help much, but I understand we have to pick something. Moving to verified.
Missed a step. Added test case.