yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74993
[Bug 1795222] [NEW] [l3] router agent side gateway IP not changed if directly change IP address
Public bug reported:
ENV:
stable/queens
Problem:
if directly change router gateway port IP address, in l3 agent side, the gateway IP does not changed in router related namespace.
Testing is on the stable/queens, but master code is basicly same.
Reproduce:
(1) add new IP (172.16.200.30) for the gateway port:
openstack port set --fixed-ip ip-address=172.16.200.30 df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974
(2) remove the old gateway IP (172.16.100.30) from port:
openstack port unset --fixed-ip subnet=fda73661-1bcf-4916-b488-1d76dab7de36,ip-address=172.16.100.30 df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974
+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node4 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "datapath_type": "system", "ovs_hybrid_plug": false} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2018-09-29T09:08:44Z |
| description | |
| device_id | b8de2bba-1b68-416c-8a08-971908e36927 |
| device_owner | network:router_gateway |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "fda73661-1bcf-4916-b488-1d76dab7de36", "ip_address": "172.16.200.30"} |
| id | df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974 |
| mac_address | fa:16:3e:1f:3a:91 |
| name | |
| network_id | 1a65147c-e704-4b2f-bf51-be5bf4e3e5e1 |
| port_security_enabled | False |
| project_id | |
| qos_policy_id | |
| revision_number | 11 |
| security_groups | |
| status | ACTIVE |
| tags | |
| tenant_id | |
| updated_at | 2018-09-30T10:03:30Z |
+-----------------------+--------------------------------------------------------------------------------------+
Both (1) and (2) has no effects in the l3 agent qrouter-namespace or
(dvr snat-namespace).
** Affects: neutron
Importance: Undecided
Assignee: LIU Yulong (dragon889)
Status: New
** Changed in: neutron
Assignee: (unassigned) => LIU Yulong (dragon889)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1795222
Title:
[l3] router agent side gateway IP not changed if directly change IP
address
Status in neutron:
New
Bug description:
ENV:
stable/queens
Problem:
if directly change router gateway port IP address, in l3 agent side, the gateway IP does not changed in router related namespace.
Testing is on the stable/queens, but master code is basicly same.
Reproduce:
(1) add new IP (172.16.200.30) for the gateway port:
openstack port set --fixed-ip ip-address=172.16.200.30 df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974
(2) remove the old gateway IP (172.16.100.30) from port:
openstack port unset --fixed-ip subnet=fda73661-1bcf-4916-b488-1d76dab7de36,ip-address=172.16.100.30 df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974
+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node4 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "datapath_type": "system", "ovs_hybrid_plug": false} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2018-09-29T09:08:44Z |
| description | |
| device_id | b8de2bba-1b68-416c-8a08-971908e36927 |
| device_owner | network:router_gateway |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "fda73661-1bcf-4916-b488-1d76dab7de36", "ip_address": "172.16.200.30"} |
| id | df7c2bd7-3fa4-4ff3-9b09-a2f30f04d974 |
| mac_address | fa:16:3e:1f:3a:91 |
| name | |
| network_id | 1a65147c-e704-4b2f-bf51-be5bf4e3e5e1 |
| port_security_enabled | False |
| project_id | |
| qos_policy_id | |
| revision_number | 11 |
| security_groups | |
| status | ACTIVE |
| tags | |
| tenant_id | |
| updated_at | 2018-09-30T10:03:30Z |
+-----------------------+--------------------------------------------------------------------------------------+
Both (1) and (2) has no effects in the l3 agent qrouter-namespace or
(dvr snat-namespace).
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1795222/+subscriptions
Follow ups