This is correct -- firewall does not work with baremetal, and really
doesn't make sense. The wiki (updated just recently) now mentions that
you must use NoopFirewallDriver with baremetal driver.

** Tags added: baremetal

** Changed in: nova
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1142846

Title:
  Nova baremetal compute does not start when IPTables firewalll is used

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  When nova compute is configured with IPTables firewall, nova-compute
  fails to start

  [Use firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  fails. Changing it to firewall_driver :
  nova.virt.firewall.NoopFirewallDriver works ]

  
  root# /usr/local/bin/nova-compute --debug
  2013-02-11 15:38:30 19935 INFO nova.virt.driver [-] Loading compute driver 
'nova.virt.baremetal.driver.BareMetalDriver'
  2013-02-11 15:38:30 19935 INFO nova.manager [-] Skipping periodic task 
_periodic_update_dns because its interval is negative
  2013-02-11 15:38:30 19935 CRITICAL nova [-] __init__() takes at least 2 
arguments (1 given)
  2013-02-11 15:38:30 19935 TRACE nova Traceback (most recent call last):
  2013-02-11 15:38:30 19935 TRACE nova   File "/usr/local/bin/nova-compute", 
line 5, in <module>
  2013-02-11 15:38:30 19935 TRACE nova     
pkg_resources.run_script('nova==2013.1', 'nova-compute')
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
  2013-02-11 15:38:30 19935 TRACE nova     
self.require(requires)[0].run_script(script_name, ns)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
  2013-02-11 15:38:30 19935 TRACE nova     execfile(script_filename, namespace, 
namespace)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/EGG-INFO/scripts/nova-compute",
 line 58, in <module>
  2013-02-11 15:38:30 19935 TRACE nova     topic=CONF.compute_topic)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/service.py", 
line 511, in create
  2013-02-11 15:38:30 19935 TRACE nova     
periodic_interval_max=periodic_interval_max)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/service.py", 
line 396, in __init__
  2013-02-11 15:38:30 19935 TRACE nova     self.manager = 
manager_class(host=self.host, *args, **kwargs)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/compute/manager.py",
 line 307, in __init__
  2013-02-11 15:38:30 19935 TRACE nova     self.driver = 
driver.load_compute_driver(self.virtapi, compute_driver)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/virt/driver.py",
 line 835, in load_compute_driver
  2013-02-11 15:38:30 19935 TRACE nova     virtapi)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/openstack/common/importutils.py",
 line 53, in import_object_ns
  2013-02-11 15:38:30 19935 TRACE nova     return 
import_class(import_str)(*args, **kwargs)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/virt/baremetal/driver.py",
 line 130, in __init__
  2013-02-11 15:38:30 19935 TRACE nova     default=DEFAULT_FIREWALL_DRIVER)
  2013-02-11 15:38:30 19935 TRACE nova   File 
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/virt/firewall.py",
 line 49, in load_driver
  2013-02-11 15:38:30 19935 TRACE nova     return fw_class(*args, **kwargs)
  2013-02-11 15:38:30 19935 TRACE nova TypeError: __init__() takes at least 2 
arguments (1 given)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1142846/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to