1.nova-manage service list
其中进程失败
2.网络分配失败
表现1:[mw_shl_code=bash,true]Spawning new instances fails to allocate the network[/mw_shl_code]
表现2:[mw_shl_code=bash,true]OpenStack juno error: Virtual Interface creation failed[/mw_shl_code]
表现3:
[mw_shl_code=bash,true]File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2039, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2157, in _build_and_run_instance reason=msg)[/mw_shl_code]
计算节点log信息
[mw_shl_code=applescript,true]ompute.manager [-] [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] Instance failed to spawn
2015-05-13 09:43:17.006 2451 TRACE nova.compute.manager [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line
2252, in _build_resources
2015-05-13 09:43:17.006 2451 TRACE nova.compute.manager [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line
2122, in _build_and_run_instance
2015-05-13 09:43:17.006 2451 TRACE nova.compute.manager [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] VirtualInterfaceCreateException: Virtual Interface creation failed
2015-05-13 09:43:17.006 2451 TRACE nova.compute.manager [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc]
2015-05-13 09:43:17.015 2451 AUDIT nova.compute.manager [req-92856669-8c22-4f71-91ab-f38c0474fc2b None] [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] Terminating instance
2015-05-13 09:43:17.031 2451 WARNING nova.virt.libvirt.driver [-] [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] During wait destroy, instance disappeared.
2015-05-13 09:43:17.261 2451 INFO nova.virt.libvirt.driver [-] [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] Deletion of /var/lib/nova/instances/7d025f29-0c6b-4b8c-81c5-8f9c
71bd35dc_del complete
2015-05-13 09:43:17.492 2451 INFO nova.scheduler.client.report [-] Compute_service record updated for ('server-01', 'server-01')
2015-05-13 09:43:17.492 2451 ERROR nova.compute.manager [-] [instance: 7d025f29-0c6b-4b8c-81c5-8f9c71bd35dc] Failed to allocate network(s)[/mw_shl_code]
表现4:
[mw_shl_code=bash,true]Build of instance 098387eb-efba-4f21-ae83-a7c27bf77bf2 aborted: Failed to allocate the network(s), not rescheduling.
[/mw_shl_code]
在计算节点
/etc/nova/nova-compute.conf
增加如下内容:
[mw_shl_code=bash,true]vif_plugging_timeout = 10
vif_plugging_is_fatal = False[/mw_shl_code]
重启[mw_shl_code=bash,true]service nova-compute restart
[/mw_shl_code]
|