我安装了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
发布于 2014-12-11 17:03:55
是的,我的系统上有/usr/sbin/dhcpd。这是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"发布于 2014-12-11 15:50:03
你的系统上有/usr/sbin/dhcpd吗?如果没有,您需要使用/etc/eucalyptus/eucalyptus.conf文件中的VNET_DHCPDAEMON参数将Eucalyptus指向您的DHCP守护进程的正确位置,或者您需要安装一个DHCP守护进程并确保上面的参数指向它。
发布于 2014-12-12 00:15:12
可能有port conflict with dnsmasq阻止dhcpd启动。检查节点控制器上的“默认”网络是否处于活动状态:
# virsh net-list如果是,那么您可以使用:
# virsh net-destroy default销毁默认网络并停止相关的dnsmasq进程,从而允许dhcpd运行。
https://stackoverflow.com/questions/27417285
复制相似问题