You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by 仇惊雷 <qi...@gmail.com> on 2012/12/16 04:26:24 UTC

error: Nics are not configured

hi, All

i'm sorry for my poor english.

i had a trouble about "error: Nics are not configured" in
/var/log/cloud/agent/agent.log
when i execute cloud-setup-agent,
 Please choose which network used to create VM:[eth0]  eth0


how to fix the issue??


in /etc/sysconfig/network-scripts
i had 3 files, ifcfg-eth0, ifcfg-eth0.100, ifcfg-cloudbr0

ifcfg-eth0:的

DEVICE=eth0
BOOTPROTO=static
HWADDR=00:21:XX:XX:XX:XX
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID=24756901-XXXX-XXXX.......
IPADDR=32.109.18.16
NETMASK=255.255.255.0
GATEWAY=32.109.18.254
DNS1=32.111.1.20

ifcfg-eth0.100

DEVICE=eth0.100
HWADDR=00:21:XX:XX:XX:XX
ONBOOT=yes
HOTPLUG=no
BOOTPROTO=none
TYPE=Ethernet
VLAN=yes
IPADDR=32.109.18.16
DNS1=32.111.1.20
GATEWAY=32.109.18.254
NETMASK=255.255.255.0

ifcfg-cloudbr0

DEVICE=cloudbr0
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPV6INIT=no
IPV6_AUTOCONF=no
DELAY=5
STP=yes


my net envirment:
gateway: 32.109.18.254
dns: 32.111.1.20
netmask: 255.255.255.0


server: 32.109.18.15,   centos6.3,       eth0 enable, eth1 disable
host:   32.109.18.16,   centos6.3 kvm,   eth0 enable, eth1 disable

Thanks
Regards
Joe