port of router is down after set gateway to external net.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hybrid Cloud |
New
|
High
|
Haojie Jia |
Bug Description
Operation:
neutron net-create ci-ext-net --router:external True --provider:
neutron subnet-create ci-ext-net --name ci-ext-subnet --allocation-pool start=162.
neutron router-create --distribute False ci-ext-router
neutron router-gateway-set <CI_EXT_ROUTER_ID> <CI_EXT_NET_ID>
Then from qrouter to ping gateway: 162.3.110.1, it is not ok
# ip netns exec qrouter-
PING 162.3.110.1 (162.3.110.1) 56(84) bytes of data.
From 162.3.130.104: icmp_seq=2 Destination Host Unreachable
From 162.3.130.104: icmp_seq=3 Destination Host Unreachable
From 162.3.130.104: icmp_seq=4 Destination Host Unreachable
^C
--- 162.3.110.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
# neutron router-show a2825c15-
+------
| Field | Value |
+------
| admin_state_up | True |
| distributed | False |
| external_
| ha | False |
| id | a2825c15-
| name | ci-ext-router |
| routes | |
| status | ACTIVE |
| tenant_id | f1d64e22d48b46f
+------
# neutron port-list
+------
| id | name | mac_address | fixed_ips |
+------
| 187fd8dd-
| 1c2a2a8d-
| 2636ce17-
| 2b746202-
| 6ccc5ace-
| 72bdb8eb-
| 7a2d2964-
| 8c4f349d-
| a7475c8d-
| ae6cf189-
| da0f6329-
| e0ff72ab-
| e522abf1-
| f5731a32-
| fa516017-
+------
# neutron port-show 2b746202-
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | 804BE800-
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | normal |
| device_id | a2825c15-
| device_owner | network:
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "a4e05935-
| id | 2b746202-
| mac_address | fa:16:3e:7e:59:25 |
| name | |
| network_id | a65caeda-
| security_groups | |
| status | DOWN |
| tenant_id | |
+------
information type: | Public → Private Security |
information type: | Private Security → Public |
tags: | added: network |