繁体   English   中英

桉树开始但出现错误

[英]eucalyptus started but appear error

我安装了eucalyptus,但是当我启动eucalyptus时,出现了错误。 我检查文件eucanetd.log,它显示如下:

 2014-12-11 11:40:01 ERROR | command failed: exitcode='256' command='//usr/lib/eucalyptus/euca_rootwrap /usr/sbin/dhcpd -cf //var/run/eucalyptus/net/euca-dhcp.conf -lf //var/run/eucalyptus/net/euca-dhcp.leases -pf //var/run/eucalyptus/net/euca-dhcp.pid -tf //var/run/eucalyptus/net/euca-dhcp.trace'
2014-12-11 11:40:01 ERROR | unable to (re)configure local dhcpd server: check above log errors for details
2014-12-11 11:40:01 ERROR | could not complete update of private IPs: check above log errors for details
2014-12-11 11:40:01  INFO | new networking state (VM public network addresses): updated successfully
2014-12-11 11:40:01  INFO | new networking state (VM network isolation): updated successfully
2014-12-11 11:40:02  INFO | new networking state (VM security groups): updating system
2014-12-11 11:40:02  INFO | new networking state (VM security groups): updated successfully
2014-12-11 11:40:02  INFO | new networking state (VM public/private network addresses, VM network isolation): updating system
2014-12-11 11:40:02 ERROR | command failed: exitcode='256' command='//usr/lib/eucalyptus/euca_rootwrap /usr/sbin/dhcpd -cf //var/run/eucalyptus/net/euca-dhcp.conf -lf //var/run/eucalyptus/net/euca-dhcp.leases -pf //var/run/eucalyptus/net/euca-dhcp.pid -tf //var/run/eucalyptus/net/euca-dhcp.trace'
2014-12-11 11:40:02 ERROR | unable to (re)configure local dhcpd server: check above log errors for details
2014-12-11 11:40:02 ERROR | could not complete update of private IPs: check above log errors for details
2014-12-11 11:40:02  INFO | new networking state (VM public network addresses): updated successfully
2014-12-11 11:40:02  INFO | new networking state (VM network isolation): updated successfully
2014-12-11 11:40:03  INFO | new networking state (VM security groups): updating system
2014-12-11 11:40:03  INFO | new networking state (VM security groups): updated successfully
2014-12-11 11:40:03  INFO | new networking state (VM public/private network addresses, VM network isolation): updating system
2014-12-11 11:40:03 ERROR | command failed: exitcode='256' command='//usr/lib/eucalyptus/euca_rootwrap /usr/sbin/dhcpd -cf //var/run/eucalyptus/net/euca-dhcp.conf -lf //var/run/eucalyptus/net/euca-dhcp.leases -pf //var/run/eucalyptus/net/euca-dhcp.pid -tf //var/run/eucalyptus/net/euca-dhcp.trace'
2014-12-11 11:40:03 ERROR | unable to (re)configure local dhcpd server: check above log errors for details
2014-12-11 11:40:03 ERROR | could not complete update of private IPs: check above log errors for details
2014-12-11 11:40:04  INFO | new networking state (VM public network addresses): updated successfully
2014-12-11 11:40:04  INFO | new networking state (VM network isolation): updated successfully
2014-12-11 11:40:05  INFO | new networking state (VM security groups): updating system
2014-12-11 11:40:05  INFO | new networking state (VM security groups): updated successfully
2014-12-11 11:40:05  INFO | new networking state (VM public/private network addresses, VM network isolation): updating system

有什么帮助吗?

干杯,

Nghiep

是的,我在系统上有/usr/sbin/dhcpd 这是桉树的文件配置。

EUCALYPTUS="/"
LOGLEVEL="INFO"
EUCA_USER="eucalyptus"
CLOUD_OPTS=""
NC_PORT="8775"
CC_PORT="8774"
SCHEDPOLICY="ROUNDROBIN"
NODES="10.10.2.11"
NC_SERVICE="axis2/services/EucalyptusNC"
HYPERVISOR="kvm"
MAX_CORES="0"
INSTANCE_PATH="/var/lib/eucalyptus/instances"
USE_VIRTIO_ROOT="1"
USE_VIRTIO_DISK="1"
USE_VIRTIO_NET="1"
VNET_MODE="EDGE"
VNET_PRIVINTERFACE="br0"
VNET_PUBINTERFACE="br0"
VNET_BRIDGE="br0"
VNET_DHCPDAEMON="/usr/sbin/dhcpd"
METADATA_USE_VM_PRIVATE="N"
DISABLE_TUNNELING="Y"

您的系统上是否有/usr/sbin/dhcpd 如果没有,你要么需要指出桉树来使用DHCP守护进程的正确的位置VNET_DHCPDAEMON参数在/etc/eucalyptus/eucalyptus.conf文件,或者你需要安装一个DHCP守护进程,并确保参数上面指向它。

dnsmasq可能存在端口冲突,无法启动dhcpd。 检查节点控制器上的“默认”网络是否处于活动状态:

# virsh net-list

如果是,则可以使用:

# virsh net-destroy default

销毁默认网络并停止相关的dnsmasq进程,以允许dhcpd运行。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM