getloadavg returns 0 for windows - instead it should use windows WMI to get values of processor queue length

Bug #1789754 reported by sagarkchitnis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
sagarkchitnis

Bug Description

Found by the unit tests.
We can use Win32_PerfFormattedData_PerfOS_System (WMI) API to get the processor queue length.

sagarkchitnis (sagarc)
Changed in juniperopenstack:
assignee: nobody → sagarkchitnis (sagarc)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

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

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

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

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

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

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

Reviewed: https://review.opencontrail.org/47590
Committed: http://github.com/Juniper/contrail-windows/commit/ebe2d86eee02ee6d5130c2abea8900d1583587cd
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit ebe2d86eee02ee6d5130c2abea8900d1583587cd
Author: U-JNPR\sagarc <email address hidden>
Date: Fri Nov 9 04:22:16 2018 -0800

wmi and getloadavg changes

Change-Id: I8cf03c835d804206446ffb84132b5602dc71742d
Partial-Bug: #1789754

Revert "wmi and getloadavg changes"

This reverts commit 7c2aa368500d3e999b7dbd69cad4d60d40ca7237.

Change-Id: I8cf03c835d804206446ffb84132b5602dc71742d

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

Reviewed: https://review.opencontrail.org/48869
Committed: http://github.com/Juniper/contrail-controller/commit/de5565ef36478520d4d918d2a1834bdc2a98efcf
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit de5565ef36478520d4d918d2a1834bdc2a98efcf
Author: U-JNPR\sagarc <email address hidden>
Date: Wed Jan 23 17:54:55 2019 -0800

fixes for getloadavg using wmi
Partial-Bug: #1789754
Depends-On: I8cf03c835d804206446ffb84132b5602dc71742d

Change-Id: I036071c8120ae1191a31cea39ba8bfb5161373a7

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.