Bug 976456 - [RFE] Allow floating IP to be assigned to a specific fixed address
Summary: [RFE] Allow floating IP to be assigned to a specific fixed address
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: Upstream M1
: 4.0
Assignee: Brent Eagles
QA Contact: David Ripton
URL: https://blueprints.launchpad.net/nova...
Whiteboard:
Depends On: 988939
Blocks: RHOS40RFE
TreeView+ depends on / blocked
 
Reported: 2013-06-20 15:29 UTC by Russell Bryant
Modified: 2019-09-09 14:01 UTC (History)
8 users (show)

Fixed In Version: openstack-nova-2013.2-0.8.b2.el6ost
Doc Type: Enhancement
Doc Text:
Previously, it was not possible to specify which address should be associated with the instance's floating IP address. With this enhancement, users are able to specify the fixed IP address that a floating IP should be mapped to.
Clone Of:
Environment:
Last Closed: 2013-12-20 00:07:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Comment 2 Scott Lewis 2013-08-01 17:25:19 UTC
Matched Priority to upstream

Comment 6 Brent Eagles 2013-12-18 20:54:40 UTC
Code matching patch is in current build (2013-12-16.1).

Feature appears to work. Test procedure followed:

- created two private networks as non-admin tenant
- ensure both are added to the router (neutron router-interface-add)
- booted a vm with the two networks, e.g.:
  nova boot vm2 --flavor 1 --image cirros \
       --nic net-id=83c72e42-50fd-4e9e-89fd-b55b05c93520 \
       --nic net-id=03c99ed8-d91e-47e9-a971-5e23f50aadda \
       --key-name labkey
- waited for VM to enter ACTIVE state and verify that both private IPs were allocated.
 eef17d12-ca58-48bb-adf1-731d043679ef | vm1  | ACTIVE | None       | Running     | labnet=192.168.90.2; mechnet=192.168.100.2 |

- allocated floating IP to default interface:
  nova add-floating-ip vm1 192.168.2.52

- ran nova list to verify assignment to first network listed, as expected for default behavior:
  eef17d12-ca58-48bb-adf1-731d043679ef | vm1  | ACTIVE | None       | Running     | labnet=192.168.90.2, 192.168.2.52; mechnet=192.168.100.2

- removed floating ip
  nova remove-floating-ip vm1 192.168.2.52

- ran nova list to verify floating IP is removed:
  eef17d12-ca58-48bb-adf1-731d043679ef | vm1  | ACTIVE | None       |   Running     | labnet=192.168.90.2; mechnet=192.168.100.2 |

- ran nova add-floating-ip with "--fixed-address" option:
  nova add-floating-ip --fixed-address 192.168.100.2 vm1 192.168.2.52

- ran nova list to verify floating IP is attached to proper interface (the second):
 eef17d12-ca58-48bb-adf1-731d043679ef | vm1  | ACTIVE | None       | Running     | labnet=192.168.90.2; mechnet=192.168.100.2, 192.168.2.52 |

Comment 9 errata-xmlrpc 2013-12-20 00:07:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.