many agent introspect urls are not showing up

Bug #1691016 reported by Vedamurthy Joshi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Ashok Singh
Trunk
Fix Committed
High
Ashok Singh

Bug Description

R4.0 Build 4 Ubuntu 16.04.2 container

http://10.204.217.197:8085/ shows only these

Modules for contrail-vrouter-agent

agent.xml
agent_profile.xml
cpuinfo.xml
diag.xml
kstate.xml
multicast.xml
port_ipc.xml
stats.xml

Even this link http://10.204.217.197:8085/ifmap_agent.xml does not work.
But the final link http://10.204.217.197:8085/Snh_ShowIFMapAgentReq?table_name=&node_sub_string=&link_type_sub_string=&link_node_sub_string= does work fine

There are plenty of other urls which dont show up. Here is the complete list from another setup.

agent.xml
agent_profile.xml
agent_stats_interval.xml
controller.xml
cpuinfo.xml
diag.xml
flow_stats.xml
ifmap_agent.xml
kstate.xml
mac_learning.xml
multicast.xml
pkt.xml
port_ipc.xml
sandesh_trace.xml
sandesh_uve.xml
services.xml
stats.xml
stats_interval.xml
task.xml
xmpp_server.xml

Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
Anish Mehta (amehta00) wrote :

The "whole-archive" options needs to be used in vrouter agent when linking in libraries that contain sandesh files.
e.g. from controller/src/vnsw/agent/contrail/SConscript:
 86 # Whole-arhive flag causes the library to be included in the resulting output
 87 # even though there may not be any calls requiring its presence. We need this
 88 # for kstate library so that the HTML file for kstate is listed in agent
 89 # introspect page
 90 env.Prepend(LINKFLAGS = ['-Wl,--whole-archive', '-rdynamic', '-lkstate', '-ldiag',
 91 '-Wl,--no-whole-archive'])

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

Review in progress for https://review.opencontrail.org/31787
Submitter: Ashok Singh (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/31788
Submitter: Ashok Singh (<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/31787
Submitter: Ashok Singh (<email address hidden>)

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

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

commit 11557fcde89597df60fa6a9e4ecf2500d5b66d48
Author: ashoksingh <email address hidden>
Date: Thu May 18 14:06:40 2017 +0530

Fix issue of hyperlinks not shown in Agent Introspect Home page

Add --whole-archive link flag for libraries whose introspect pages
are not shown. Also fixed issue of pkt_init.cc being linked twice

Change-Id: I3888b1bd3e67ec487ab4fceeb4076b0b28e1aec2
Closes-Bug: #1691016

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

Reviewed: https://review.opencontrail.org/31788
Committed: http://github.com/Juniper/contrail-controller/commit/6c0c939775098d0820b747051f8a2480162f1add
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 6c0c939775098d0820b747051f8a2480162f1add
Author: ashoksingh <email address hidden>
Date: Thu May 18 14:06:40 2017 +0530

Fix issue of hyperlinks not shown in Agent Introspect Home page

Add --whole-archive link flag for libraries whose introspect pages
are not shown. Also fixed issue of pkt_init.cc being linked twice

Closes-Bug: #1691016
(cherry picked from commit 006792faf15124ff7b07d3f48aaa2af8f3bbe9f7)

Change-Id: I5323cf1b9dc5eb5d2864ca90c653e13ec7d5d528

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

Review in progress for https://review.opencontrail.org/32088
Submitter: Ashok Singh (<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/32089
Submitter: Ashok Singh (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/32088
Committed: http://github.com/Juniper/contrail-controller/commit/ab48d4eebebc7f78638b4d13ab319ddedc6c7524
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit ab48d4eebebc7f78638b4d13ab319ddedc6c7524
Author: ashoksingh <email address hidden>
Date: Wed May 24 20:03:19 2017 +0530

Revert changeset 6c0c939775098d0820b747051f8a2480162f1add

Issue of missing introspect links is taken care by common fix as part of commit
4074d8af7592a564ba1c55c23021cc95f105c6c1

Change-Id: I3a4db54f9ecf79a4ab78fc84f706ccfb5b47df14
Closes-Bug: #1691016

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

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

commit 73f8d94825952b2f1d9bdc4f2560a14914e757cf
Author: ashoksingh <email address hidden>
Date: Wed May 24 20:03:19 2017 +0530

Revert changeset 6c0c939775098d0820b747051f8a2480162f1add

Issue of missing introspect links is taken care by common fix as part of commit
4074d8af7592a564ba1c55c23021cc95f105c6c1

Closes-Bug: #1691016
(cherry picked from commit ab48d4eebebc7f78638b4d13ab319ddedc6c7524)

Change-Id: Ied59381a6af1bf78240ce36bde29c64a8775123f

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.