我安装了桉树,但是当我开始桉树时,它似乎是错误的。我检查文件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
答案 0 :(得分: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"
答案 1 :(得分:0)
您在系统上有/usr/sbin/dhcpd
吗?如果没有,您需要使用VNET_DHCPDAEMON
文件中的/etc/eucalyptus/eucalyptus.conf
参数将Eucalyptus指向DHCP守护程序的正确位置,或者您需要安装DHCP守护程序并确保上面的参数指向它
答案 2 :(得分:0)
可能有port conflict with dnsmasq阻止dhcpd启动。检查"默认"网络在节点控制器上处于活动状态:
# virsh net-list
如果是,那么你可以使用:
# virsh net-destroy default
销毁默认网络并停止相关的dnsmasq进程,允许运行dhcpd。