Centos6 部署eucalyptus常见问题

操作系统:Centos 6.4

Eucalyptus:Eucalyptus 3.3.1

 

1.eucalyptus初始化后,cc无法启动,提示以下错误

[root@euca-clc ~]# service eucalyptus-cc start
Starting Eucalyptus cluster controller: 
Enabling IP forwarding(13)Permission denied: make_sock: could not bind to address [::]:8774
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8774
no listening sockets available, shutting down
Unable to open logs


解决方法:

[root@euca-clc ~]# setenforce 0

 

启动cc

[root@euca-clc ~]# service eucalyptus-cc start
Starting Eucalyptus cluster controller: done.



2.启动nc,提示以下错误:

[root@openstack-compute network-scripts]# service eucalyptus-nc start
Starting Eucalyptus services: vmx
Cannot find keys (node-pk.pem, node-cert.pem) in //var/lib/eucalyptus/keys
2013-09-13 06:41:20.294+0000: 12169: info : libvirt version: 0.10.2, package: 18.el6_4.9 (CentOS BuildSystem <http://bugs.centos.org>, 2013-07-02-11:19:29, c6b8.bsys.dev.centos.org)
2013-09-13 06:41:20.294+0000: 12169: warning : virGetHostname:2265 : getaddrinfo failed for 'openstack-compute': Name or service not known

Enabling bridge netfiltering for eucalyptus.
done.


解决方法:

将主机名添加至/etc/hosts中

[root@openstack-compute keys]# vi /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.10.200.225 openstack-compute

 

[root@openstack-compute keys]# service eucalyptus-nc restart
Restarting Eucalyptus services: vmx
done.

 

在clc端,查看nc

[root@euca-clc ~]# euca-describe-nodes 
NODE    cluster01               10.10.200.225   ENABLED


3.在static网络模式下,运行instance无法获取ip地址,查看cc日志提示以下错误:

 WARN | not creating/opening //var/run/eucalyptus/net/euca-dhcp.leases
2013-09-14 13:54:36 ERROR | maintainNetworkState(): cannot start DHCP daemon
2013-09-14 13:54:36 ERROR | network state maintainance failed


解决方法:

修改cc端的eucalyptus.conf文件中的VNET_PRIVINTERFACE参数如下:

VNET_PRIVINTERFACE="br0"

默认情况下该参数值为“eth0”,在之前版本中设置该参数为“em1”,没有出现上述问题,但是在3.3.1中却出现该问题,必须设置该参数为“br0”。

4.创建ebs instance,在NC节点因故障重启后,instance无法ping通,通过euca-get-console-output获取信息,提示以下内容:

udev: renamed network interface eth0 to eth1

 

解决方法:

在新建ebs instance后,删除/etc/udev/rules.d/70-persistent-net.rules文件
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值