Unable to access BGPTrace in sandesh

Bug #1648180 reported by Shashikiran H
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Critical
Ananth Suryanarayana
R3.2
Fix Committed
Critical
Ananth Suryanarayana
Trunk
Fix Committed
Critical
Ananth Suryanarayana

Bug Description

Version: 3.2.0.0-9 and 8 mitaka

The below sandesh link returns a blank page.

http://10.204.221.59:8083/Snh_SandeshTraceRequest?x=BgpTraceBuf

The rest of the options return correct result.
/var/log/contrail/contrail-analytics-nodemgr-stderr.log on 10.204.221.59 has these messages repeated when i refresh the page:

Exception AssertionError: AssertionError() in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

host1 = 'root@10.204.221.58'
host2 = 'root@10.204.221.59'
host3 = 'root@10.204.221.60'
host4 = 'root@10.204.221.61'

env.roledefs = {
    'all': [host1, host2, host3, host4],
    'cfgm': [host1],
    'openstack': [host1],
    'control': [host1,host2],
    'compute': [host3,host4],
    'collector': [host2],
    'webui': [host2],
    'database': [host2],
    'build': [host_build],
}

Shashikiran H (skiranh)
Changed in juniperopenstack:
assignee: nobody → Raj Reddy (rajreddy)
Raj Reddy (rajreddy)
tags: added: contrail-control
removed: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/27054
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/27055
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/27054
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/27055
Submitter: Ananth Suryanarayana (<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/27074
Submitter: Ananth Suryanarayana (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/27054
Committed: http://github.org/Juniper/contrail-controller/commit/2fcbb61f60ed4c4cc9e034edcfa3b98c7c027dd4
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 2fcbb61f60ed4c4cc9e034edcfa3b98c7c027dd4
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Dec 8 17:29:49 2016 -0800

Use API integerToHexString() to convert uint8_t to string

<< operator converts to a character, which need not be a valid xml character
and causes issues during message send via sandesh infra

TODO: Add an assert to sandesh library when mal-formed xml string is formed
and enable it in tests so that issues like these can be caught in UTs itself

Change-Id: Ifb0ebcd1e7065037d8848389d5b7e86a1f681064
Closes-Bug: #1648180

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

Reviewed: https://review.opencontrail.org/27055
Committed: http://github.org/Juniper/contrail-controller/commit/6da39ca4d3d791b483bd2951c3c7e6fdf9c259b2
Submitter: Zuul (<email address hidden>)
Branch: master

commit 6da39ca4d3d791b483bd2951c3c7e6fdf9c259b2
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Dec 8 17:29:49 2016 -0800

Use API integerToHexString() to convert uint8_t to string

<< operator converts to a character, which need not be a valid xml character
and causes issues during message send via sandesh infra

TODO: Add an assert to sandesh library when mal-formed xml string is formed
and enable it in tests so that issues like these can be caught in UTs itself

Change-Id: Ifb0ebcd1e7065037d8848389d5b7e86a1f681064
Closes-Bug: #1648180

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

Reviewed: https://review.opencontrail.org/27074
Committed: http://github.org/Juniper/contrail-controller/commit/8b7b6170e1004e3f988cda616213e880433a8ed6
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 8b7b6170e1004e3f988cda616213e880433a8ed6
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Dec 8 17:29:49 2016 -0800

Use API integerToHexString() to convert uint8_t to string

<< operator converts to a character, which need not be a valid xml character
and causes issues during message send via sandesh infra

TODO: Add an assert to sandesh library when mal-formed xml string is formed
and enable it in tests so that issues like these can be caught in UTs itself

Change-Id: Ifb0ebcd1e7065037d8848389d5b7e86a1f681064
Closes-Bug: #1648180

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.