You can only associating a floating IP when the server status is Active, but docs say available

Bug #1618883 reported by Anne Gentle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Sean Dague

Bug Description

In this doc http://developer.openstack.org/api-ref/compute/?expanded=add-associate-floating-ip-addfloatingip-action-detail

in Preconditions, the text says:
You can only add a floating IP address to the server when its status is available.

It should say

You can only add a floating IP address to the server when its status is ACTIVE.

Source file and line:
https://github.com/openstack/nova/blob/master/api-ref/source/servers-actions.inc#L52

Tags: api-ref
Anne Gentle (annegentle)
Changed in nova:
assignee: nobody → Anne Gentle (annegentle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
Anne Gentle (annegentle) wrote :

Turns out, you can also assign a Floating IP when the status is STOPPED. Any others?

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

Change abandoned by Anne Gentle (<email address hidden>) on branch: master
Review: https://review.openstack.org/363642
Reason: No way to find out the truth here.

Revision history for this message
Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in nova:
status: In Progress → New
assignee: Anne Gentle (annegentle) → nobody
Changed in nova:
assignee: nobody → Sean Dague (sdague)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/363642
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d90a35ef657fac8c89d11d70a05302e77492bedf
Submitter: Jenkins
Branch: master

commit d90a35ef657fac8c89d11d70a05302e77492bedf
Author: Anne Gentle <email address hidden>
Date: Wed Aug 31 08:08:49 2016 -0500

    API ref: associate floating IP requires Active status

    - There is no available status.

    Change-Id: If1a2696e63830ae38b4a0c4e2488fb16d33650d8
    Closes-bug: 1618883

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b3

This issue was fixed in the openstack/nova 16.0.0.0b3 development milestone.

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.