[mainline-3011] CPU/Memory utilization chart for all contrail-nodes displays "No data available"

Bug #1642071 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Manoj
Trunk
Fix Committed
High
Manoj

Bug Description

The CPU/Memory utilization chart for all contrail-nodes displays "No data available".
This is due to wrong queries being sent from UI to get the cpu/memory stats.

See the query below:
queryJSON
:
{table: "StatTable.AnalyticsCpuState.cpu_info", start_time: "now-2h", end_time: "now",…}

The following bug was raised to get cpu/memory usage from StatTable.NodeStatus. Either the fix was partial or broken.
https://bugs.launchpad.net/juniperopenstack/r3.1/+bug/1601926

Please refer to the schema in /analytics/table/StatTable.NodeStatus.process_mem_cpu_usage/schema

Tags: ui
Revision history for this message
Sundaresan Rajangam (srajanga) wrote :
Changed in juniperopenstack:
importance: Undecided → High
Revision history for this message
Sundaresan Rajangam (srajanga) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/26380
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26380
Committed: http://github.org/Juniper/contrail-web-controller/commit/528423e9c9721f65ec9f56345d9e7dcd8de2e8b2
Submitter: Zuul
Branch: master

commit 528423e9c9721f65ec9f56345d9e7dcd8de2e8b2
Author: Manoj Naik <email address hidden>
Date: Tue Nov 22 20:10:10 2016 +0530

Closes-Bug: #1642071 - Fixed the issue where the sparklines and Details charts were not getting data.
Changed the queries to fetch the data from NodeStatus tables.

Change-Id: I9856e12d1e3501135489cf8f28ba6f64882ca714

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/26623
Submitter: Manoj (<email address hidden>)

Revision history for this message
Manoj (manojgn) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/26623
Submitter: Manoj (<email address hidden>)

Revision history for this message
Rahul (rahuls) wrote :

Fixed as part of 1633013

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26623
Committed: http://github.org/Juniper/contrail-web-controller/commit/5d53c1a71f6460fc2b5de94cbad4179a0ca6981e
Submitter: Zuul (<email address hidden>)
Branch: master

commit 5d53c1a71f6460fc2b5de94cbad4179a0ca6981e
Author: Manoj Naik <email address hidden>
Date: Wed Nov 30 20:07:57 2016 +0530

Related-Bug: #1642071 - Corrected the queries to use T= instead of T and fixed the merging stats issue.
Also fixed the issue where the charts were not rendering in details pages on click of the sparkline infobox.

Change-Id: I6a619f8ea7d1b6c8ba949eae8d8800be541be1f2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.