Virtual network deletion sometimes fails

Bug #1580510 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
Undecided
Édouard Thuleau
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
Fix Committed
Undecided
Unassigned

Bug Description

During stress tests we can see some error during virtual-networks deletion:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 889, in stateful_delete
    ok, err_msg = r_class.post_dbe_delete(id, read_result, db_conn)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_types.py", line 1026, in post_dbe_delete
    'routing-instance', ri_fq_name)
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 1979, in fq_name_to_uuid
    obj_uuid = self._cassandra_db.fq_name_to_uuid(obj_type, fq_name)
  File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 1127, in fq_name_to_uuid
    raise NoIdError('%s %s' % (obj_type, fq_name_str))
NoIdError: Unknown id: routing-instance default-domain:c_rally_86bf86e8_5DSKAYox:s_rally_86bf86e8_NMwbf5uG:s_rally_86bf86e8_NMwbf5uG

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

Review in progress for https://review.opencontrail.org/20099
Submitter: ?douard Thuleau (<email address hidden>)

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

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

commit 2daa097d30c0e9c782488ec1e9f0786d146fcd3a
Author: Édouard Thuleau <email address hidden>
Date: Wed May 11 12:17:11 2016 +0200

[Schema transformer] Do not delete default routing instance

As the virtual network default routing instance deletion is handled
by the vnc api now, the schema should no remove it to prevent race
between us.

Change-Id: I27fa429ef6b0f547859db1ab5c29a699db7441e7
Closes-bug: #1580510

Sachin Bansal (sbansal)
Changed in opencontrail:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/20671
Submitter: Sachin Bansal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/20671
Committed: http://github.org/Juniper/contrail-controller/commit/1d92fcfa8469bb59ef13b522a044f6f6a55bb229
Submitter: Zuul
Branch: R3.0

commit 1d92fcfa8469bb59ef13b522a044f6f6a55bb229
Author: Édouard Thuleau <email address hidden>
Date: Wed May 11 12:17:11 2016 +0200

[Schema transformer] Do not delete default routing instance

As the virtual network default routing instance deletion is handled
by the vnc api now, the schema should no remove it to prevent race
between us.

Change-Id: I27fa429ef6b0f547859db1ab5c29a699db7441e7
Closes-bug: #1580510
(cherry picked from commit 2daa097d30c0e9c782488ec1e9f0786d146fcd3a)

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.