Bug 1747858 - [Regression] C&U data not collected for some Azure instances
Summary: [Regression] C&U data not collected for some Azure instances
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.0
Assignee: Adam Grare
QA Contact: Nandini Chandra
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-02 05:07 UTC by Nandini Chandra
Modified: 2019-12-13 14:55 UTC (History)
4 users (show)

Fixed In Version: 5.11.0.23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 14:55:27 UTC
Category: Bug
Cloudforms Team: Azure
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nandini Chandra 2019-09-02 05:07:17 UTC
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.

Comment 4 Alexander Zagaynov 2019-09-03 12:48:27 UTC
Nandini, please read this article and check, do you have insights registered: https://github.com/ManageIQ/azure-armrest/wiki/Insights

Comment 5 Alexander Zagaynov 2019-09-03 13:32:46 UTC
I found PR which can be related: https://github.com/ManageIQ/manageiq-providers-azure/pull/302

Comment 6 Alexander Zagaynov 2019-09-03 13:59:45 UTC
PR: https://github.com/ManageIQ/manageiq-providers-azure/pull/347

Comment 7 Alexander Zagaynov 2019-09-03 17:33:17 UTC
merged

Comment 9 CFME Bot 2019-09-03 17:46:03 UTC
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(-)

Comment 10 Nandini Chandra 2019-09-09 14:46:31 UTC
Verified in 5.11.0.23


Note You need to log in before you can comment on or make changes to this bug.