FlatManager should not call driver.init_host()

Bug #723298 reported by Salvatore Orlando
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Salvatore Orlando

Bug Description

The init_host method in the abstract Network manager class invokes driver.init_host().
This causes linux_net.init_host() to be invoked even for the Flat Network manager.
linux_net.init_host() configures IP tables for floating IP forwarding. However floating IPs will not work in flat mode because the source natting will not work.

This configure is therefore probably unnecessary. The __init__ method in FlatManager might be overriden in order to not call super.__init__, and floating IP commands should raise NotImplemented() for now.

This bug report follows a discussion in question #144979 (https://answers.launchpad.net/nova/+question/144979)

Changed in nova:
assignee: nobody → Salvatore Orlando (salvatore-orlando)
Changed in nova:
status: New → Confirmed
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
Changed in nova:
status: Confirmed → In Progress
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
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.