SMLiteUI:3.0 2722: Monitoring details are not populated, though the corresponding daemon is running

Bug #1551229 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Undecided
Chinmay Zanpure
Trunk
Fix Committed
Undecided
Chinmay Zanpure

Bug Description

SMLiteUI:3.0 2722: Monitoring details are not populated, though the corresponding daemon is running

PFA the attachment , that shows Sensors/Interface Monitoring/File Systems/ Disk Usage as blank

oot@nodeg37:~# dpkg -l | grep contrail-server-manager-monitoring
ii contrail-server-manager-monitoring 3.0.0.0-2722 all Contrail Server-manager Monitoring API Library package
root@nodeg37:~#
016-02-29 03:59:47,644-ERROR-server_mgr_ipmi_monitoring.py:925-run(): Missing fields in server dictionary - skipping monitoring run"
"2016-02-29 04:04:47,646-INFO-server_mgr_ipmi_monitoring.py:883-run(): Started IPMI Polling"
"2016-02-29 04:04:47,647-ERROR-server_mgr_ipmi_monitoring.py:925-run(): Missing fields in server dictionary - skipping monitoring run"
"2016-02-29 04:07:44,763-DEBUG-server_mgr_ipmi_monitoring.py:753-get_monitoring_info_summary(): get_monitoring_info_summary"
"2016-02-29 04:07:44,776-ERROR-server_mgr_ipmi_monitoring.py:835-get_monitoring_info_summary(): Get Monitoring Info Summary Execption: __ServerMonitoringSummaryUve_list"
"2016-02-29 04:07:57,404-DEBUG-server_mgr_ipmi_monitoring.py:638-get_monitoring_info(): get_monitoring_info"
"2016-02-29 04:07:57,425-ERROR-server_mgr_ipmi_monitoring.py:738-get_monitoring_info(): Get Monitoring Info Execption: __ServerMonitoringInfoUve_list"
"2016-02-29 04:09:06,305-DEBUG-server_mgr_ipmi_monitoring.py:753-get_monitoring_info_summary(): get_monitoring_info_summary"
"2016-02-29 04:09:06,310-ERROR-server_mgr_ipmi_monitoring.py:835-get_monitoring_info_summary(): Get Monitoring Info Summary Execption: __ServerMonitoringSummaryUve_list"
"2016-02-29 04:09:09,060-DEBUG-server_mgr_ipmi_monitoring.py:753-get_monitoring_info_summary(): get_monitoring_info_summary"
"2016-02-29 04:09:09,077-ERROR-server_mgr_ipmi_monitoring.py:835-get_monitoring_info_summary(): Get Monitoring Info Summary Execption: __ServerMonitoringSummaryUve_list"
"2016-02-29 04:09:47

This is Single node Setup, with nodeg19, nodeg37(SMLite)

Revision history for this message
sundarkh (sundar-kh) wrote :
sundarkh (sundar-kh)
description: updated
summary: - SMLiteUI:3.0 2717: Monitoring details are not populated, though the
+ SMLiteUI:3.0 2722: Monitoring details are not populated, though the
corresponding daemon is running
Revision history for this message
sundarkh (sundar-kh) wrote :

Seen with ServerManager also

sundarkh (sundar-kh)
Changed in juniperopenstack:
importance: Medium → High
Changed in juniperopenstack:
assignee: prasad miriyala (pmiriyala) → Chinmay Zanpure (czanpure)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

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

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

Reviewed: https://review.opencontrail.org/18133
Committed: http://github.org/Juniper/contrail-web-server-manager/commit/dbcdd2e208b9234f857ef57412774f334f525b4c
Submitter: Zuul
Branch: master

commit dbcdd2e208b9234f857ef57412774f334f525b4c
Author: Chinmay Zanpure <email address hidden>
Date: Wed Mar 2 17:59:32 2016 -0800

Closes-Bug: #1551229 Fixed Sensor Stats and File System info not getting populated in SM Monitoring UI

Change-Id: I0d63840a1f463738dae6b19dba5dee76d4d3ce79

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

Reviewed: https://review.opencontrail.org/18134
Committed: http://github.org/Juniper/contrail-web-server-manager/commit/76cb9d891a688c94efdd058d5967ed1dde59daee
Submitter: Zuul
Branch: R3.0

commit 76cb9d891a688c94efdd058d5967ed1dde59daee
Author: Chinmay Zanpure <email address hidden>
Date: Wed Mar 2 18:22:42 2016 -0800

Closes-Bug: #1551229 Fixed Sensor Stats and File System info not getting populated in SM Monitoring UI

Change-Id: I8cb78cf2df4106c93f932a9bdaeb45d81553988a

Changed in juniperopenstack:
milestone: r3.0-fcs → r3.0.1.0
Revision history for this message
sundarkh (sundar-kh) wrote :

WorkAround :

To populate the monitoring details in ServerManager WebUI

SSH to the machine where the SM UI is installed.

vi /usr/src/contrail/contrail-web-server-manager/webroot/built/common/ui/js/sm.grid.config.js
Find line return cowf.getTextGenerator('status-state', dc.status) and replace it with return cowf.getFormattedValue('status-state', dc.status)
Find line return cowf.getTextGenerator('alert-percentage', dc.used_percentage) and replace it with return cowf.getFormattedValue('alert-percentage', dc.used_percentage)
Basically we are just replacing the getTextGenerator function call by getFormattedValue as the earlier function is not available now.
vi /usr/src/contrail/contrail-web-server-manager/webroot/built/common/ui/js/sm.init.js
Find line return cowf.getTextGenerator('status-state', dc.status) and replace it with return cowf.getFormattedValue('status-state', dc.status)
Find line return cowf.getTextGenerator('alert-percentage', dc.used_percentage) and replace it with return cowf.getFormattedValue('alert-percentage', dc.used_percentage)

tags: added: releasenote
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.