错误提示:
2015-04-07 03:57:26.820 1089 ERROR nova.compute.manager [-] [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] Instance failed to spawn 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] Traceback (most recent call last): 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2246, in _build_resources 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] yield resources 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] block_device_info=block_device_info) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2622, in spawn 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] block_device_info, disk_info=disk_info) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4425, in _create_domain_and_network 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] power_on=power_on) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4349, in _create_domain 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] LOG.error(err) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__ 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] six.reraise(self.type_, self.value, self.tb) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4339, in _create_domain 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] domain.createWithFlags(launch_flags) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] result = proxy_call(self._autowrap, f, *args, **kwargs) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] rv = execute(f, *args, **kwargs) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] six.reraise(c, e, tb) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] rv = meth(*args, **kwargs) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 993, in createWithFlags 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2015-04-07 03:57:26.820 1089 TRACE nova.compute.manager [instance: 887e5e40-ebd8-4727-b2f7-afa2a37bdef8] libvirtError: internal error: referenced filter 'no-mac-spoofing' is missing
BUG TRACE: https://bugzilla.redhat.com/show_bug.cgi?id=1109362
原因:libvirt 缺少no-mac-spoofing
SOLUTION:
yum install libvirt-daemon-config-nwfilter.x86_64 virsh nwfilter-list