[Ubuntu 14.04 LTS" 2.20-43~icehouse] RI isn't cleaned from the API server after SI is deleted

Bug #1462702 reported by Ganesha HV
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Critical
Sachin Bansal
Trunk
Fix Committed
Critical
Sachin Bansal

Bug Description

Topology :
========
nodeb8

Steps:
====
Created a in-network service chain between vn1 and vn2.
During deletion if the service chain, I still see that the RI corresponding to vn1 is still present in the API server.

Logs
====
/cs-shared/test_runs/nodeb8/2015_06_06_14_26_09

tags: added: config
information type: Proprietary → Public
Revision history for this message
Sachin Bansal (sbansal) wrote :
Download full text (3.5 KiB)

This is most likely happening because of schema transformer crash with the following traceback. This crash is already fixed in both branches. Will keep the bug open until Ganesha is able to test with the next build.

[6/7/15, 10:32:05 PM] Ganesha: i see this in the schema.err
[6/7/15, 10:32:06 PM] Ganesha: The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3655, in launch_arc transformer.process_poll_result(result) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3252, in process_poll_result func(idents, meta) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3029, in delete_virtual_machine_interface_virtual_machine VirtualMachineInterfaceST.delete(vmi_name) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 2118, in delete ...

Read more...

Revision history for this message
Sachin Bansal (sbansal) wrote :

This is the bug number for the schema transformer crash: 1462148

Revision history for this message
Ganesha HV (ganeshahv) wrote :
Download full text (3.3 KiB)

See the following traceback in the schema.err file :

/cs-shared-test/test_runs/nodeb8/2015_06_06_14_26_09/b8/contrail

The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3655, in launch_arc transformer.process_poll_result(result) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3252, in process_poll_result func(idents, meta) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 3029, in delete_virtual_machine_interface_virtual_machine VirtualMachineInterfaceST.delete(vmi_name) File "/usr/lib/python2.7/dist-packages/schema_transformer/to_bgp.py", line 2118, in delete cls._vn_dict[self.virtual_network].remove(vmi) ...

Read more...

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

Review in progress for https://review.opencontrail.org/11358
Submitter: Sachin Bansal (<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/11360
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/11358
Committed: http://github.org/Juniper/contrail-controller/commit/9bb41b17f294a4c23a3f8662ca01ded94b5d97c5
Submitter: Zuul
Branch: R2.20

commit 9bb41b17f294a4c23a3f8662ca01ded94b5d97c5
Author: Sachin Bansal <email address hidden>
Date: Sun Jun 7 23:07:30 2015 -0700

Variable 'self' was incorrectly used in a classmethod

Change-Id: I158a8728f66ffcb66c4aae0a66f5a2bfee00fa4e
Closes-Bug: 1462702

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

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

commit 435b612c4d9969953bade7a470453713302a060f
Author: Sachin Bansal <email address hidden>
Date: Sun Jun 7 23:07:30 2015 -0700

Variable 'self' was incorrectly used in a classmethod

Change-Id: I158a8728f66ffcb66c4aae0a66f5a2bfee00fa4e
Closes-Bug: 1462702
(cherry picked from commit 9bb41b17f294a4c23a3f8662ca01ded94b5d97c5)

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.