nova/compute.log中有如下错误;造成创建instance创建不成功;
因为在/var/lib/nova/instance/_base这个文件是在创建instance的时候从glance那copy过来的文件;
我因为做openstack和openstack之间的迁移,把之前的_base拷贝到了这台新的openstack环境中,所以造成报以下错误了;
TRACE nova.compute.manager [instance: 479d12a9-ad8c-4bba-8773-e7d9406ba311] File "/usr/lib/python2.6/site-packages/nova/openstack/common/fileutils.py", line 99, in remove_path_on_error
2014-03-08 11:21:42.206 11560 TRACE nova.compute.manager [instance: 479d12a9-ad8c-4bba-8773-e7d9406ba311] File "/usr/lib/python2.6/site-packages/nova/openstack/common/fileutils.py", line 96, in remove_path_on_error
2014-03-08 11:21:43.860 11560 TRACE nova.virt.libvirt.vif [instance: 479d12a9-ad8c-4bba-8773-e7d9406ba311] ProcessExecutionError: Unexpected error while running command.
把之前的拷贝过来的_base文件删除后,然后再启动vm就可以了!
阅读(1217) | 评论(0) | 转发(0) |