Traceback in device manager

Bug #1455665 reported by Sachin Bansal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Suresh Balineni
Trunk
Fix Committed
High
Suresh Balineni

Bug Description

Traceback (most recent call last):
 File "/usr/bin/contrail-device-manager", line 9, in <module>
 File "/usr/lib/python2.7/dist-packages/device_manager/device_manager.py", line 527, in server_main
 File "/usr/lib/python2.7/dist-packages/device_manager/device_manager.py", line 516, in main
 File "/usr/lib/python2.7/dist-packages/cfgm_common/zkclient.py", line 318, in master_election
 File "/usr/lib/python2.7/dist-packages/kazoo/recipe/election.py", line 48, in run
 File "/usr/lib/python2.7/dist-packages/cfgm_common/zkclient.py", line 310, in _zk_election_callback
 File "/usr/lib/python2.7/dist-packages/device_manager/device_manager.py", line 521, in run_device_manager
 File "/usr/lib/python2.7/dist-packages/device_manager/device_manager.py", line 254, in __init__
 File "/usr/lib/python2.7/dist-packages/device_manager/db.py", line 152, in push_config
AttributeError: 'NoneType' object has no attribute 'get_all_bgp_router_ips'

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

Review in progress for https://review.opencontrail.org/10446
Submitter: Suresh Balineni (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/10447
Submitter: Suresh Balineni (<email address hidden>)

Changed in juniperopenstack:
importance: Undecided → High
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10446
Committed: http://github.org/Juniper/contrail-controller/commit/727b4934489406905da12fd534a57f2933e002d7
Submitter: Zuul
Branch: master

commit 727b4934489406905da12fd534a57f2933e002d7
Author: sbalineni <email address hidden>
Date: Fri May 15 17:48:49 2015 -0700

dynamic tunnels can be programmed only when bgp router is associated to physical router

when bgp router is not yet associated to a physical router, just skip adding dynamic tunnels.

Change-Id: Idfa9c4453927a4207b24eb357ebb0636c2f93187
Closes-Bug: #1455665

information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/10447
Committed: http://github.org/Juniper/contrail-controller/commit/151cf32a5f8c9453e11310a7ec6b4685c91f885d
Submitter: Zuul
Branch: R2.20

commit 151cf32a5f8c9453e11310a7ec6b4685c91f885d
Author: sbalineni <email address hidden>
Date: Fri May 15 17:58:02 2015 -0700

dynamic tunnels can be programmed only when bgp router is associated to physical router

when bgp router is not yet associated to a physical router, just skip adding dynamic tunnels.

Change-Id: I3c2a123042100c6e9e52602737a00a0de31ba8b7
Closes-Bug: #1455665

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.