When create a fip with subnet_id and ip specified, the created fip won't be the ip specified

Bug #1719494 reported by Yang Li
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
New
Undecided
Unassigned

Bug Description

When create a fip with subnet_id and ip option specified, the created fip won't be the ip specified, in the original code, it will be replaced with subnet_id, and it will confuse users.For example:

#neutron floatingip-create --floating-ip-address 10.10.0.10 --subnet <subnet_id> <network>
then 10.10.0.2 was allocated, not 10.10.0.10

If only floating-ip-address is specified, the result is fine
#neutron floatingip-create --floating-ip-address 10.10.0.10 <network>
then 10.10.0.10 was allocated

Yang Li (yang-li)
Changed in neutron:
assignee: nobody → Yang Li (yang-li)
Yang Li (yang-li)
summary: When create a fip with subnet_id and ip specified, the created fip won't
- be the ip specified,
+ be the ip specified
Changed in neutron:
status: New → In Progress
Li Zhouzhou (lizhouzhou)
Changed in neutron:
assignee: Yang Li (yang-li) → Li Zhouzhou (lizhouzhou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/589030

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/pike)

Change abandoned by Li Zhouzhou (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/589030

Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

Changed in neutron:
assignee: Li Zhouzhou (lizhouzhou) → nobody
status: In Progress → New
tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Slawek Kaplonski (<email address hidden>) on branch: master
Review: https://review.openstack.org/506532
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Brian Haley (<email address hidden>) on branch: master
Review: https://review.opendev.org/506532
Reason: Already fixed in https://review.opendev.org/#/c/528535/

Revision history for this message
Brian Haley (brian-haley) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.