Snat not working Build 38 Ubuntu havana
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R1.1 |
Fix Released
|
High
|
Rudra Rugge | |||
Trunk |
Fix Released
|
High
|
Rudra Rugge |
Bug Description
Build 38 Ubuntu havana
Setup Details :
env.roledefs = {
'all': [host1, host2, host3, host4, host5],
'cfgm': [host1, host2, host3],
'openstack': [host2],
'control': [host2, host3],
'compute': [host4, host5],
'collector': [host1],
'webui': [host1],
'database': [host1, host2],
'build': [host_build],
}
env.hostnames = {
'all': ['nodec6', 'nodec7', 'nodec8', 'nodec9', 'nodec10']
}
Steps followed :
1) Create an external virtual network :
root@nodec6:~# neutron net-show bd644b47-
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | TestRouters-
| | ext_vn-38830613 |
| contrail:
| contrail:
| id | bd644b47-
| name | ext_vn-38830613 |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | e5f3fb32-
| tenant_id | d403bd19013e42e
+------
2) Create a private virtual network :
root@nodec6:~# neutron net-show 036b7881-
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | TestRouters-
| | vn_private-33640881 |
| contrail:
| contrail:
| id | 036b7881-
| name | vn_private-33640881 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | eed56613-
| tenant_id | d403bd19013e42e
| vpc:route_table | [u'default-domain', u'TestRouters-
+------
3) Add a router with external gateway set to "ext_vn-38830613 " and add "vn_private-
root@nodec6:~# neutron router-show 15ecac84-
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | TestRouters-
| | router1-96272146 |
| external_
| id | 15ecac84-
| name | router1-96272146 |
| status | ACTIVE |
| tenant_id | d403bd19013e42e
+------
4) Launch a vm in "vn_private-
Ping Fails
5)root@nodec6:~# neutron net-list
+------
| id | name | subnets |
+------
| 7b07f054-
| 89924693-
| f98956b8-
| bd644b47-
| 33b3e89e-
| 036b7881-
+------
6)No snat service instance gets launched on compute nodes :
root@nodec9:~# ip netns list
root@nodec9:~#
root@nodec10:~# ip netns list
root@nodec10:~#
root@nodec10:~#
7)root@nodec6:~# neutron router-list
+------
| id | name | external_
+------
| 15ecac84-
+------
8)Snat service instance is not getting launched with correct interfaces :
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | nobody → Rudra Rugge (rudrarugge) |
tags: | added: blocker neutronapi snat |
R1.10: /github. com/Juniper/ contrail- controller/ commit/ 2cde09024391c86 3684778e6facdb9 75af16e700
https:/
Mainline: /github. com/Juniper/ contrail- controller/ commit/ 507c3b7b541c453 a382e6f6a30244e ec621cbc13
https:/