[l3][port_forwarding] update floating IP (has binding port_forwarding) with empty {} input will lose router_id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
LIU Yulong |
Bug Description
ENV: devstack master
Step to reproduce:
1. create floating IP
2. create port forwarding for that floating IP
3. update floating IP with empty dict:
curl -g -i -X PUT http://
-H "User-Agent: python-
-H "X-Auth-Token: <token>" \
-d '{"floatingip": {}}'
Then this floating IP will turn to a bad status, it can not be managed anymore. Every action on this floating IP will get a neutron-server ERROR log.
Furturemore only updating floating IP qos_policy_id can also result such behavior.
curl -g -i -X PUT http://
-H "User-Agent: python-
-H "X-Auth-Token: <token>" \
-d '{"floatingip": {"qos_policy_id": "d9d3639e-
Changed in neutron: | |
importance: | Undecided → Medium |
tags: | added: l3-ipam-dhcp |
Fix proposed to branch: master /review. openstack. org/613543
Review: https:/