yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75715
[Bug 1795222] Re: [l3] router agent side gateway IP not changed if directly change IP address
Reviewed: https://review.openstack.org/606876
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8c17df7138744de567d1e45cfb604a0221db90ab
Submitter: Zuul
Branch: master
commit 8c17df7138744de567d1e45cfb604a0221db90ab
Author: LIU Yulong <liuyul@xxxxxxxxxxxxxxx>
Date: Mon Oct 1 09:21:26 2018 +0800
Notify router_update after directly gateway IP change
If directly change router gateway port IP address, the gateway IP
does not changed in router related namespace in l3 agent side. This
patch adds a method to catch a 'PORT' IP change event, and notify
the L3 agent.
Closes-Bug: #1795222
Change-Id: If276a7613c156f8c826967c9c8cbd6f2a8d32674
** Changed in: neutron
Status: In Progress => Fix Released
--
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:
Fix Released
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
References