操作系统: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文件