Allow reassociate for associated FIPs

Bug #1518134 reported by Brad Pokorny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Wishlist
Emma Hogan

Bug Description

The Compute -> Access & Security -> Floating IPs tab should provide the Associate button for FIPs that are already associated. The nova CLI allows a user to associate an already associated FIP, with the behavior being that the FIP is transferred from one VM to another.

$ openstack --debug ip floating add [Already associated IP] [VM to reassign the FIP to]
....
REQ: curl -g -i -X POST https://nova-api.example.com/v2/[project ID]/servers/[Instance ID]/action -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1} [token hash]" -d '{"addFloatingIp": {"address": "[IP address]"}}'
"POST /v2/[project ID]/servers/[Instance ID]/action HTTP/1.1" 202 0
....

The single API call to nova associates the IP with the new VM and disassociates it from the old VM. The CLI behavior is especially useful for service IP's, where switching an IP from one VM to another quickly is important.

Brad Pokorny (bpokorny)
Changed in horizon:
assignee: nobody → Brad Pokorny (bpokorny)
Changed in horizon:
importance: Undecided → Wishlist
Matthias Runge (mrunge)
Changed in horizon:
status: New → Triaged
Changed in horizon:
assignee: Brad Pokorny (bpokorny) → xyuan (xiaoyuan)
status: Triaged → In Progress
tags: added: low-hanging-fruit
Changed in horizon:
assignee: xyuan (xiaoyuan) → nobody
status: In Progress → Triaged
milestone: none → next
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Rob Cresswell (<email address hidden>) on branch: master
Review: https://review.openstack.org/283223
Reason: Abandoned due to inactivity. Feel free to restore if you get time to work on it

Emma Hogan (emma4eyes)
Changed in horizon:
assignee: nobody → Emma Hogan (emma4eyes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/534966

Changed in horizon:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/535163

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Emma Hogan (<email address hidden>) on branch: master
Review: https://review.openstack.org/535163

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

Change abandoned by Akihiro Motoki (<email address hidden>) on branch: master
Review: https://review.openstack.org/534966
Reason: The original patch was restored. This is no longer needed.

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

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/283223
Reason: This review is > 4 months 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.

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.