Getting analytics node was not found error in UI Monitor page

Bug #1686026 reported by musharani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Biswajit Mandal

Bug Description

Node was brought up with the build 3058 ubuntu mitaka using SM-lite.

All the services are up after provisioning. But If I go to Monitor->Infrastructure->Analytics Nodes, Getting the error as analytics node was not found

Work Around:
------------
config.analytics.server_ip = '["10.204.217.99"]'

This issue is gone if I removed the single quote in the above line of /etc/contrail/config.global.js file.

contrail-webui-stdout.log:
--------------------------
04/25/2017 06:48:11 AM - error: httpServer Exception: on clientError:Error: read ECONNRESET
04/25/2017 06:48:12 AM - error: URL [http://["10.204.217.99"]:8081/analytics/alarms] returned error ["<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /[&quot;10.204.217.99&quot;]:8081/analytics/alarms was not found on this server.</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at localhost Port 80</address>\n</body></html>\n"]
04/25/2017 06:48:12 AM - error: REST Server Error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /[&quot;10.204.217.99&quot;]:8081/analytics/alarms was not found on this server.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at localhost Port 80</address>
</body></html>

    at APIServer.retryMakeCall (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:200:13)

Tags: ui
Revision history for this message
musharani (musharani) wrote :
summary: - Getting analytics node was not found error in UI
+ Getting analytics node was not found error in UI Monitor page
Rahul (rahuls)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Biswajit Mandal (bmandal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30751
Submitter: Biswajit Mandal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/30751
Committed: http://github.com/Juniper/contrail-ansible-internal/commit/1abbd9b674ffaeb10e4d8233f19a1f7eefa05f2d
Submitter: Zuul (<email address hidden>)
Branch: master

commit 1abbd9b674ffaeb10e4d8233f19a1f7eefa05f2d
Author: Biswajit Mandal <email address hidden>
Date: Tue Apr 25 16:26:36 2017 -0700

Closes-Bug: #1686026
Fixing the UI config file typo
As haproxy listens 8080 port for web-ui node, so in contrail-webui backend of
haproxy config assigning the actual http port other than 8080.
TODO: Add ssl haproxy config for webui.

Change-Id: I2920b4ba981fcabb8527c366c8c300c26f727ee3

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.