Analytics-Underlay: Server not listed in prouter uve in PRouterLinkEntry

Bug #1457307 reported by Sandip Dey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
ted ghose
Trunk
Fix Committed
Medium
ted ghose

Bug Description

1.Had the setup as attached.
2.qfx8 was unreachable for sometime.
3.When brought up and configured qfx8, nodek9 was not listed in PRouterLinkEntry of qfx8.
4.Restarting contrail-snmp-collector and contrail-topology solved the issue

Logs saved at :http://10.204.216.50/Docs/bugs/<bug-id>

Logs
====

http://nodeg25:8081/analytics/uves/vrouter/nodek9?flat
phy_if:

[

{
  name: "vlan4000",
  mac_address: "00:25:90:c7:7f:f4"
  }

http://nodeg25:8081/analytics/uves/prouter/bng-contrail-qfx51-8?flat

  fdbPortTable:
[

{
  mac: "00:25:90:c7:7f:f4",
  dot1dBasePortIfIndex: 543 >>>>>
  },

{
  mac: "00:25:90:c9:0b:3c",
  dot1dBasePortIfIndex: 5
  },

{
  mac: "3c:94:d5:93:14:01",
  dot1dBasePortIfIndex: 582
  }
  ],
http://nodeg25:8081/analytics/uves/prouter/bng-contrail-qfx51-8?flat

  {
  dot1dBasePortIfIndex: 543,
  snmpIfIndex: 523 >>>>>>>>>>>>
  },

http://nodeg25:8081/analytics/uves/prouter/bng-contrail-qfx51-8?flat

  {
  ifType: 6,
  ifOutDiscards: 0,
  ifAdminStatus: 1,
  ifMtu: 1514,
  ifInDiscards: 0,
  ifInErrors: 0,
  ifDescr: "ge-0/0/27", >>>>>>>>>>>
  ifOperStatus: 1,
  ifOutUcastPkts: 292279,
  ifInOctets: 287924426,
  ifInUcastPkts: 447231,
  ifPhysAddress: "88:a2:5e:87:ee:1e",
  ifLastChange: 9040,
  ifSpecific: ".0.0",
  ifOutErrors: 0,
  ifIndex: 523,
  ifOutQLen: 0,
  ifSpeed: 1000000000,
  ifOutNUcastPkts: 278926,
  ifOutOctets: 66717800,
  ifInUnknownProtos: 0,
  ifInNUcastPkts: 734
  },

But PRouterLinkEntry does not list nodek9

  PRouterFlowEntry:
{
  flow_export_source_ip: "40.45.1.1"
  },
  PRouterLinkEntry:
{
  link_table:
[

{
  remote_interface_name: "ge-0/0/1",
  local_interface_name: "ge-0/0/0",
  remote_interface_index: 512,
  local_interface_index: 511,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/2",
  local_interface_name: "ge-0/0/3",
  remote_interface_index: 513,
  local_interface_index: 514,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/28",
  local_interface_name: "ge-0/0/28",
  remote_interface_index: 558,
  local_interface_index: 524,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-7"
  },

{
  remote_interface_name: "ge-0/0/6",
  local_interface_name: "ge-0/0/7",
  remote_interface_index: 518,
  local_interface_index: 520,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/40.0",
  local_interface_name: "ge-0/0/47",
  remote_interface_index: 583,
  local_interface_index: 527,
  type: 1,
  remote_system_name: "bng-contrail-ex4200-2"
  },

{
  remote_interface_name: "ge-0/0/5",
  local_interface_name: "ge-0/0/4",
  remote_interface_index: 517,
  local_interface_index: 516,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/3",
  local_interface_name: "ge-0/0/2",
  remote_interface_index: 514,
  local_interface_index: 513,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/0",
  local_interface_name: "ge-0/0/1",
  remote_interface_index: 511,
  local_interface_index: 512,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/7",
  local_interface_name: "ge-0/0/6",
  remote_interface_index: 520,
  local_interface_index: 518,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/4",
  local_interface_name: "ge-0/0/5",
  remote_interface_index: 516,
  local_interface_index: 517,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  }
  ]
  },

After restart of contrail-snmp-collector and contrail-topology

PRouterLinkEntry:

{
  link_table:
[

{
  remote_interface_name: "ge-0/0/0",
  local_interface_name: "ge-0/0/1",
  remote_interface_index: 511,
  local_interface_index: 512,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/2",
  local_interface_name: "ge-0/0/3",
  remote_interface_index: 513,
  local_interface_index: 514,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/40.0",
  local_interface_name: "ge-0/0/47",
  remote_interface_index: 583,
  local_interface_index: 527,
  type: 1,
  remote_system_name: "bng-contrail-ex4200-2"
  },

{
  remote_interface_name: "ge-0/0/1",
  local_interface_name: "ge-0/0/0",
  remote_interface_index: 512,
  local_interface_index: 511,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/4",
  local_interface_name: "ge-0/0/5",
  remote_interface_index: 516,
  local_interface_index: 517,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/6",
  local_interface_name: "ge-0/0/7",
  remote_interface_index: 518,
  local_interface_index: 520,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/28",
  local_interface_name: "ge-0/0/28",
  remote_interface_index: 558,
  local_interface_index: 524,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-7"
  },

{
  remote_interface_name: "ge-0/0/5",
  local_interface_name: "ge-0/0/4",
  remote_interface_index: 517,
  local_interface_index: 516,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/3",
  local_interface_name: "ge-0/0/2",
  remote_interface_index: 514,
  local_interface_index: 513,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "ge-0/0/7",
  local_interface_name: "ge-0/0/6",
  remote_interface_index: 520,
  local_interface_index: 518,
  type: 1,
  remote_system_name: "bng-contrail-qfx51-8"
  },

{
  remote_interface_name: "vlan4000",
  local_interface_name: "ge-0/0/27",
  remote_interface_index: 1,
  local_interface_index: 523,
  type: 2,
  remote_system_name: "nodek9"
  },

{
  remote_interface_name: "vlan4000",
  local_interface_name: "ae2",
  remote_interface_index: 1,
  local_interface_index: 543,
  type: 2,
  remote_system_name: "nodek8"
  }
  ]

Revision history for this message
Sandip Dey (sandipd) wrote :
information type: Proprietary → Public
Revision history for this message
Raj Reddy (rajreddy) wrote :

Ted, looks like there's some problem detecting a router that goes down.. I rebooted a7-ex2 (and left it in boot loader) and it's UVE still shows neighbor list even after 10min or so..

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

Review in progress for https://review.opencontrail.org/11605
Submitter: ted ghose (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/11606
Submitter: ted ghose (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/11605
Committed: http://github.org/Juniper/contrail-controller/commit/5b5d4d51baaba8aae32e2427230acbb36a6dee30
Submitter: Zuul
Branch: master

commit 5b5d4d51baaba8aae32e2427230acbb36a6dee30
Author: Ted Ghose <email address hidden>
Date: Sun Jun 14 09:54:20 2015 -0700

Link uve dont disappear when prouter goes down

rebooted a7-ex2 (and left it in boot loader) and it's UVE still shows neighbor list
Closes-Bug: #1457307

Change-Id: I6afc156d5572569228986ae0883da3928ce745f1

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

Reviewed: https://review.opencontrail.org/11606
Committed: http://github.org/Juniper/contrail-controller/commit/62c19409679a4263d46590158774a9563c017519
Submitter: Zuul
Branch: R2.20

commit 62c19409679a4263d46590158774a9563c017519
Author: Ted Ghose <email address hidden>
Date: Sun Jun 14 09:54:20 2015 -0700

Link uve dont disappear when prouter goes down

rebooted a7-ex2 (and left it in boot loader) and it's UVE still shows neighbor list
Closes-Bug: #1457307

Change-Id: I6853f3d48aad31b97f61f53c9b2d2064a5e3b8de

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.