openstack对接vcenter问题集合
博客专区 > Inchin 的博客 > 博客详情
openstack对接vcenter问题集合
Inchin 发表于3年前
openstack对接vcenter问题集合
  • 发表于 3年前
  • 阅读 2668
  • 收藏 2
  • 点赞 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

3、创建虚拟机失败 【问题现象】 提示日志Network could not be found for bridge br-int 2015-01-08 01:53:39.586 6103 TRACE nova.compute.manager [instance: c736c35e-74ba-4501-b59c-3bc7868e18a1] network_ref = get_neutron_network(session, network_name, cluster, vif) 2015-01-08 01:53:39.586 6103 TRACE nova.compute.manager [instance: c736c35e-74ba-4501-b59c-3bc7868e18a1] File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vif.py", line 138, in get_neutron_network 2015-01-08 01:53:39.586 6103 TRACE nova.compute.manager [instance: c736c35e-74ba-4501-b59c-3bc7868e18a1] raise exception.NetworkNotFoundForBridge(bridge=bridge) 2015-01-08 01:53:39.586 6103 TRACE nova.compute.manager [instance: c736c35e-74ba-4501-b59c-3bc7868e18a1] NetworkNotFoundForBridge: Network could not be found for bridge br-int 【解决方案】 在vcenter上对主机添加网络br-int

共有 人打赏支持
粉丝 0
博文 32
码字总数 8499
×
Inchin
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: