0

我安装了 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

有什么帮助吗?

干杯,

义普

4

3 回答 3

1

是的,我/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"
于 2014-12-11T09:03:54.593 回答
0

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

# virsh net-list

如果是,那么您可以使用:

# virsh net-destroy default

破坏默认网络并停止关联的 dnsmasq 进程,允许 dhcpd 运行。

于 2014-12-11T16:15:11.643 回答
0

系统上有/usr/sbin/dhcpd吗?VNET_DHCPDAEMON如果没有,您需要使用文件中的参数将Eucalyptus 指向 DHCP 守护程序的正确位置,/etc/eucalyptus/eucalyptus.conf或者您需要安装 DHCP 守护程序并确保上面的参数指向它。

于 2014-12-11T07:50:02.960 回答