Public bug reported:
When the content of the float IP port forwarding rule is updated, if the
updated internal_ Ip_ Address and internal_ port_ If the IP address
corresponding to the ID does not match or does not belong to the same route,
the HTTP return code 200 does not report an error;
The effect of the implementation steps is as follows:
1:2020-09-22 13:57:25.603 28 INFO neutron.wsgi
[req-d325e3a2-98b8-4862-b0c6-fbf055c55315 3b68afd339ef43ed97c1e5b145a3961b
4bf85834786143a28c75239bd52add52 - default default] 10.180.205.242 "PUT
/v2.0/floatingips/65f3ec87-b937-4485-a205-e4946acbf745/port_forwardings/622041f5-981a-4cef-bd27-c5009c419572
HTTP/1.1" status: 200 len: 428 time: 0.9814250
2:{"port_forwarding": {"protocol": "udp", "internal_ip_address":
"192.168.190.30", "internal_port": 37, "internal_port_id":
"fffd97be-024f-4213-bc94-dbf89502a8bc", "external_port": 79, "id":
"622041f5-981a-4cef-bd27-c5009c419572"}}
200
3:floatingip-show 65f3ec87-b937-4485-a205-e4946acbf745
+---------------------+--------------------------------------------------------------------------------------------------------+
| Field | Value
|
+---------------------+--------------------------------------------------------------------------------------------------------+
| created_at | 2020-09-17T06:05:36Z
|
| description |
|
| fixed_ip_address |
|
| floating_ip_address | 192.168.10.31
|
| floating_network_id | c2debdad-5c43-455c-8c1c-1105b59bb941
|
| id | 65f3ec87-b937-4485-a205-e4946acbf745
|
| port_details |
|
| port_forwardings | {"external_port": 77, "internal_port": 44, "protocol":
"tcp", "internal_ip_address": "192.168.190.10"} |
| | {"external_port": 79, "internal_port": 37, "protocol":
"udp", "internal_ip_address": "192.168.190.30"} |
| port_id |
|
| project_id | 4bf85834786143a28c75239bd52add52
|
| qos_policy_id |
|
| revision_number | 23
|
| router_id | b9c183d7-44d7-4608-a47a-b91cbe773c09
|
| status | ACTIVE
|
| tags |
|
| tenant_id | 4bf85834786143a28c75239bd52add52
|
| updated_at | 2020-09-22T05:57:25Z
|
3:(neutron) port-show fffd97be-024f-4213-bc94-dbf89502a8bc
+-----------------------+---------------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+---------------------------------------------------------------------------------------+
| admin_state_up | True
|
| allowed_address_pairs |
|
| binding:host_id | compute01
|
| binding:profile | {}
|
| binding:vif_details | {"port_filter": true, "datapath_type": "netdev",
"ovs_hybrid_plug": true} |
| binding:vif_type | ovs
|
| binding:vnic_type | normal
|
| created_at | 2020-09-17T01:35:35Z
|
| description |
|
| device_id | 152452f9-79ab-4564-bd36-53bce2053c53
|
| device_owner | compute:nova
|
| extra_dhcp_opts |
|
| fixed_ips | {"subnet_id": "ffa69bb5-875b-4bc1-bc3b-dcf4b48be4ee",
"ip_address": "192.168.190.22"} |
| id | fffd97be-024f-4213-bc94-dbf89502a8bc
|
| mac_address | fa:16:3e:cf:59:27
|
| name |
|
| network_id | 10753f00-9b0d-4b06-b564-771e292bd85d
|
| port_security_enabled | True
|
| project_id | 4bf85834786143a28c75239bd52add52
|
| qos_policy_id |
|
| revision_number | 23
|
| security_groups | 7a393a20-2f76-4c52-b335-b7b73d7c110e
** Affects: neutron
Importance: Undecided
Assignee: zhangtongjian (zhangtongjian)
Status: New
** Changed in: neutron
Assignee: (unassigned) => zhangtongjian (zhangtongjian)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1896571
Title:
When forwarding rules of floating IP port are updated, internal_ Ip_
Address and internal_ port_ ID mismatch
Status in neutron:
New
Bug description:
When the content of the float IP port forwarding rule is updated, if the
updated internal_ Ip_ Address and internal_ port_ If the IP address
corresponding to the ID does not match or does not belong to the same route,
the HTTP return code 200 does not report an error;
The effect of the implementation steps is as follows:
1:2020-09-22 13:57:25.603 28 INFO neutron.wsgi
[req-d325e3a2-98b8-4862-b0c6-fbf055c55315 3b68afd339ef43ed97c1e5b145a3961b
4bf85834786143a28c75239bd52add52 - default default] 10.180.205.242 "PUT
/v2.0/floatingips/65f3ec87-b937-4485-a205-e4946acbf745/port_forwardings/622041f5-981a-4cef-bd27-c5009c419572
HTTP/1.1" status: 200 len: 428 time: 0.9814250
2:{"port_forwarding": {"protocol": "udp", "internal_ip_address":
"192.168.190.30", "internal_port": 37, "internal_port_id":
"fffd97be-024f-4213-bc94-dbf89502a8bc", "external_port": 79, "id":
"622041f5-981a-4cef-bd27-c5009c419572"}}
200
3:floatingip-show 65f3ec87-b937-4485-a205-e4946acbf745
+---------------------+--------------------------------------------------------------------------------------------------------+
| Field | Value
|
+---------------------+--------------------------------------------------------------------------------------------------------+
| created_at | 2020-09-17T06:05:36Z
|
| description |
|
| fixed_ip_address |
|
| floating_ip_address | 192.168.10.31
|
| floating_network_id | c2debdad-5c43-455c-8c1c-1105b59bb941
|
| id | 65f3ec87-b937-4485-a205-e4946acbf745
|
| port_details |
|
| port_forwardings | {"external_port": 77, "internal_port": 44,
"protocol": "tcp", "internal_ip_address": "192.168.190.10"} |
| | {"external_port": 79, "internal_port": 37,
"protocol": "udp", "internal_ip_address": "192.168.190.30"} |
| port_id |
|
| project_id | 4bf85834786143a28c75239bd52add52
|
| qos_policy_id |
|
| revision_number | 23
|
| router_id | b9c183d7-44d7-4608-a47a-b91cbe773c09
|
| status | ACTIVE
|
| tags |
|
| tenant_id | 4bf85834786143a28c75239bd52add52
|
| updated_at | 2020-09-22T05:57:25Z
|
3:(neutron) port-show fffd97be-024f-4213-bc94-dbf89502a8bc
+-----------------------+---------------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+---------------------------------------------------------------------------------------+
| admin_state_up | True
|
| allowed_address_pairs |
|
| binding:host_id | compute01
|
| binding:profile | {}
|
| binding:vif_details | {"port_filter": true, "datapath_type": "netdev",
"ovs_hybrid_plug": true} |
| binding:vif_type | ovs
|
| binding:vnic_type | normal
|
| created_at | 2020-09-17T01:35:35Z
|
| description |
|
| device_id | 152452f9-79ab-4564-bd36-53bce2053c53
|
| device_owner | compute:nova
|
| extra_dhcp_opts |
|
| fixed_ips | {"subnet_id":
"ffa69bb5-875b-4bc1-bc3b-dcf4b48be4ee", "ip_address": "192.168.190.22"} |
| id | fffd97be-024f-4213-bc94-dbf89502a8bc
|
| mac_address | fa:16:3e:cf:59:27
|
| name |
|
| network_id | 10753f00-9b0d-4b06-b564-771e292bd85d
|
| port_security_enabled | True
|
| project_id | 4bf85834786143a28c75239bd52add52
|
| qos_policy_id |
|
| revision_number | 23
|
| security_groups | 7a393a20-2f76-4c52-b335-b7b73d7c110e
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1896571/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp