码迷,mamicode.com
首页 > 其他好文 > 详细

openstack对接vcenter问题集合

时间:2015-01-07 22:17:03      阅读:273      评论:0      收藏:0      [点我收藏+]

标签:

1、启动openstack-nova-compute时提示找不到vmwareapi模块
【问题现象】
2015-01-07 12:17:43.445 5861 INFO nova.virt.driver [-] Loading compute driver ‘vmwareapi.VMwareVCDriver‘
2015-01-07 12:17:43.449 5861 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver Traceback (most recent call last):
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver File “/usr/lib/python2.6/site-packages/nova/virt/driver.py”, line 1300, in load_compute_driver
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver virtapi)
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver File “/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py”, line 52, in import_object_ns
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver return import_class(import_str)(args, *kwargs)
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver File “/usr/lib/python2.6/site-packages/nova/openstack/common/importutils.py”, line 28, in import_class
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver import(mod_str)
2015-01-07 12:17:43.449 5861 TRACE nova.virt.driver ImportError: No module named vmwareapi

【解决方案】
安装python-suds
sudo yum install python-suds

2、提示连接不上AMQP 5672端口
【问题现象】
2015-01-07 12:26:32.696 6023 ERROR oslo.messaging.drivers.impl_rabbit [-] AMQP server on x.x.x.x is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 7 seconds.
2015-01-07 12:26:39.699 6023 INFO oslo.messaging.
drivers.impl_rabbit [-] Reconnecting to AMQP server on x.x.x.x:5672
2015-01-07 12:26:39.700 6023 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds…
【解决方案】
开启AMQP所在服务器5672端口
/sbin/iptables -I INPUT -p tcp –dport 5672 -j ACCEPT
/etc/init.d/iptables save
service iptables restart

openstack对接vcenter问题集合

标签:

原文地址:http://my.oschina.net/inchtek/blog/364849

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!