Router port: no dataplane update on change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi colleagues,
I'm using Heat to provision Neutron and faced the bug which is rather Neutron's than Heat's, since Neutron receives all information, provisions control plane ('openstack port/router show' gives updated config), but do nothing in dataplane.
My config, which I'm sending to Heat in order to change existing stack - https:/
Changes are: qnet2-gwport's ip_address changed from 1.1.1.1 to 1.1.1.2
Information about environment is below.
After I apply changes, I see everything is updated to 1.1.1.2 in 'openstack show' outputs:
$ openstack port show cbb4bb4b-
[ ... ]
| fixed_ips | ip_address=
| id | cbb4bb4b-
| device_id | 771bbc70-
$ openstack router show 771bbc70-
[ ... ]
| id | 771bbc70-
| interfaces_info | [{"subnet_id": "95f6bce5-
but actual ip address in netns is old:
# ip netns exec qrouter-
[ ... ]
265: qr-cbb4bb4b-7c: <BROADCAST,
link/ether d0:1c:a0:97:50:fb brd ff:ff:ff:ff:ff:ff
inet 1.1.1.1/24 brd 1.1.1.255 scope global qr-cbb4bb4b-7c
Logs with debug are available here - https:/
===
Resource Port cbb4bb4b-
Old fields: {'fixed_ips': [IPAllocation(
New fields: {'fixed_ips': [IPAllocation(
===
but later reports "Transaction caused no change do_commit" for all commands ("Running txn command") that openvswitch-agent runs.
ENVIRONMENT:
OS: Ubuntu 16.04.5 LTS (Xenial Xerus)
Kernel: 4.15.0-24-generic #26~16.04.1-Ubuntu SMP
Neutron: 2:12.0.
Openvswitch: 2.9.0-0ubuntu1~
Patches for bug 1776468 (https:/
Any help on this issue is highly appreciated. Any additional information is available upon request.
Thank you!
Interesting.
I tried the following:
$ openstack port set --no-fixed-ip --fixed-ip ip-address= 10.0.0. 22 342c052d- 2a51-42e2- 90ff-5e56a3d919 7c
$ openstack port list 2a51-42e2- 90ff-5e56a3d919 7c | | fa:16:3e:74:b7:bb | ip_address= '10.0.0. 22', subnet_ id='b15fee4f- b8f1-4945- 98be-6c44ba96bf 0e'
| 342c052d-
$ openstack router show router1 b8f1-4945- 98be-6c44ba96bf 0e", "ip_address": "10.0.0.22", "port_id": "342c052d- 2a51-42e2- 90ff-5e56a3d919 7c"}, {"subnet_id": "57ebbdbb- e7e7-40cc- a06d-fdf26c4892 14", "ip_address": "fdba:10:ba82::1", "port_id": "d9b77c8d- 3449-4a94- 8707-a301a2be18 e5"}] |
| interfaces_info | [{"subnet_id": "b15fee4f-
But I never saw the l3-agent get notified watching it's log, so the qr- interface was never changed.