← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213798] Re: when i run nova live-migration , nova-compute raise AttributeError: 'NoneType' object has no attribute 'nwfilterDefineXML'

 

long incomplete bug

** 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/1213798

Title:
  when i run nova live-migration , nova-compute raise  AttributeError:
  'NoneType' object has no attribute 'nwfilterDefineXML'

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  2013-08-19 13:37:51.577 ERROR nova.compute.manager [req-fea59eb3-164e-4937-beb3-cbd9bf207c9d 1085902a0ed44d1496e9158e046d9c5d 153e0f0b60844bd2848b232dc233cb22] [instance: 867c5caa-fd04-47f4-8828-944755385379] Pre live migration failed at  openstack
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] Traceback (most recent call last):
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3149, in live_migration
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     block_migration, disk, dest, migrate_data)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/compute/rpcapi.py", line 408, in pre_live_migration
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     version='2.21')
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     return rpc.call(context, self._get_topic(topic), msg, timeout)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     return _get_impl().call(CONF, context, topic, msg, timeout)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     rpc_amqp.get_connection_pool(conf, Connection))
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     rv = list(rv)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 561, in __iter__
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     raise result
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] AttributeError: 'NoneType' object has no attribute 'nwfilterDefineXML'
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] Traceback (most recent call last):
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3125, in pre_live_migration
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     self._legacy_nw_info(network_info))
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3030, in ensure_filtering_rules_for_instance
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     self.firewall_driver.setup_basic_filtering(instance_ref, network_info)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 284, in setup_basic_filtering
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     self.nwfilter.setup_basic_filtering(instance, network_info)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 130, in setup_basic_filtering
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     mapping))
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 229, in _define_filter
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379]     self._conn.nwfilterDefineXML(xml)
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] AttributeError: 'NoneType' object has no attribute 'nwfilterDefineXML'
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.577 32273 TRACE nova.compute.manager [instance: 867c5caa-fd04-47f4-8828-944755385379] 
  2013-08-19 13:37:51.743 ERROR nova.openstack.common.rpc.amqp [req-fea59eb3-164e-4937-beb3-cbd9bf207c9d 1085902a0ed44d1496e9158e046d9c5d 153e0f0b60844bd2848b232dc233cb22] Exception during message handling
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3156, in live_migration
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     block_migration, migrate_data)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3149, in live_migration
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     block_migration, disk, dest, migrate_data)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/rpcapi.py", line 408, in pre_live_migration
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     version='2.21')
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     return rpc.call(context, self._get_topic(topic), msg, timeout)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     return _get_impl().call(CONF, context, topic, msg, timeout)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     rpc_amqp.get_connection_pool(conf, Connection))
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     rv = list(rv)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 561, in __iter__
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     raise result
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'nwfilterDefineXML'
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3125, in pre_live_migration
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     self._legacy_nw_info(network_info))
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3030, in ensure_filtering_rules_for_instance
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     self.firewall_driver.setup_basic_filtering(instance_ref, network_info)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 284, in setup_basic_filtering
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     self.nwfilter.setup_basic_filtering(instance, network_info)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 130, in setup_basic_filtering
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     mapping))
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/firewall.py", line 229, in _define_filter
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp     self._conn.nwfilterDefineXML(xml)
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'nwfilterDefineXML'
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp 
  2013-08-19 13:37:51.743 32273 TRACE nova.openstack.common.rpc.amqp

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