由于是“新手上路”,无法在openstack学习法帖求助,只能在本版发帖求助。
在启动一个实例的时候,
[mw_shl_code=bash,true]nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=3be58b93-32ad-42bb-80c7-7979554d6bc4 --security-group default --key-name demo-key demo-instance8[/mw_shl_code]
出现了错误:
| 0afd8a77-88af-439e-bb79-22a8aeb65e72 | demo-instance8 | ERROR | - | NOSTATE | demo-net=192.168.1.10 |
查看nova-compute.log,出现了如下的警告信息:
2015-08-25 09:42:53.009 6440 WARNING nova.virt.disk.api [req-3bcf4c8f-57e0-4ae1-9a43-730c02b02621 - - - - -] Unable to mount image /var/lib/nova/instances/54626e50-e17a-4bfc-9f0e-a6ed581582be/disk with error libguestfs installed but not usable (/usr/bin/supermin-helper exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs). Cannot resize.
2015-08-25 09:42:53.128 6440 ERROR nova.compute.manager [req-3bcf4c8f-57e0-4ae1-9a43-730c02b02621 - - - - -] [instance: 54626e50-e17a-4bfc-9f0e-a6ed581582be] Instance failed to spawn
查看nova-conductor.log:
2015-08-25 09:42:53.476 49821 ERROR nova.scheduler.utils [req-75a79cbb-9f58-41ea-95ae-744436d34d9a ed9a79c01e2b423c8ba72afb862a6a3f b7be09574fd549acbf094ae25da91377 - - -] [instance: 54626e50-e17a-4bfc-9f0e-a6ed581582be] Error from last host: compute1 (node compute1): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2219, in _do_build_and_run_instance\n filter_properties)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2362, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 54626e50-e17a-4bfc-9f0e-a6ed581582be was re-scheduled: Unexpected vif_type=binding_failed\n']
2015-08-25 09:42:53.479 49821 INFO oslo_messaging._drivers.impl_rabbit [req-75a79cbb-9f58-41ea-95ae-744436d34d9a ed9a79c01e2b423c8ba72afb862a6a3f b7be09574fd549acbf094ae25da91377 - - -] Connecting to AMQP server on controller:5672
2015-08-25 09:42:53.497 49821 INFO oslo_messaging._drivers.impl_rabbit [req-75a79cbb-9f58-41ea-95ae-744436d34d9a ed9a79c01e2b423c8ba72afb862a6a3f b7be09574fd549acbf094ae25da91377 - - -] Connected to AMQP server on controller:5672
2015-08-25 09:42:53.543 49821 WARNING nova.scheduler.utils [req-75a79cbb-9f58-41ea-95ae-744436d34d9a ed9a79c01e2b423c8ba72afb862a6a3f b7be09574fd549acbf094ae25da91377 - - -] Failed to compute_task_build_instances: No valid host was found. There are not enough hosts available.
|