Description of problem: ------------------------ While verifying https://bugzilla.redhat.com/show_bug.cgi?id=1744845 , I noticed that C&U data was not being collected for some of the Azure instances. Here's a snippet from evm.log. C&U data was not collected for the cu-24x7 VM , but was collected for the nachandr-win VM, although the two VMs are in the same region (eastus2). cu-24x7 VM is running Ubuntu, whereas nachandr-win is running Windows. [----] W, [2019-08-30T12:40:50.495179 #9731:2b1345b525c4] WARN -- : MIQ(ManageIQ::Providers::Azure::CloudManager::MetricsCapture#perf_collect_metrics) Problem collecting metrics for cu-24x7/Automation. Region [eastus2] may not be supported. [----] I, [2019-08-30T12:40:50.495545 #9731:2b1345b525c4] INFO -- : MIQ(ManageIQ::Providers::Azure::CloudManager::Vm#just_perf_capture) [realtime] Capture for ManageIQ::Providers::Azure::CloudManager::Vm name: [cu-24x7], id: [17], start_time: [2019-08-30 00:00:00 UTC]...Complete - Timings: {:capture_state=>1.5682237148284912, :connect=>1.430511474609375e-06, :capture_counters=>21.084264278411865, :total_time=>68.08589172363281} [----] I, [2019-08-30T12:40:50.495616 #9731:2b1345b525c4] INFO -- : MIQ(ManageIQ::Providers::Azure::CloudManager::Vm#just_perf_capture) [realtime] Skipping processing for ManageIQ::Providers::Azure::CloudManager::Vm name: [cu-24x7], id: [17], start_time: [2019-08-30 00:00:00 UTC] as no metrics were captured. Version-Release number of selected component (if applicable): ------------------------------- 5.11.0.22 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Manage Azure 2.Enable C&U collection for Azure 3. Actual results: --------------- C&U data not collected for some Azure instances Expected results: ---------------- C&U data should be collected for all Azure instances. Additional info: ---------------- This issue doesn't occur in 5.10.9.1. C&U data was collected for the cu-24x7 and nachandr-win VMs.
Nandini, please read this article and check, do you have insights registered: https://github.com/ManageIQ/azure-armrest/wiki/Insights
I found PR which can be related: https://github.com/ManageIQ/manageiq-providers-azure/pull/302
PR: https://github.com/ManageIQ/manageiq-providers-azure/pull/347
merged
New commit detected on ManageIQ/manageiq-providers-azure/ivanchuk: https://github.com/ManageIQ/manageiq-providers-azure/commit/52e6b04be4e2da5d93e42e3418f53ec1342e9aa0 commit 52e6b04be4e2da5d93e42e3418f53ec1342e9aa0 Author: Adam Grare <agrare> AuthorDate: Tue Sep 3 13:31:08 2019 -0400 Commit: Adam Grare <agrare> CommitDate: Tue Sep 3 13:31:08 2019 -0400 Merge pull request #347 from AlexanderZagaynov/BZ-1747858_invalid_and_syntax fix invalid and syntax (cherry picked from commit 3eca30ccf94e9ebfa8ea409b80e0629140159bfc) https://bugzilla.redhat.com/show_bug.cgi?id=1724415 https://bugzilla.redhat.com/show_bug.cgi?id=1747858 app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)
Verified in 5.11.0.23