In a router-gateway-attached network, tap interfaces of vms get deleted immediately

Bug #1402603 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Hari Prasad Killi
R2.0
Fix Committed
High
Hari Prasad Killi

Bug Description

R2.0 Build 16 Multi-node Ubuntu 14.04 setup

Was trying the below script :
scripts.neutron.test_routers.TestRouters.test_basic_snat_behavior

It was seen that when router-gateway was enabled, when a VM is launched in a network attached to the router, the tap interface gets created, but gets deleted immediately in about a min

Praveen, Hari know the issue. This looks related to recent agent audit-related changes.

tags: added: blocker
summary: - In a router-gateway-attached network, tap interfaces of vms gets deleted
+ In a router-gateway-attached network, tap interfaces of vms get deleted
immediately
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/5658
Committed: http://github.org/Juniper/contrail-controller/commit/c9e0cbe0581be661c9ce6c3c4cdaefddc304b613
Submitter: Zuul
Branch: R2.0

commit c9e0cbe0581be661c9ce6c3c4cdaefddc304b613
Author: Hari <email address hidden>
Date: Mon Dec 15 07:59:42 2014 -0800

In ContrailVRouterApi, do a connect to the Agent only when the add port / delete port request comes from nova_contrail_vif.
For other requests, do not invoke connect. In case we do a connect and do not send complete vif list, Agent removes them
upon audit. Also, set port_type to NameSpacePort, if it isnt specified.

Closes-bug:#1402603
(cherry picked from commit d7ed3d4a4f1cb94d56d0e495a7d22ad2199bf565)

Change-Id: Ic377d88080ef204026541b3b179e445a05925d2c

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

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

commit 15c791ab545a8bd386d180d95cc1c5c568f8c31f
Author: Hari <email address hidden>
Date: Mon Dec 15 07:59:42 2014 -0800

In ContrailVRouterApi, do a connect to the Agent only when the add port / delete port request comes from nova_contrail_vif.
For other requests, do not invoke connect. In case we do a connect and do not send complete vif list, Agent removes them
upon audit. Also, set port_type to NameSpacePort, if it isnt specified.

Closes-bug:#1402603

Change-Id: Ic377d88080ef204026541b3b179e445a05925d2c
(cherry picked from commit c9e0cbe0581be661c9ce6c3c4cdaefddc304b613)

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
Hari Prasad Killi (haripk) wrote :
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.