Description of problem: Azure inventory collection fails with missing instances for west-india region Version-Release number of selected component (if applicable): 5.8.0 How reproducible: Always Steps to Reproduce: 1. Navigate to compute -> cloud -> provider 2. Add Azure provider with west-india region 3. After addition, the inventory collection fails for images and instances. Actual results: Inventory collection missing for images and instances. Expected results: Inventory collection should not failed. Additional info:
I cannot reproduce locally. When you say it fails, do you mean that the "Last Refresh" for the provider shows an error? Or simply that there are resources you see in the Azure portal that are not showing up in the app? Please attach the evm.log to this BZ.
Upon further review, I think this is actually a minor bug in Azure, which is -supposed- to return locations for all resources in lowercase. However, for VM's in the India regions it's returning them in a mix of lower and upper case characters, so that's why you're seeing your other resources, but not VM's. The fix requires a minor modification to the refresh_helper_methods.rb file. I or someone on our team will have a fix for this shortly.
Hello Daniel, By inventory collection fails, I mean the VMs,images and other information are not shown for the west-india region provider. Is the fix in work-in-progress or somebody else is working on it? Let me know if any other details required. Regards, Neha Chugh
The plan is to make our filtering caseless in the azure-armrest gem, which should solve this: https://github.com/ManageIQ/azure-armrest/pull/291
Upon further review, we need to handle it on the provider side: https://github.com/ManageIQ/manageiq-providers-azure/pull/99