Ask Your Question
0

libvirtError: this function is not supported by the connection driver: virNWFilterDefineXML

asked 2011-09-05 13:30:56 -0500

micromanc3r gravatar image

My vm fails to spawn. nova-commpute.log:

2011-09-05 15:21:57,304 DEBUG nova.virt.libvirt_conn [-] instance instance-0000001b: starting toXML method from (pid=8723) to_xml /usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py:996 2011-09-05 15:21:57,351 DEBUG nova.virt.libvirt_conn [-] instance instance-0000001b: finished toXML method from (pid=8723) to_xml /usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py:1041 2011-09-05 15:21:57,395 INFO nova [-] called setup_basic_filtering in nwfilter 2011-09-05 15:21:57,395 INFO nova [-] ensuring static filters 2011-09-05 15:21:57,400 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 120, in _wrap (nova.exception): TRACE: return f(args, kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 614, in spawn (nova.exception): TRACE: self.firewall_driver.setup_basic_filtering(instance, network_info) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1967, in setup_basic_filtering (nova.exception): TRACE: return self.nwfilter.setup_basic_filtering(instance, network_info) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1732, in setup_basic_filtering (nova.exception): TRACE: self._ensure_static_filters() (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1748, in _ensure_static_filters (nova.exception): TRACE: 'allow-dhcp-server'])) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1823, in _define_filter (nova.exception): TRACE: tpool.execute(self._conn.nwfilterDefineXML, xml) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/tpool.py", line 75, in tworker (nova.exception): TRACE: rv = meth(args,kwargs) (nova.exception): TRACE: File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1815, in nwfilterDefineXML (nova.exception): TRACE: if ret is None:raise libvirtError('virNWFilterDefineXML() failed', conn=self) (nova.exception): TRACE: libvirtError: this function is not supported by the connection driver: virNWFilterDefineXML (nova.exception): TRACE: 2011-09-05 15:21:57,400 ERROR nova.compute.manager [XUV80UNK0RQT0OL51VP7 xsliacky proj1] Instance '27' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, 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 126, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: this function is not supported by the connection driver: virNWFilterDefineXML (nova.compute.manager): TRACE:

If someone has a clue what may cause this, pls help. Thanks. ms

edit retag flag offensive close merge delete

15 answers

Sort by ยป oldest newest most voted
0

answered 2011-09-07 09:10:03 -0500

micromanc3r gravatar image

sry xen hypervisor is 2.6.32-5

edit flag offensive delete link more
0

answered 2011-09-05 20:41:05 -0500

micromanc3r gravatar image

all three are installed but I did not do anything with them... do I have to set them up somehow? thx

edit flag offensive delete link more
0

answered 2011-09-06 07:40:52 -0500

micromanc3r gravatar image

I tried to upgrade libvirt to 0.9.4 but didn't help

edit flag offensive delete link more
0

answered 2011-09-06 14:17:55 -0500

blamar gravatar image

Can you provide the nova.conf you're using?

edit flag offensive delete link more
0

answered 2011-09-05 14:42:26 -0500

soren gravatar image

I suspect you're using a very old version of libvirt? Which version are you using?

edit flag offensive delete link more
0

answered 2011-09-05 15:03:05 -0500

micromanc3r gravatar image

I'm using 0.9.0

edit flag offensive delete link more
0

answered 2011-09-05 19:19:30 -0500

soren gravatar image

I'm going to guess you're missing either ebtables, iptables or gawk. Can you check to make sure they're installed, and if either of them aren't, install it and restart libvirtd and see if that helps.

edit flag offensive delete link more
0

answered 2011-09-07 08:12:21 -0500

micromanc3r gravatar image

compute node: --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose --libvirt_type=xen

--network_manager=nova.network.manager.FlatManager --num_networks=1 --flat_network_bridge=xenbr0

--s3_host=148.251.17.192 --rabbit_host=148.251.17.192 --cc_host=148.251.17.192 --ec2_url=http://148.251.17.192:8773/services/Cloud --fixed_range=148.251.17.128/26 --network_size=8 --FAKE_subdomain=ec2 --routing_source_ip=148.251.17.180 --sql_connection=mysql://root:lopta@148.251.17.192/nova --glance_host=148.251.17.192 --image_service=nova.image.glance.GlanceImageService

controller: --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose

--network_manager=nova.network.manager.FlatManager --num_networks=1 --flat_network_bridge=xenbr0

--s3_host=148.251.17.192 --rabbit_host=148.251.17.192 --cc_host=148.251.17.192 --ec2_url=http://148.251.17.192:8773/services/Cloud --FAKE_subdomain=ec2 --routing_source=148.251.17.192 --sql_connection=mysql://root:lopta@148.251.17.192/nova --glance_host=148.251.17.192 --image_service=nova.image.glance.GlanceImageService --iscsi_ip_prefix=148.251.17

--fixed_range=148.251.17.128/26 --network_size=8

edit flag offensive delete link more
0

answered 2011-09-07 08:34:06 -0500

micromanc3r gravatar image

controller is ubuntu 10.04.3 server and computing node is Debian squeeze with xen hypervisor 3.0.0-1

edit flag offensive delete link more
0

answered 2011-09-07 09:18:50 -0500

soren gravatar image

Oh, Xen! That's probably why. Let me check up on that.

edit flag offensive delete link more

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-09-05 13:30:56 -0500

Seen: 344 times

Last updated: Sep 14 '11