url error [[Errno 101] Network is unreachable]
I think, I have problem with DHCP . The compute node doesn't bring ip from dnsmasq-dhcp(from nova-network).
console.log tells me that
cloud-init start running: Mon, 31 Oct 2011 07:12:22 +0000. up 64.47 seconds 2011-10-31 07:12:22,276 - DataSourceEc2.py[WARNING]: waiting for metadata service at http://169.254.169.254/2009-04-04/meta-data/instance-id (http://169.254.169.254/2009-04-04/met...)
2011-10-31 07:12:22,277 - DataSourceEc2.py[WARNING]: 07:12:22 [ 1/30]: url error [[Errno 101] Network is unreachable]
2011-10-31 07:12:23,280 - DataSourceEc2.py[WARNING]: 07:12:23 [ 2/30]: url error [[Errno 101] Network is unreachable]
2011-10-31 07:12:24,284 - DataSourceEc2.py[WARNING]: 07:12:24 [ 3/30]: url error [[Errno 101] Network is unreachable
I have a two node cluster running on Ubuntu 10.04.3 with the Diablo release from ppa:openstack-release/2011.3
Each machine has two NICs, but two NICs is on same network.
I use flatDHCPManager.
Following are the config files of both nodes. This is the cloud controller(nova-api, nova-network, nova-scheduler) configuration. http://pastebin.com/UVBtmvGc
This is the compute node. http://pastebin.com/j582m5rU
Following are network configurations. This is the cloud controllers. http://pastebin.com/w0i42NYP
This is the compute nodes. http://pastebin.com/Tuu8G3zY
The command "ps aux|grep dnsmasq" on compute node shows nobody 1331 0.0 0.0 27708 988 ? S 15:51 0:00 dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-lease-max=253 --dhcp-no-override root 4064 0.0 0.0 7624 928 pts/1 S+ 16:10 0:00 grep --color=auto dnsmasq
The command "ps aux|grep dnsmasq" on controller node shows nobody 7153 0.0 0.0 3968 980 ? S 11:20 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.241 --except-interface=lo --dhcp-range=192.168.100.242,static,120s --dhcp-lease-max=8 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root 7154 0.0 0.0 3968 412 ? S 11:20 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.241 --except-interface=lo --dhcp-range=192.168.100.242,static,120s --dhcp-lease-max=8 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root 13110 0.0 0.0 3148 900 pts/3 S+ 16:37 0:00 grep --color=auto dnsmasq
Answer plz.