← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1081461] Re: libvir: Network Filter error : Network filter not found: Could not find filter

 

This bug lacks the necessary information to effectively reproduce and
fix it, therefore it has been closed. Feel free to reopen the bug by
providing the requested information and set the bug status back to
''New''.

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1081461

Title:
  libvir: Network Filter error : Network filter not found: Could not
  find filter

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  With installation latest code by devstack, this error happened when I
  launched a compute instance from horizion. It blocked me to launch any
  VM. I checked the directory of /etc/libvirt/nwfilter and could not
  find that file name 'nova-instance-instance-00000002-fa163e997fca.xml'
  thrown in the error log.

  
  =================ls /etc/libvirt/nwfilter/=======================

  drwxr-xr-x 2 root root 4096  9月 28 14:52 .
  drwxr-xr-x 5 root root 4096  4月 25  2012 ..
  -rw-r--r-- 1 root root   92  4月 17  2012 allow-arp.xml
  -rw-r--r-- 1 root root  841  4月 17  2012 allow-dhcp-server.xml
  -rw-r--r-- 1 root root  695  4月 17  2012 allow-dhcp.xml
  -rw-r--r-- 1 root root  100  4月 17  2012 allow-incoming-ipv4.xml
  -rw-r--r-- 1 root root   94  4月 17  2012 allow-ipv4.xml
  -rw-r--r-- 1 root root  947  4月 17  2012 clean-traffic.xml
  -rw-r--r-- 1 root root  353  4月 17  2012 no-arp-ip-spoofing.xml
  -rw-r--r-- 1 root root  284  4月 17  2012 no-arp-mac-spoofing.xml
  -rw-r--r-- 1 root root  142  4月 17  2012 no-arp-spoofing.xml
  -rw-r--r-- 1 root root  290  4月 17  2012 no-ip-multicast.xml
  -rw-r--r-- 1 root root  471  4月 17  2012 no-ip-spoofing.xml
  -rw-r--r-- 1 root root  269  4月 17  2012 no-mac-broadcast.xml
  -rw-r--r-- 1 root root  308  4月 17  2012 no-mac-spoofing.xml
  -rw-r--r-- 1 root root  247  4月 17  2012 no-other-l2-traffic.xml
  -rw-r--r-- 1 root root  121  4月 17  2012 no-other-rarp-traffic.xml
  -rw------- 1 root root  677  9月 17 16:30 nova-allow-dhcp-server.xml
  -rw------- 1 root root  499  9月 17 16:30 nova-base.xml
  -rw------- 1 root root  442  5月 14  2012 nova-instance-instance-00000001-fa163e108215.xml
  -rw------- 1 root root  442  9月 17 16:30 nova-instance-instance-00000001-fa163e177de4.xml
  -rw------- 1 root root  442  5月 30 18:13 nova-instance-instance-00000001-fa163e427f83.xml
  -rw------- 1 root root  442  5月 14  2012 nova-instance-instance-00000001-fa163e4f50fe.xml
  -rw------- 1 root root  442  5月 14  2012 nova-instance-instance-00000001-fa163e777024.xml
  -rw------- 1 root root  442  5月 15  2012 nova-instance-instance-00000001-fa163e7ac2f8.xml
  -rw------- 1 root root  442  9月 28 14:52 nova-instance-instance-00000002-fa163e20af42.xml
  -rw------- 1 root root  442  5月 30 17:34 nova-instance-instance-00000002-fa163e293539.xml
  -rw------- 1 root root  442  5月 30 17:46 nova-instance-instance-00000003-fa163e0eec7f.xml
  -rw------- 1 root root  442  5月 30 18:14 nova-instance-instance-00000004-fa163e396ce7.xml
  -rw------- 1 root root  442  5月 30 13:25 nova-instance-instance-00000004-fa163e7c2035.xml
  -rw------- 1 root root  442  5月 30 13:25 nova-instance-instance-00000005-fa163e642424.xml
  -rw------- 1 root root  461  9月 17 16:30 nova-nodhcp.xml
  -rw------- 1 root root  378  9月 17 16:30 nova-vpn.xml
  -rw-r--r-- 1 root root  584  4月 17  2012 qemu-announce-self-rarp.xml
  -rw-r--r-- 1 root root  432  4月 17  2012 qemu-announce-self.xml
  =================ls /etc/libvirt/nwfilter/=======================

  ===========================nova compute log==============================
  libvir: Network Filter error : Network filter not found: Could not find filter 'nova-instance-instance-00000002-fa163e997fca'
  2012-11-21 15:25:03 ERROR nova.compute.manager [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Instance failed to spawn
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Traceback (most recent call last):
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/compute/manager.py", line 792, in _spawn
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     block_device_info)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/exception.py", line 115, in wrapped
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     temp_level, payload)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     self.gen.next()
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     return f(*args, **kw)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1082, in spawn
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     block_device_info)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1901, in _create_domain_and_network
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     domain = self._create_domain(xml)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1880, in _create_domain
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     domain.createWithFlags(launch_flags)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 187, in doit
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 147, in proxy_call
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     rv = execute(f,*args,**kwargs)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 76, in tworker
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     rv = meth(*args,**kwargs)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 581, in createWithFlags
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] libvirtError: Network filter not found: Could not find filter 'nova-instance-instance-00000002-fa163e997fca'
  2012-11-21 15:25:03 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] 
  2012-11-21 15:25:03 DEBUG nova.openstack.common.lockutils [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] Got semaphore "compute_resources" for method "abort"... from (pid=3453) inner /opt/stack/no
  va/nova/openstack/common/lockutils.py:186
  2012-11-21 15:25:03 DEBUG nova.compute.claims [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Aborting claim: [Claim: 512 MB memory, 0 GB disk, 1 VC
  PUS] from (pid=3453) abort /opt/stack/nova/nova/compute/claims.py:92
  2012-11-21 15:25:03 DEBUG nova.compute.manager [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Deallocating network for instance from (pid=3453) _de
  allocate_network /opt/stack/nova/nova/compute/manager.py:818
  2012-11-21 15:25:03 DEBUG nova.network.quantumv2.api [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] deallocate_for_instance() for s2 from (pid=3453) deallocate_for_instance /opt/stack/nova/nova/ne
  twork/quantumv2/api.py:172
  2012-11-21 15:25:04 ERROR nova.compute.manager [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Error trying to reschedule
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] Traceback (most recent call last):
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/compute/manager.py", line 593, in _reschedule_or_reraise
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     task_state)
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]   File "/opt/stack/nova/nova/compute/manager.py", line 611, in _reschedule
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55]     retry = filter_properties.get('retry', None)
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] AttributeError: 'unicode' object has no attribute 'get'
  2012-11-21 15:25:04 TRACE nova.compute.manager [instance: 9e3903bc-cc15-4d47-abac-00053de30e55] 
  2012-11-21 15:25:04 DEBUG nova.openstack.common.lockutils [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] Got semaphore "compute_resources" for method "update_usage"... from (pid=3453) inner /opt/s
  tack/nova/nova/openstack/common/lockutils.py:186
  2012-11-21 15:25:04 DEBUG nova.openstack.common.lockutils [req-d7aa8402-f167-4747-9b13-46c2ace98c86 admin admin] Got semaphore "compute_resources" for method "update_usage"... from (pid=3453) inner /opt/s
  tack/nova/nova/openstack/common/lockutils.py:186
  2012-11-21 15:25:04 ERROR nova.openstack.common.rpc.amqp [-] Exception during message handling
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 276, in _process_data
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 145, in dispatch
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 115, in wrapped
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 175, in decorated_function
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     pass
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 161, in decorated_function
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 202, in decorated_function
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     kwargs['instance']['uuid'], e, sys.exc_info())
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 190, in decorated_function
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 885, in run_instance
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     do_run_instance()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 229, in inner
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     retval = f(*args, **kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 884, in do_run_instance
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     admin_password, is_first_time, instance)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 560, in _run_instance
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self._set_instance_error_state(context, instance['uuid'])
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 548, in _run_instance
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     is_first_time, request_spec, filter_properties)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 534, in _run_instance
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     injected_files, admin_password)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 792, in _spawn
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     block_device_info)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 115, in wrapped
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kw)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1082, in spawn
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     block_device_info)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1901, in _create_domain_and_network
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     domain = self._create_domain(xml)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1880, in _create_domain
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     domain.createWithFlags(launch_flags)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 187, in doit
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 147, in proxy_call
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     rv = execute(f,*args,**kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.17-py2.7.egg/eventlet/tpool.py", line 76, in tworker
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     rv = meth(*args,**kwargs)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 581, in createWithFlags
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp libvirtError: Network filter not found: Could not find filter 'nova-instance-instance-00000002-fa163e997fca'
  2012-11-21 15:25:04 TRACE nova.openstack.common.rpc.amqp 

  ===========================nova compute
  log==============================

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