Attaching a port from shared VN to the router is not showing the association
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Prakash Bailkeri | ||
R1.1 |
Fix Committed
|
High
|
Prakash Bailkeri |
Bug Description
Build 1.06-47
I have two projects : public and project1
public project has a shared VN public_vn
In project1, i create a VN net2 with subnet 70.0.0.0/24
In project1, I create a router with one port in each of these vns net2 and public_vn
Now, router-port-list of the router shows only 1 port , i.e. one from net2 , but does not show the port from public_vn
In public VN , there is no router present anyway, so the router-port is not seen.
root@nodec34:~# source p1u1rc
root@nodec34:~# neutron router-port-list rtr1
+------
| id | name | mac_address | fixed_ips |
+------
| 4e90921f-
+------
root@nodec34:~#
curl -i http://
DEBUG: neutronclient.
root@nodec34:~# neutron router-show rtr1
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | project1 |
| | rtr1 |
| external_
| id | 0f865409-
| name | rtr1 |
| status | ACTIVE |
| tenant_id | bcbac3687162482
+------
root@nodec34:~#
root@nodec34:~# source u1rc
root@nodec34:~# neutron router-list
root@nodec34:~#
root@nodec34:~# neutron port-list
+------
| id | name | mac_address | fixed_ips |
+------
| 4993917c-
| 80743572-
+------
root@nodec34:~# neutron port-show 80743572-
+------
| Field | Value |
+------
| admin_state_up | True |
| device_id | 0f865409-
| device_owner | network:
| fixed_ips | {"subnet_id": "c5f03354-
| id | 80743572-
| mac_address | 02:80:74:35:72:95 |
| name | 80743572-
| network_id | 70534c8c-
| port_security_
| security_groups | |
| status | ACTIVE |
| tenant_id | 94a654cbd04a472
+------
root@nodec34:~# (source /etc/contrail/
+------
| id | name | enabled |
+------
| 3efa69ee0574412
| f3fe85e3ff314b0
| db8ba4300aee4b7
| bcbac3687162482
| aed7d6245bbe45f
| af36fbda1075477
| 94a654cbd04a472
| 98d3b3a7d963449
+------
root@nodec34:~#
root@nodec34:~# cat p1u1rc
export OS_USERNAME=p1u1
export OS_PASSWORD=p1u1
export OS_TENANT_
export OS_AUTH_URL=http://
export OS_NO_CACHE=1
root@nodec34:~# cat u1rc
export OS_USERNAME=u1
export OS_PASSWORD=u1
export OS_TENANT_
export OS_AUTH_URL=http://
export OS_NO_CACHE=1
root@nodec34:~#
information type: | Proprietary → Public |
tags: | added: neutronapi |
Changed in juniperopenstack: | |
milestone: | r1.06-fcs → r1.10-fcs |
I checked this and even though our plugin returns both the ports, neutron itself is dropping one of the ports because it doesn't match the tenant id from context. Could you please try this on devstack and let me know the behavior?