moving mem/cpu analytics stats to NodeStatusUVE

Bug #1601926 reported by Santosh Gupta
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Undecided
Manoj
Trunk
Fix Committed
Undecided
Manoj

Bug Description

We have added the following stats in analytics under NodeStatus.
{analytics-nodes|config-nodes|control-nodes|database-nodes|vrouters}.NodeStatus.{system_cpu_info|system_mem_cpu_usage|process_mem_cpu_usage}
Earlier it was sent by different processes individually, now it is sent by nodemgr for system and all processes on that node.
Changes were done via https://bugs.launchpad.net/juniperopenstack/+bug/1467407.

As part of this, we need to support the following in UI
(a) Add support for stats under NodeStatus.
(b) Deprecate the following
- Analytics-Node.ModuleCpuState
- Analytics-Node.AnalyticsCpuState
- Config.ConfigCpuState
- Config.ModuleCpuState.module_cpu_info
- Control-node.ControlCpuState
- Control-node.BgpRouterState.cpu_info
- Vrouter.VrouterStatsAgent.cpu_info
- Vrouter.ComputeCpuState
Creating this bug to track changes.

Tags: ui
Santosh Gupta (sangupta)
description: updated
Rahul (rahuls)
Changed in juniperopenstack:
assignee: nobody → Rahul (rahuls)
tags: added: ui
Manoj (manojgn)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Manoj (manojgn)
Revision history for this message
Manoj (manojgn) wrote :

We used to fetch error strings from ModuleCpuState.error_strings in Analytics node UVE. Since it is removed where has it been moved?

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

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

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

Review in progress for https://review.opencontrail.org/22270
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/22193
Committed: http://github.org/Juniper/contrail-web-controller/commit/927b44c181214b2ea47558cc40a3ec46bb12075e
Submitter: Zuul
Branch: master

commit 927b44c181214b2ea47558cc40a3ec46bb12075e
Author: Manoj Naik <email address hidden>
Date: Wed Jul 20 14:43:08 2016 +0530

Closes-Bug: #1601926- Using the cpu mem from NodeStatus.process_mem_cpu_usage
for ControlNode, VRouter, Analytics and ConfigNode.

Change-Id: I69929c9d52b6e66916b126f70910c1ac2c6ccb65

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

Reviewed: https://review.opencontrail.org/22270
Committed: http://github.org/Juniper/contrail-web-controller/commit/55d5027d1f9d6b47b0ce1aaeaff073e47973f1e5
Submitter: Zuul
Branch: R3.1

commit 55d5027d1f9d6b47b0ce1aaeaff073e47973f1e5
Author: Manoj Naik <email address hidden>
Date: Wed Jul 20 14:43:08 2016 +0530

Closes-Bug: #1601926- Using the cpu mem from NodeStatus.process_mem_cpu_usage
for ControlNode, VRouter, Analytics and ConfigNode.

Change-Id: I69929c9d52b6e66916b126f70910c1ac2c6ccb65

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

Review in progress for https://review.opencontrail.org/23160
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/23160
Committed: http://github.org/Juniper/contrail-web-controller/commit/2a6745a0a4820929071252ebab549e749690bb99
Submitter: Zuul
Branch: R3.1

commit 2a6745a0a4820929071252ebab549e749690bb99
Author: Manoj Naik <email address hidden>
Date: Wed Aug 10 16:29:34 2016 +0530

Related-Bug: #1601926 - CPU values were getting rounded of to integers because
of the use of parseInt. Replacing it with parseFloat.

Change-Id: I52ee2fa66b71673f9bfff734042f6c235e8dfa44

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

Review in progress for https://review.opencontrail.org/23355
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/23355
Committed: http://github.org/Juniper/contrail-web-controller/commit/e82ba90e60eb16f66e432c94239753fdd53f430e
Submitter: Zuul
Branch: master

commit e82ba90e60eb16f66e432c94239753fdd53f430e
Author: Manoj Naik <email address hidden>
Date: Wed Aug 10 16:29:34 2016 +0530

Related-Bug: #1601926 - CPU values were getting rounded of to integers because
of the use of parseInt. Replacing it with parseFloat.

Change-Id: I52ee2fa66b71673f9bfff734042f6c235e8dfa44
(cherry picked from commit 2a6745a0a4820929071252ebab549e749690bb99)

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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