openstack running 2

nova-compute 有错误:

nova.root [-] Class get_connection cannot be found

如果下载了glance,再nova-compute的话,错误是:

ImportError: No module named libvirt

glance-api 也是不能开启:

ImportError:。。。各种 :(

话说羡慕嫉妒恨ubuntu。。。

搞毛的centos哟。。。


------------------------------------

          华丽分割线

------------------------------------

Sandy:

1. make sure you source novarc
. novarc

2. you may need to restart the nova services. Do a 'ps' to find them and then /etc/init.d (assuming they're running as part of the package install) ... or are you running them all manually?

3. Regardless, make sure the services are running with a --flagfile=nova.conf statement in there.
原文地址:https://www.cnblogs.com/sikoui/p/1967888.html