Ask Your Question
0

internal error cannot create rule since ebtables tool is missing

asked 2011-02-09 02:02:53 -0600

lorinh gravatar image

I installed the bexar release of nova on a fresh instance of lucid running inside VMWare Fusion. Installation was via packages, using the ppa:nova-core/release repository.

Everything installed properly, but when I try to launch the ttylinux test image, it failed to come up. I got the following error reported by /var/log/nova/nova-compute.log:

2011-02-08 17:51:04,541 INFO nova.virt.libvirt_conn [-] instance instance-00000001: Creating image 2011-02-08 17:51:06,335 INFO nova.virt.libvirt_conn [-] instance instance-00000001: injecting key into image ami-vnm5880d libvir: Network Filtererror : internal error cannot create rule since ebtables tool is missing. 2011-02-08 17:51:11,652 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 116, in _wrap (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 410, in spawn (nova.exception): TRACE: self._conn.createXML(xml, 0) (nova.exception): TRACE: File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1289, in createXML (nova.exception): TRACE: if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self) (nova.exception): TRACE: libvirtError: internal error cannot create rule since ebtables tool is missing. (nova.exception): TRACE: 2011-02-08 17:51:11,657 ERROR nova.compute.manager [QJHBM06S7ATHYVS1NQQI anne IRT] instance 1: Failed to spawn (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 211, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 122, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: internal error cannot create rule since ebtables tool is missing. (nova.compute.manager): TRACE: libvir: QEMU error : Domain not found: no domain with matching name 'instance-00000001'

Note that ebtables is installed:

$ dpkg -s ebtables Package: ebtables Status: install ok installed Priority: optional Section: net Installed-Size: 428 Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Architecture: amd64 Version: 2.0.9.1-1 Depends: libc6 (>= 2.4) Recommends: iptables Conffiles: /etc/ethertypes 94bffde8f75a1b8f891fb780bfe15ca2 /etc/init.d/ebtables 2fa905905a24f358428b713e6708620b /etc/default/ebtables 4b49d534ccce3c32252e3ac080b8997a Description: Ethernet bridge frame table administration Ebtables is used to set up, maintain, and inspect the tables of Ethernet frame rules in the Linux kernel. It is analogous to iptables, but operates at the MAC layer rather than the IP layer. Original-Maintainer: Jochen Friedrich jochen@scram.de

$ sudo service ebtables status * Ebtables support available, number of installed rules [ OK ]

The only configuration change I made was to add the following line to /etc/nova/nova.conf: --libvirt_type=qemu

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-02-09 03:22:04 -0600

lorinh gravatar image

Problem was due to bug #684088. Restarting libvirt solved my problem:

sudo service libvirt-bin stop sudo service libvirt-bin start

edit flag offensive delete link more

Comments

How to disable the anti-spoofing in devstack?

SGPJ gravatar imageSGPJ ( 2014-04-01 18:08:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-09 02:02:53 -0600

Seen: 201 times

Last updated: Feb 09 '11