执行:nova boot --flavor 6 --image 329fba2c-ce05-45f4-bfe6-95045a7d6f4c --key_name testkey --security_group default cirros1的时候报错
报错信息:
2014-07-27 12:20:30 ERROR nova.compute.manager [req-a080fec7-df5f-4178-84c8-4a743fc17ddd ef89180cd0964911ab4ac1a5f0f7c198 8b9f13a5d772435eb44889a484d67a02] [instance: c98409c1-7d6b-4ed4-8492-4ca77714031b] Build error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 503, in _run_instance\n injected_files, admin_password)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 756, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 117, in wrapped\n temp_level, payload)\n', ' File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.6/site-packages/nova/exception.py", line 92, in wrapped\n return f(*args, **kw)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1099, in spawn\n admin_pass=admin_password)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1365, in _create_image\n project_id=instance[\'project_id\'])\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 131, in cache\n *args, **kwargs)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 181, in create_image\n if size and size < disk.get_disk_size(base):\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 115, in get_disk_size\n size = images.qemu_img_info(path)[\'virtual size\']\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 50, in qemu_img_info\n \'qemu-img\', \'info\', path)\n', ' File "/usr/lib/python2.6/site-packages/nova/utils.py", line 210, in execute\n cmd=\' \'.join(cmd))\n', 'ProcessExecutionError: Unexpected error while running command.\nCommand: env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/_base/b38e1ee2b3f821a0d596e21f11f9531a1f95c0a9\nExit code: 1\nStdout: \'\'\nStderr: "Could not open \'/var/lib/nova/instances/_base/b38e1ee2b3f821a0d596e21f11f9531a1f95c0a9\': No such file or directory\\n"\n']