BGPaaS: Api-server traceback when deleting VN

Bug #1531965 reported by amit surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Hampapur Ajay

Bug Description

When deleting a VN, that has a child RI with bgp-router bgpaas-server reference (the latter is not deleted when bgpaas object is deleted), the following traceback is seen:

 Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1063, in _dbe_subscribe_callback
    self._dbe_delete_notification(oper_info)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1150, in _dbe_delete_notification
    self.dbe_uve_trace("DELETE", obj_info['type'], obj_info['uuid'], None)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1031, in dbe_uve_trace
    self._db_client_mgr.dbe_uve_trace(oper, typ, uuid, body)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1666, in dbe_uve_trace
    oo['name'] = self.uuid_to_fq_name(uuid)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1964, in uuid_to_fq_name
    return self._cassandra_db.uuid_to_fq_name(obj_uuid)
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 841, in uuid_to_fq_name
    raise NoIdError(id)
NoIdError: Unknown id: a24ec673-6e34-4955-a1e2-ddada3b1471a

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

Review in progress for https://review.opencontrail.org/16149
Submitter: Hampapur Ajay (<email address hidden>)

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

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

commit bf6cba2bb5b061bfd56fa99c72b7b2323f08486f
Author: Hampapur Ajay <email address hidden>
Date: Thu Jan 7 11:11:58 2016 -0800

In dbe_uve_trace, at delete, pick fq_name from obj_dict from message.

Closes-Bug: #1531965

Change-Id: I276c45d165deba99d23c77cbfae2ab6279fbcd69

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.