Bug 737014 - Associating a public IP succeeds, except it doesn't
Summary: Associating a public IP succeeds, except it doesn't
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-nova
Version: 16
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-09-09 11:08 UTC by Mark McLoughlin
Modified: 2013-02-13 19:29 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-02-13 19:29:06 UTC
Type: ---

Attachments (Terms of Use)

Description Mark McLoughlin 2011-09-09 11:08:10 UTC
See this upstream report:


Doing e.g.

 $> nova-manage floating create
 $> euca-allocate-address
 $> euca-associate-address -i i-00000012

appears to succeed, but fails unless you actually fix the public interface in nova.conf to e.g.

 $> echo "--public_interface=em0" >> /etc/nova/nova.conf

Since ethX naming isn't the default in Fedora anymore, perhaps we should change the default to em0?

Comment 1 David Busby 2012-06-12 11:50:57 UTC
Found this to be the case when attempting to add a floating ip to a Fedora jeos image, the error returned:


2012-06-12 12:42:26 ERROR nova.rpc.amqp [req-621680cb-6ed6-4f7b-96ac-986b3b305faa 69ac541e44d143309b1135d5fac3c033 3438608ade1a4bd0809e16ba8ed5ba44] Returning exception Interface eth0 not found. to caller
2012-06-12 12:42:26 ERROR nova.rpc.amqp [req-621680cb-6ed6-4f7b-96ac-986b3b305faa 69ac541e44d143309b1135d5fac3c033 3438608ade1a4bd0809e16ba8ed5ba44] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/nova/rpc/amqp.py", line 253, in _process_data\n    rval = node_func(context=ctxt, **node_args)\n', '  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 257, in wrapped\n    return func(self, context, *args, **kwargs)\n', '  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 469, in associate_floating_ip\n    fixed_address, interface)\n', '  File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 497, in _associate_floating_ip\n    raise exception.NoFloatingIpInterface(interface=interface)\n', 'NoFloatingIpInterface: Interface eth0 not found.\n']

With this being the case, if the public_interface is changed in the nova.conf, wouldn't this remove the ability to spin both rhel 5/6 and fedora images?

Comment 2 David Busby 2012-06-12 11:52:25 UTC
Also note, whilst the cli succeeds the dashboard returns a http 500 error.

Comment 3 David Busby 2012-06-12 12:31:13 UTC
Ignore my comment on running rhel 5/6 and Fedora, was working on the assumption the error was related to the interface missing on the guest, where as this is the interface on the host, in which case if mixing hosts, in theory the configuration of nova.conf on each host should be sufficent.

However an interface can be specified against a floating ip (in essex at least), as such this could lead to issues when mixing network node host os; such if this is the case in a deploy would be worth noting that all network nodes should therfor use a common public interface naming convention where possible; or seperate pools maintained for this purpose?

Comment 4 Fedora End Of Life 2013-01-16 16:06:59 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 5 Fedora End Of Life 2013-02-13 19:29:10 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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