简体   繁体   English

桉树开始但出现错误

[英]eucalyptus started but appear error

I installed eucalyptus, but when i start eucalyptus , it's appear mistake. 我安装了eucalyptus,但是当我启动eucalyptus时,出现了错误。 I check file eucanetd.log, it show following: 我检查文件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

Any help? 有什么帮助吗?

Cheers, 干杯,

Nghiep Nghiep

Yes, I have /usr/sbin/dhcpd on the system. 是的,我在系统上有/usr/sbin/dhcpd and this is file configure of eucalyptus. 这是桉树的文件配置。

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"

Do you have /usr/sbin/dhcpd on the system? 您的系统上是否有/usr/sbin/dhcpd If not, you either need to point Eucalyptus to the right location of your DHCP daemon using VNET_DHCPDAEMON parameter in the /etc/eucalyptus/eucalyptus.conf file or you need to install a DHCP daemon and ensure that the parameter above is pointing to it. 如果没有,你要么需要指出桉树来使用DHCP守护进程的正确的位置VNET_DHCPDAEMON参数在/etc/eucalyptus/eucalyptus.conf文件,或者你需要安装一个DHCP守护进程,并确保参数上面指向它。

There may be a port conflict with dnsmasq preventing dhcpd from starting. dnsmasq可能存在端口冲突,无法启动dhcpd。 Check if the "default" network is active on the node controller: 检查节点控制器上的“默认”网络是否处于活动状态:

# virsh net-list

if it is then you can use: 如果是,则可以使用:

# virsh net-destroy default

to destroy the default network and stop the associated dnsmasq process allowing dhcpd to run. 销毁默认网络并停止相关的dnsmasq进程,以允许dhcpd运行。

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

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