[2.1-Build 13] namespace for SNAT is created on TSN

Bug #1420031 reported by Daisuke Nakajima
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Rudra Rugge
R2.1
Fix Committed
High
Rudra Rugge

Bug Description

namespace for SNAT is created on TNS.

root@system003:~# ip netns
vrouter-e8a4f52c-1748-4b64-b0ad-0dddf356e23c

root@system003:~# cat /etc/contrail/contrail-vrouter-agent.conf | grep -v ^\# | grep -v ^$
[CONTROL-NODE]
[DEFAULT]
log_file=/var/log/contrail/contrail-vrouter-agent.log
log_level=SYS_NOTICE
log_local=1
agent_mode = tsn
[DISCOVERY]
server=10.84.50.1
max_control_nodes=1
[DNS]
[HYPERVISOR]
type=kvm
[FLOWS]
[METADATA]
[NETWORKS]
control_network_ip=10.84.50.3
[VIRTUAL-HOST-INTERFACE]
name=vhost0
ip=10.84.50.3/24
gateway=10.84.50.254
physical_interface=p4p1
[SERVICE-INSTANCE]
netns_command=/usr/bin/opencontrail-vrouter-netns

Tags: blocker config
Changed in juniperopenstack:
importance: Undecided → High
assignee: nobody → Rudra Rugge (rudrarugge)
tags: added: blocker
information type: Proprietary → Public
Revision history for this message
Daisuke Nakajima (dnakajima) wrote :

If Virtual machine traffic goes through namespace on TSN, the traffic will be dropped.

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

Reviewed: https://review.opencontrail.org/7607
Committed: http://github.org/Juniper/contrail-controller/commit/23766865e1364f3d1d1fe9108120617f51f66938
Submitter: Zuul
Branch: R2.1

commit 23766865e1364f3d1d1fe9108120617f51f66938
Author: ashoksingh <email address hidden>
Date: Thu Feb 19 14:25:40 2015 +0530

Send Vrouter mode type in Vrouter UVE
Partial-Bug: #1420031

Change-Id: I42a4299bb6a10466ad027073086545a4bca86b6e

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

Reviewed: https://review.opencontrail.org/7611
Committed: http://github.org/Juniper/contrail-controller/commit/d09eeec99d1a369eab3252c544a59bc1c064160c
Submitter: Zuul
Branch: R2.1

commit d09eeec99d1a369eab3252c544a59bc1c064160c
Author: Rudra Rugge <email address hidden>
Date: Thu Feb 19 15:03:33 2015 -0800

Check for hypervisor type before namespace launch

Scheduling of network namespace for SNAT and LBAAS needs to check the
virtual router mode before launching netns. The virtual router mode
should only be 'vrouter' and not a TOR node.

Change-Id: Ifc810622b8e0cbbf74980e6bb2b28b0003c08a7e
Closes-Bug: #1420031

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

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

commit 7a41c240c5e9f16e8be7e5ab319259117763d66d
Author: ashoksingh <email address hidden>
Date: Thu Feb 19 14:25:40 2015 +0530

Send Vrouter mode type in Vrouter UVE
Partial-Bug: #1420031

Change-Id: I42a4299bb6a10466ad027073086545a4bca86b6e

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

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

commit 302c6dae89488e8b018bce2db2b39fec8526d8de
Author: Rudra Rugge <email address hidden>
Date: Thu Feb 19 15:29:40 2015 -0800

Check for hypervisor type before namespace launch

Scheduling of network namespace for SNAT and LBAAS needs to check the
virtual router mode before launching netns. The virtual router mode
should only be 'vrouter' and not a TOR node.

Change-Id: Iebe7e9b738eeab277afa9b719cd0fa1eaa8919c3
Closes-Bug: #1420031

Changed in juniperopenstack:
status: New → Fix Committed
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.