multi-node compute: Determining IP information for eth0... failed
Hi All,
I have configured a two-node Ubuntu 11.04 based openstack diablo compute environment. Both nodes are running 11.04 server. The controller node has enabled all required nova services including nova-compute and nova-network, and the compute node is only running nova-compute.
For my experiment, I also created a customized CentOS 5.7 image at the controller's glance server.
So far from the controller node, running euca-run-instances command, I have no problem spawning instances onto the controller node. I am able to ssh into the spawned instance from the controller.
Now I disabled nova-compute on the controller node, and enabled nova-compute on the pure compute node. But after I started euca-run-instances from the controller, from the compute node's nova-compute.log, I found the instance was spawned successfully. For instance,
2012-01-14 14:35:08,588 INFO nova.virt.
However, I cannot ping the instance. After I checked the instance's console.log, I found its network was not started successfully at the booting time, and saw the error message,
Bringing up interface eth0:
Determining IP information for eth0... failed.
[FAILED]^M
I have tried hard on modifying both nova.conf and /etc/network/
On the controller node, ospc001, I have nova.conf like this:
root@ospc001:
--network_
--flat_
--flat_
--public_
--flat_
--use_ipv6=false
--dhcpbridge_
--dhcpbridge=
--force_
--logdir=
--state_
--lock_
--flagfile=
--use_deprecate
--verbose
--my_ip=
--network_
--s3_host=
--rabbit_
--cc_host=
--ec2_url=http://
--s3_url=http://
--vncproxy_url=http://
--sql_connectio
--routing_
--glance_
--glance_port=9292
--glance_
--image_
--fixed_
--network_size=8
--FAKE_
--iscsi_
--libvirt_type=kvm
root@ospc001:
nobody 6928 1 0 Jan12 ? 00:00:05 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
root 6929 6928 0 Jan12 ? 00:00:04 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
On the controller node, I have network interface like this
root@ospc001:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto br100
auto eth0
iface eth0 inet static
address 192.55.50.172
netmask 255.255.255.0
network 192.55.50.0
broadcast 192.55.50.255
gateway 192.55.50.1
# dns-* options are implemented by the resolvconf package, if installed
root@ospc001:
br100 Link encap:Ethernet HWaddr fe:16:3e:3e:8d:de
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::48b2:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31893646 errors:0 dropped:0 overruns:0 frame:0
TX packets:20007570 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:43891773305 (43.8 GB) TX bytes:6601209049 (6.6 GB)
eth0 Link encap:Ethernet HWaddr 00:24:81:88:c0:76
inet addr:192.55.50.172 Bcast:192.55.50.255 Mask:255.255.255.0
inet6 addr: fe80::224:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60173158 errors:0 dropped:0 overruns:0 frame:0
TX packets:106526500 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:9126572449 (9.1 GB) TX bytes:145891796019 (145.8 GB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:77599939 errors:0 dropped:0 overruns:0 frame:0
TX packets:77599939 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:804933672914 (804.9 GB) TX bytes:804933672914 (804.9 GB)
virbr0 Link encap:Ethernet HWaddr 02:eb:e4:dc:ca:02
inet addr:192.168.122.1 Bcast:192.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vnet0 Link encap:Ethernet HWaddr fe:16:3e:3e:8d:de
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36392297 errors:0 dropped:0 overruns:0 frame:0
TX packets:21283892 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:51027008608 (51.0 GB) TX bytes:6694949201 (6.6 GB)
vnet1 Link encap:Ethernet HWaddr fe:16:3e:4a:ee:5d
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11770 errors:0 dropped:0 overruns:0 frame:0
TX packets:10285 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1291390 (1.2 MB) TX bytes:1519580 (1.5 MB)
vnet2 Link encap:Ethernet HWaddr fe:16:3e:4f:ad:cf
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18439 errors:0 dropped:0 overruns:0 frame:0
TX packets:16081 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2059159 (2.0 MB) TX bytes:2390970 (2.3 MB)
vnet3 Link encap:Ethernet HWaddr fe:16:3e:74:92:90
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10825 errors:0 dropped:0 overruns:0 frame:0
TX packets:9374 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1200309 (1.2 MB) TX bytes:1431800 (1.4 MB)
On the compute node, ospc005, I have nova.conf like this
root@ospc005:~# cat /etc/nova/nova.conf
--network_
--flat_
--public_
--flat_
--use_ipv6=false
--dhcpbridge_
--dhcpbridge=
--force_
--logdir=
--state_
--lock_
--flagfile=
--use_deprecate
--verbose
--my_ip=
--network_
--s3_host=
--rabbit_
--cc_host=
--ec2_url=http://
--s3_url=http://
--vncproxy_url=http://
--sql_connectio
--routing_
--glance_
--glance_port=9292
--glance_
--image_
--fixed_
--network_size=8
--FAKE_
--iscsi_
--libvirt_type=kvm
On the compute node, I have network interface like this
root@ospc005:~# cat /etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.55.50.171
netmask 255.255.255.0
network 192.55.50.0
broadcast 192.55.50.255
gateway 192.55.50.1
# dns-* options are implemented by the resolvconf package, if installed
auto br100
iface br100 inet static
bridge_stp off
bridge_fd 0
root@ospc005:~# ifconfig
br100 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet6 addr: fe80::bc67:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2624 (2.6 KB) TX bytes:2016 (2.0 KB)
eth0 Link encap:Ethernet HWaddr 00:26:9e:02:65:44
inet addr:192.55.50.171 Bcast:192.55.50.255 Mask:255.255.255.0
inet6 addr: fe80::226:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4794 errors:0 dropped:0 overruns:0 frame:0
TX packets:5267 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2394723 (2.3 MB) TX bytes:1993543 (1.9 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
virbr0 Link encap:Ethernet HWaddr da:22:90:e5:b0:05
inet addr:192.168.122.1 Bcast:192.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@ospc005:~# ps -ef | grep dnsmasq
nobody 2166 1 0 14:26 ? 00:00:00 dnsmasq --strict-order --bind-interfaces --pid-file=
What else information do you need if you can help?
Thanks lot!
Josh
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- josh
- Solved:
- Last query:
- Last reply: