openstack对接vcenter问题集合

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

转载于:https://my.oschina.net/inchtek/blog/364849

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值