Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

wget: can't connect to remote host (169.254.169.254): No route to host

Setup: Openstack Grizzly (1 Control Node, 1 Compute Node) Physical. Ubuntu 12.04
NIC 2 physical interface on each node. (eth0,eth1).
Nova-network used.

Instance launched and assigned with IP (fixed and Floating). But while accessing it it does not ping or ssh. Error in Console shown.

wget: can't connect to remote host (169.254.169.254): No route to host

the respective settings are: 


----------


**Compute node : ifconfig details**


----------


br100     Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:192.168.80.3  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::bccd:16ff:fe1d:12db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:898656 (898.6 KB)  TX bytes:333133 (333.1 KB)

eth0      Link encap:Ethernet  HWaddr cc:b2:55:ba:b7:be  
          inet addr:192.168.80.201  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::ceb2:55ff:feba:b7be/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25481 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12231170 (12.2 MB)  TX bytes:6137505 (6.1 MB)

eth1      Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:10.1.1.121  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3a60:77ff:fe66:8b4c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17579 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1154032 (1.1 MB)  TX bytes:357327 (357.3 KB)

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:849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:67298 (67.2 KB)  TX bytes:67298 (67.2 KB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:0b:bd:60  
          inet6 addr: fe80::fc16:3eff:fe0b:bd60/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:9246 (9.2 KB)  TX bytes:720680 (720.6 KB)

vnet1     Link encap:Ethernet  HWaddr fe:16:3e:86:72:ca  
          inet6 addr: fe80::fc16:3eff:fe86:72ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:33079 (33.0 KB)  TX bytes:720680 (720.6 KB)


----------
**Compute : network Interfaces entry**

auto lo
iface lo inet loopback
#auto eth1
#iface eth1 inet static
#address 10.1.1.121
#netmask 255.255.255.0
#gateway 10.1.1.1
#dns-nameservers 202.56.215.55
auto eth0
iface eth0 inet static
address 192.168.80.201
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.121
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Compute: run iptable -S -t nat command output**


-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N nova-api-metadat-OUTPUT
-N nova-api-metadat-POSTROUTING
-N nova-api-metadat-PREROUTING
-N nova-api-metadat-float-snat
-N nova-api-metadat-snat
-N nova-compute-OUTPUT
-N nova-compute-POSTROUTING
-N nova-compute-PREROUTING
-N nova-compute-float-snat
-N nova-compute-snat
-N nova-network-OUTPUT
-N nova-network-POSTROUTING
-N nova-network-PREROUTING
-N nova-network-float-snat
-N nova-network-snat
-N nova-postrouting-bottom
-A PREROUTING -j nova-network-PREROUTING
-A PREROUTING -j nova-compute-PREROUTING
-A PREROUTING -j nova-api-metadat-PREROUTING
-A OUTPUT -j nova-network-OUTPUT
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-api-metadat-OUTPUT
-A POSTROUTING -j nova-network-POSTROUTING
-A POSTROUTING -j nova-compute-POSTROUTING
-A POSTROUTING -j nova-api-metadat-POSTROUTING
-A POSTROUTING -j nova-postrouting-bottom
-A nova-api-metadat-snat -j nova-api-metadat-float-snat
-A nova-compute-snat -j nova-compute-float-snat
-A nova-network-OUTPUT -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-OUTPUT -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-OUTPUT -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.201/32 -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.0/24 -m conntrack ! --ctstate DNAT -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.6/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.2
-A nova-network-POSTROUTING -s 192.168.80.7/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.3
-A nova-network-POSTROUTING -s 192.168.80.2/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.4
-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.80.201:8775
-A nova-network-PREROUTING -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-PREROUTING -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-PREROUTING -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-float-snat -s 192.168.80.6/32 -d 192.168.80.6/32 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.6/32 -o br100 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.7/32 -d 192.168.80.7/32 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.7/32 -o br100 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.2/32 -d 192.168.80.2/32 -j SNAT --to-source 10.1.1.4
-A nova-network-float-snat -s 192.168.80.2/32 -o br100 -j SNAT --to-source 10.1.1.4
-A nova-network-snat -j nova-network-float-snat
-A nova-network-snat -s 192.168.80.0/24 -o br100 -j SNAT --to-source 10.1.1.121
-A nova-postrouting-bottom -j nova-network-snat
-A nova-postrouting-bottom -j nova-compute-snat
-A nova-postrouting-bottom -j nova-api-metadat-snat


----------

**Compute Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.201
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.201
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Compute :dnsmasq**

nobody    2348  0.0  0.0  33020  1128 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      2349  0.0  0.0  32992   244 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      5371  0.0  0.0  13588   912 pts/0    S+   15:39   0:00 grep --color=auto dnsmasq

----------
**Compute route -n**

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.1.1.1        0.0.0.0         UG    100    0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 br100


----------
**Controller - Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.199
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.199
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Controller : ifconfig output**

eth0      Link encap:Ethernet  HWaddr 00:21:5e:67:91:94  
          inet addr:192.168.80.199  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9194/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6342485 (6.3 MB)  TX bytes:12327846 (12.3 MB)
          Interrupt:17 Memory:91a80000-91aa0000 

eth1      Link encap:Ethernet  HWaddr 00:21:5e:67:91:95  
          inet addr:10.1.1.87  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9195/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15621 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1188081 (1.1 MB)  TX bytes:304473 (304.4 KB)
          Interrupt:19 Memory:91980000-919a0000 

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:86309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:35090841 (35.0 MB)  TX bytes:35090841 (35.0 MB)


----------
**Controller network Interface :**

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.80.199
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.87
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Console Log error:  For cirros** 
############ debug end   ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 159.97 seconds ====
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
  instanceid: 
  publicipv4: 
  localipv4 : 
wget: can't connect to remote host (169.254.169.254): No route to host
clouduserdata: failed to read instance id
WARN: /etc/rc3.d/S99clouduserdata failed


----------
**Console error for ubuntu**

Loading, please wait...
Begin: Loading essential drivers ... done.
[    0.493053] udevd[82]: starting version 175
Begin: Running /scripts/initpremount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/localtop ... done.
Begin: Running /scripts/localpremount ... [    0.624386] FDC 0 is a S82078B
[    0.632079] usb 11: new fullspeed USB device number 2 using uhci_hcd
done.
[    0.649159] EXT4fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/localbottom ... done.
done.
Begin: Running /scripts/initbottom ... done.
[    1.100291] Refined TSC clocksource calibration: 3292.560 MHz.
[    1.393110] EXT4fs (vda1): remounted. Opts: (null)
cloudinit startlocal running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.13 seconds
no instance data found in startlocal
ciinfo: lo    : 1 127.0.0.1       255.0.0.0       .
ciinfo: eth0  : 1 10.1.1.163      255.255.255.0   fa:16:3e:e1:0c:13
ciinfo: route0: 0.0.0.0         10.1.1.1        0.0.0.0         eth0   UG
ciinfo: route1: 10.1.1.0        0.0.0.0         255.255.255.0   eth0   U
cloudinit start running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.82 seconds
20130913 15:04:32,246  util.py[WARNING]: 'http://169.254.169.254/20090404/metadata/instanceid' failed [3/120s]: url error [[Errno 113] No route to host]


----------
Problem : Where is my configuration went in correct. All task are working fine on horizon.

Please help if you have cleaned up such issue. Give some details to resolv the issue.

no ssh or ping to instance and vnc console shows wget: can't connect to remote host (169.254.169.254): No route to host

Setup: Openstack Grizzly (1 Control Node, 1 Compute Node) Physical. Ubuntu 12.04
NIC 2 physical interface on each node. (eth0,eth1).
Nova-network used.

Instance launched and assigned with IP (fixed and Floating). But while accessing it it does not ping or ssh. Error in Console shown.

wget: can't connect to remote host (169.254.169.254): No route to host

the respective settings are: 


----------


**Compute node : ifconfig details**


----------


br100     Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:192.168.80.3  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::bccd:16ff:fe1d:12db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:898656 (898.6 KB)  TX bytes:333133 (333.1 KB)

eth0      Link encap:Ethernet  HWaddr cc:b2:55:ba:b7:be  
          inet addr:192.168.80.201  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::ceb2:55ff:feba:b7be/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25481 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12231170 (12.2 MB)  TX bytes:6137505 (6.1 MB)

eth1      Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:10.1.1.121  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3a60:77ff:fe66:8b4c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17579 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1154032 (1.1 MB)  TX bytes:357327 (357.3 KB)

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:849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:67298 (67.2 KB)  TX bytes:67298 (67.2 KB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:0b:bd:60  
          inet6 addr: fe80::fc16:3eff:fe0b:bd60/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:9246 (9.2 KB)  TX bytes:720680 (720.6 KB)

vnet1     Link encap:Ethernet  HWaddr fe:16:3e:86:72:ca  
          inet6 addr: fe80::fc16:3eff:fe86:72ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:33079 (33.0 KB)  TX bytes:720680 (720.6 KB)


----------
**Compute : network Interfaces entry**

auto lo
iface lo inet loopback
#auto eth1
#iface eth1 inet static
#address 10.1.1.121
#netmask 255.255.255.0
#gateway 10.1.1.1
#dns-nameservers 202.56.215.55
auto eth0
iface eth0 inet static
address 192.168.80.201
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.121
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Compute: run iptable -S -t nat command output**


-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N nova-api-metadat-OUTPUT
-N nova-api-metadat-POSTROUTING
-N nova-api-metadat-PREROUTING
-N nova-api-metadat-float-snat
-N nova-api-metadat-snat
-N nova-compute-OUTPUT
-N nova-compute-POSTROUTING
-N nova-compute-PREROUTING
-N nova-compute-float-snat
-N nova-compute-snat
-N nova-network-OUTPUT
-N nova-network-POSTROUTING
-N nova-network-PREROUTING
-N nova-network-float-snat
-N nova-network-snat
-N nova-postrouting-bottom
-A PREROUTING -j nova-network-PREROUTING
-A PREROUTING -j nova-compute-PREROUTING
-A PREROUTING -j nova-api-metadat-PREROUTING
-A OUTPUT -j nova-network-OUTPUT
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-api-metadat-OUTPUT
-A POSTROUTING -j nova-network-POSTROUTING
-A POSTROUTING -j nova-compute-POSTROUTING
-A POSTROUTING -j nova-api-metadat-POSTROUTING
-A POSTROUTING -j nova-postrouting-bottom
-A nova-api-metadat-snat -j nova-api-metadat-float-snat
-A nova-compute-snat -j nova-compute-float-snat
-A nova-network-OUTPUT -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-OUTPUT -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-OUTPUT -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.201/32 -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.0/24 -m conntrack ! --ctstate DNAT -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.6/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.2
-A nova-network-POSTROUTING -s 192.168.80.7/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.3
-A nova-network-POSTROUTING -s 192.168.80.2/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.4
-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.80.201:8775
-A nova-network-PREROUTING -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-PREROUTING -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-PREROUTING -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-float-snat -s 192.168.80.6/32 -d 192.168.80.6/32 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.6/32 -o br100 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.7/32 -d 192.168.80.7/32 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.7/32 -o br100 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.2/32 -d 192.168.80.2/32 -j SNAT --to-source 10.1.1.4
-A nova-network-float-snat -s 192.168.80.2/32 -o br100 -j SNAT --to-source 10.1.1.4
-A nova-network-snat -j nova-network-float-snat
-A nova-network-snat -s 192.168.80.0/24 -o br100 -j SNAT --to-source 10.1.1.121
-A nova-postrouting-bottom -j nova-network-snat
-A nova-postrouting-bottom -j nova-compute-snat
-A nova-postrouting-bottom -j nova-api-metadat-snat


----------

**Compute Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.201
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.201
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Compute :dnsmasq**

nobody    2348  0.0  0.0  33020  1128 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      2349  0.0  0.0  32992   244 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      5371  0.0  0.0  13588   912 pts/0    S+   15:39   0:00 grep --color=auto dnsmasq

----------
**Compute route -n**

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.1.1.1        0.0.0.0         UG    100    0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 br100


----------
**Controller - Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.199
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.199
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Controller : ifconfig output**

eth0      Link encap:Ethernet  HWaddr 00:21:5e:67:91:94  
          inet addr:192.168.80.199  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9194/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6342485 (6.3 MB)  TX bytes:12327846 (12.3 MB)
          Interrupt:17 Memory:91a80000-91aa0000 

eth1      Link encap:Ethernet  HWaddr 00:21:5e:67:91:95  
          inet addr:10.1.1.87  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9195/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15621 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1188081 (1.1 MB)  TX bytes:304473 (304.4 KB)
          Interrupt:19 Memory:91980000-919a0000 

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:86309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:35090841 (35.0 MB)  TX bytes:35090841 (35.0 MB)


----------
**Controller network Interface :**

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.80.199
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.87
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Console Log error:  For cirros** 
############ debug end   ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 159.97 seconds ====
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
  instanceid: 
  publicipv4: 
  localipv4 : 
wget: can't connect to remote host (169.254.169.254): No route to host
clouduserdata: failed to read instance id
WARN: /etc/rc3.d/S99clouduserdata failed


----------
**Console error for ubuntu**

Loading, please wait...
Begin: Loading essential drivers ... done.
[    0.493053] udevd[82]: starting version 175
Begin: Running /scripts/initpremount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/localtop ... done.
Begin: Running /scripts/localpremount ... [    0.624386] FDC 0 is a S82078B
[    0.632079] usb 11: new fullspeed USB device number 2 using uhci_hcd
done.
[    0.649159] EXT4fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/localbottom ... done.
done.
Begin: Running /scripts/initbottom ... done.
[    1.100291] Refined TSC clocksource calibration: 3292.560 MHz.
[    1.393110] EXT4fs (vda1): remounted. Opts: (null)
cloudinit startlocal running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.13 seconds
no instance data found in startlocal
ciinfo: lo    : 1 127.0.0.1       255.0.0.0       .
ciinfo: eth0  : 1 10.1.1.163      255.255.255.0   fa:16:3e:e1:0c:13
ciinfo: route0: 0.0.0.0         10.1.1.1        0.0.0.0         eth0   UG
ciinfo: route1: 10.1.1.0        0.0.0.0         255.255.255.0   eth0   U
cloudinit start running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.82 seconds
20130913 15:04:32,246  util.py[WARNING]: 'http://169.254.169.254/20090404/metadata/instanceid' failed [3/120s]: url error [[Errno 113] No route to host]


----------
Problem : Where is my configuration went in correct. All task are working fine on horizon.

Please help if you have cleaned up such issue. Give some details to resolv the issue.

click to hide/show revision 3
retagged

no ssh or ping to instance and vnc console shows wget: can't connect to remote host (169.254.169.254): No route to host

Setup: Openstack Grizzly (1 Control Node, 1 Compute Node) Physical. Ubuntu 12.04
NIC 2 physical interface on each node. (eth0,eth1).
Nova-network used.

Instance launched and assigned with IP (fixed and Floating). But while accessing it it does not ping or ssh. Error in Console shown.

wget: can't connect to remote host (169.254.169.254): No route to host

the respective settings are: 


----------


**Compute node : ifconfig details**


----------


br100     Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:192.168.80.3  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::bccd:16ff:fe1d:12db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:898656 (898.6 KB)  TX bytes:333133 (333.1 KB)

eth0      Link encap:Ethernet  HWaddr cc:b2:55:ba:b7:be  
          inet addr:192.168.80.201  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::ceb2:55ff:feba:b7be/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25481 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12231170 (12.2 MB)  TX bytes:6137505 (6.1 MB)

eth1      Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:10.1.1.121  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3a60:77ff:fe66:8b4c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17579 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1154032 (1.1 MB)  TX bytes:357327 (357.3 KB)

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:849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:67298 (67.2 KB)  TX bytes:67298 (67.2 KB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:0b:bd:60  
          inet6 addr: fe80::fc16:3eff:fe0b:bd60/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:9246 (9.2 KB)  TX bytes:720680 (720.6 KB)

vnet1     Link encap:Ethernet  HWaddr fe:16:3e:86:72:ca  
          inet6 addr: fe80::fc16:3eff:fe86:72ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:33079 (33.0 KB)  TX bytes:720680 (720.6 KB)


----------
**Compute : network Interfaces entry**

auto lo
iface lo inet loopback
#auto eth1
#iface eth1 inet static
#address 10.1.1.121
#netmask 255.255.255.0
#gateway 10.1.1.1
#dns-nameservers 202.56.215.55
auto eth0
iface eth0 inet static
address 192.168.80.201
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.121
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Compute: run iptable -S -t nat command output**


-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N nova-api-metadat-OUTPUT
-N nova-api-metadat-POSTROUTING
-N nova-api-metadat-PREROUTING
-N nova-api-metadat-float-snat
-N nova-api-metadat-snat
-N nova-compute-OUTPUT
-N nova-compute-POSTROUTING
-N nova-compute-PREROUTING
-N nova-compute-float-snat
-N nova-compute-snat
-N nova-network-OUTPUT
-N nova-network-POSTROUTING
-N nova-network-PREROUTING
-N nova-network-float-snat
-N nova-network-snat
-N nova-postrouting-bottom
-A PREROUTING -j nova-network-PREROUTING
-A PREROUTING -j nova-compute-PREROUTING
-A PREROUTING -j nova-api-metadat-PREROUTING
-A OUTPUT -j nova-network-OUTPUT
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-api-metadat-OUTPUT
-A POSTROUTING -j nova-network-POSTROUTING
-A POSTROUTING -j nova-compute-POSTROUTING
-A POSTROUTING -j nova-api-metadat-POSTROUTING
-A POSTROUTING -j nova-postrouting-bottom
-A nova-api-metadat-snat -j nova-api-metadat-float-snat
-A nova-compute-snat -j nova-compute-float-snat
-A nova-network-OUTPUT -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-OUTPUT -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-OUTPUT -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.201/32 -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.0/24 -m conntrack ! --ctstate DNAT -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.6/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.2
-A nova-network-POSTROUTING -s 192.168.80.7/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.3
-A nova-network-POSTROUTING -s 192.168.80.2/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.4
-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.80.201:8775
-A nova-network-PREROUTING -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-PREROUTING -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-PREROUTING -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-float-snat -s 192.168.80.6/32 -d 192.168.80.6/32 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.6/32 -o br100 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.7/32 -d 192.168.80.7/32 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.7/32 -o br100 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.2/32 -d 192.168.80.2/32 -j SNAT --to-source 10.1.1.4
-A nova-network-float-snat -s 192.168.80.2/32 -o br100 -j SNAT --to-source 10.1.1.4
-A nova-network-snat -j nova-network-float-snat
-A nova-network-snat -s 192.168.80.0/24 -o br100 -j SNAT --to-source 10.1.1.121
-A nova-postrouting-bottom -j nova-network-snat
-A nova-postrouting-bottom -j nova-compute-snat
-A nova-postrouting-bottom -j nova-api-metadat-snat


----------

**Compute Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.201
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.201
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Compute :dnsmasq**

nobody    2348  0.0  0.0  33020  1128 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      2349  0.0  0.0  32992   244 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      5371  0.0  0.0  13588   912 pts/0    S+   15:39   0:00 grep --color=auto dnsmasq

----------
**Compute route -n**

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.1.1.1        0.0.0.0         UG    100    0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 br100


----------
**Controller - Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.199
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.199
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Controller : ifconfig output**

eth0      Link encap:Ethernet  HWaddr 00:21:5e:67:91:94  
          inet addr:192.168.80.199  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9194/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6342485 (6.3 MB)  TX bytes:12327846 (12.3 MB)
          Interrupt:17 Memory:91a80000-91aa0000 

eth1      Link encap:Ethernet  HWaddr 00:21:5e:67:91:95  
          inet addr:10.1.1.87  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9195/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15621 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1188081 (1.1 MB)  TX bytes:304473 (304.4 KB)
          Interrupt:19 Memory:91980000-919a0000 

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:86309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:35090841 (35.0 MB)  TX bytes:35090841 (35.0 MB)


----------
**Controller network Interface :**

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.80.199
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.87
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Console Log error:  For cirros** 
############ debug end   ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 159.97 seconds ====
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
  instanceid: 
  publicipv4: 
  localipv4 : 
wget: can't connect to remote host (169.254.169.254): No route to host
clouduserdata: failed to read instance id
WARN: /etc/rc3.d/S99clouduserdata failed


----------
**Console error for ubuntu**

Loading, please wait...
Begin: Loading essential drivers ... done.
[    0.493053] udevd[82]: starting version 175
Begin: Running /scripts/initpremount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/localtop ... done.
Begin: Running /scripts/localpremount ... [    0.624386] FDC 0 is a S82078B
[    0.632079] usb 11: new fullspeed USB device number 2 using uhci_hcd
done.
[    0.649159] EXT4fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/localbottom ... done.
done.
Begin: Running /scripts/initbottom ... done.
[    1.100291] Refined TSC clocksource calibration: 3292.560 MHz.
[    1.393110] EXT4fs (vda1): remounted. Opts: (null)
cloudinit startlocal running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.13 seconds
no instance data found in startlocal
ciinfo: lo    : 1 127.0.0.1       255.0.0.0       .
ciinfo: eth0  : 1 10.1.1.163      255.255.255.0   fa:16:3e:e1:0c:13
ciinfo: route0: 0.0.0.0         10.1.1.1        0.0.0.0         eth0   UG
ciinfo: route1: 10.1.1.0        0.0.0.0         255.255.255.0   eth0   U
cloudinit start running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.82 seconds
20130913 15:04:32,246  util.py[WARNING]: 'http://169.254.169.254/20090404/metadata/instanceid' failed [3/120s]: url error [[Errno 113] No route to host]


----------
Problem : Where is my configuration went in correct. All task are working fine on horizon.

Please help if you have cleaned up such issue. Give some details to resolv the issue.

no ssh or ping to instance and vnc console shows wget: can't connect to remote host (169.254.169.254): No route to host

Setup: Openstack Grizzly (1 Control Node, 1 Compute Node) Physical. Ubuntu 12.04
NIC 2 physical interface on each node. (eth0,eth1).
Nova-network used.

Instance launched and assigned with IP (fixed and Floating). But while accessing it it does not ping or ssh. Error in Console shown.

wget: can't connect to remote host (169.254.169.254): No route to host

the respective settings are: 


----------


**Compute node : ifconfig details**


----------


br100     Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:192.168.80.3  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::bccd:16ff:fe1d:12db/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:898656 (898.6 KB)  TX bytes:333133 (333.1 KB)

eth0      Link encap:Ethernet  HWaddr cc:b2:55:ba:b7:be  
          inet addr:192.168.80.201  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::ceb2:55ff:feba:b7be/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25481 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12231170 (12.2 MB)  TX bytes:6137505 (6.1 MB)

eth1      Link encap:Ethernet  HWaddr 38:60:77:66:8b:4c  
          inet addr:10.1.1.121  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::3a60:77ff:fe66:8b4c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17579 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3470 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1154032 (1.1 MB)  TX bytes:357327 (357.3 KB)

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:849 errors:0 dropped:0 overruns:0 frame:0
          TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:67298 (67.2 KB)  TX bytes:67298 (67.2 KB)

vnet0     Link encap:Ethernet  HWaddr fe:16:3e:0b:bd:60  
          inet6 addr: fe80::fc16:3eff:fe0b:bd60/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:9246 (9.2 KB)  TX bytes:720680 (720.6 KB)

vnet1     Link encap:Ethernet  HWaddr fe:16:3e:86:72:ca  
          inet6 addr: fe80::fc16:3eff:fe86:72ca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11889 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:33079 (33.0 KB)  TX bytes:720680 (720.6 KB)


----------
**Compute : network Interfaces entry**

auto lo
iface lo inet loopback
#auto eth1
#iface eth1 inet static
#address 10.1.1.121
#netmask 255.255.255.0
#gateway 10.1.1.1
#dns-nameservers 202.56.215.55
auto eth0
iface eth0 inet static
address 192.168.80.201
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.121
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Compute: run iptable -S -t nat command output**


-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-N nova-api-metadat-OUTPUT
-N nova-api-metadat-POSTROUTING
-N nova-api-metadat-PREROUTING
-N nova-api-metadat-float-snat
-N nova-api-metadat-snat
-N nova-compute-OUTPUT
-N nova-compute-POSTROUTING
-N nova-compute-PREROUTING
-N nova-compute-float-snat
-N nova-compute-snat
-N nova-network-OUTPUT
-N nova-network-POSTROUTING
-N nova-network-PREROUTING
-N nova-network-float-snat
-N nova-network-snat
-N nova-postrouting-bottom
-A PREROUTING -j nova-network-PREROUTING
-A PREROUTING -j nova-compute-PREROUTING
-A PREROUTING -j nova-api-metadat-PREROUTING
-A OUTPUT -j nova-network-OUTPUT
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-api-metadat-OUTPUT
-A POSTROUTING -j nova-network-POSTROUTING
-A POSTROUTING -j nova-compute-POSTROUTING
-A POSTROUTING -j nova-api-metadat-POSTROUTING
-A POSTROUTING -j nova-postrouting-bottom
-A nova-api-metadat-snat -j nova-api-metadat-float-snat
-A nova-compute-snat -j nova-compute-float-snat
-A nova-network-OUTPUT -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-OUTPUT -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-OUTPUT -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.201/32 -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.0/24 -d 192.168.80.0/24 -m conntrack ! --ctstate DNAT -j ACCEPT
-A nova-network-POSTROUTING -s 192.168.80.6/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.2
-A nova-network-POSTROUTING -s 192.168.80.7/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.3
-A nova-network-POSTROUTING -s 192.168.80.2/32 -m conntrack --ctstate DNAT -j SNAT --to-source 10.1.1.4
-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.80.201:8775
-A nova-network-PREROUTING -d 10.1.1.2/32 -j DNAT --to-destination 192.168.80.6
-A nova-network-PREROUTING -d 10.1.1.3/32 -j DNAT --to-destination 192.168.80.7
-A nova-network-PREROUTING -d 10.1.1.4/32 -j DNAT --to-destination 192.168.80.2
-A nova-network-float-snat -s 192.168.80.6/32 -d 192.168.80.6/32 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.6/32 -o br100 -j SNAT --to-source 10.1.1.2
-A nova-network-float-snat -s 192.168.80.7/32 -d 192.168.80.7/32 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.7/32 -o br100 -j SNAT --to-source 10.1.1.3
-A nova-network-float-snat -s 192.168.80.2/32 -d 192.168.80.2/32 -j SNAT --to-source 10.1.1.4
-A nova-network-float-snat -s 192.168.80.2/32 -o br100 -j SNAT --to-source 10.1.1.4
-A nova-network-snat -j nova-network-float-snat
-A nova-network-snat -s 192.168.80.0/24 -o br100 -j SNAT --to-source 10.1.1.121
-A nova-postrouting-bottom -j nova-network-snat
-A nova-postrouting-bottom -j nova-compute-snat
-A nova-postrouting-bottom -j nova-api-metadat-snat


----------

**Compute Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.201
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.201
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Compute :dnsmasq**

nobody    2348  0.0  0.0  33020  1128 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      2349  0.0  0.0  32992   244 ?        S    14:22   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.80.3 --except-interface=lo --dhcp-range=set:private,192.168.80.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal --no-hosts --addn-hosts=/var/lib/nova/networks/nova-br100.hosts
root      5371  0.0  0.0  13588   912 pts/0    S+   15:39   0:00 grep --color=auto dnsmasq

----------
**Compute route -n**

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.1.1.1        0.0.0.0         UG    100    0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 br100
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.80.0    0.0.0.0         255.255.255.0   U     0      0        0 br100


----------
**Controller - Nova.conf**

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=192.168.80.199
nova_url=http://192.168.80.199:8774/v1.1/
#sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
sql_connection=mysql://novaUser:novaPass@192.168.80.199/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=192.168.80.199:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.1.1.87:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=192.168.80.199
vncserver_listen=0.0.0.0

# Nova-network
libvirt_use_virtio_for_bridges = True
network_manager=nova.network.manager.FlatDHCPManager
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
public_interface=br100
flat_interface=eth1
flat_network_bridge=br100
fixed_range=192.168.80.0/24
flat_network_dhcp_start=192.168.80.2
network_size=256
force_dhcp_release = True
flat_injected=false
use_ipv6=false
multi_host=True

#Metadata
metadata_host = 192.168.80.201
metadata_listen = 192.168.80.199
metadata_listen_port = 8775

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
iscsi_ip_address=192.168.80.199


----------
**Controller : ifconfig output**

eth0      Link encap:Ethernet  HWaddr 00:21:5e:67:91:94  
          inet addr:192.168.80.199  Bcast:192.168.80.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9194/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31690 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25427 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6342485 (6.3 MB)  TX bytes:12327846 (12.3 MB)
          Interrupt:17 Memory:91a80000-91aa0000 

eth1      Link encap:Ethernet  HWaddr 00:21:5e:67:91:95  
          inet addr:10.1.1.87  Bcast:10.1.1.255  Mask:255.255.255.0
          inet6 addr: fe80::221:5eff:fe67:9195/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15621 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1471 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1188081 (1.1 MB)  TX bytes:304473 (304.4 KB)
          Interrupt:19 Memory:91980000-919a0000 

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:86309 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:35090841 (35.0 MB)  TX bytes:35090841 (35.0 MB)


----------
**Controller network Interface :**

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.80.199
netmask 255.255.255.0
gateway 192.168.80.1
auto eth1
iface eth1 inet static
address 10.1.1.87
netmask 255.255.255.0
gateway 10.1.1.1
dns-nameservers 202.56.215.55


----------

**Console Log error:  For cirros** 
############ debug end   ##############
cloudsetup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45cloudsetup failed
Starting dropbear sshd: OK
===== cloudfinal: system completely up in 159.97 seconds ====
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
wget: can't connect to remote host (169.254.169.254): No route to host
  instanceid: 
  publicipv4: 
  localipv4 : 
wget: can't connect to remote host (169.254.169.254): No route to host
clouduserdata: failed to read instance id
WARN: /etc/rc3.d/S99clouduserdata failed


----------
**Console error for ubuntu**

Loading, please wait...
Begin: Loading essential drivers ... done.
[    0.493053] udevd[82]: starting version 175
Begin: Running /scripts/initpremount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/localtop ... done.
Begin: Running /scripts/localpremount ... [    0.624386] FDC 0 is a S82078B
[    0.632079] usb 11: new fullspeed USB device number 2 using uhci_hcd
done.
[    0.649159] EXT4fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/localbottom ... done.
done.
Begin: Running /scripts/initbottom ... done.
[    1.100291] Refined TSC clocksource calibration: 3292.560 MHz.
[    1.393110] EXT4fs (vda1): remounted. Opts: (null)
cloudinit startlocal running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.13 seconds
no instance data found in startlocal
ciinfo: lo    : 1 127.0.0.1       255.0.0.0       .
ciinfo: eth0  : 1 10.1.1.163      255.255.255.0   fa:16:3e:e1:0c:13
ciinfo: route0: 0.0.0.0         10.1.1.1        0.0.0.0         eth0   UG
ciinfo: route1: 10.1.1.0        0.0.0.0         255.255.255.0   eth0   U
cloudinit start running: Fri, 13 Sep 2013 15:01:48 +0000. up 4.82 seconds
20130913 15:04:32,246  util.py[WARNING]: 'http://169.254.169.254/20090404/metadata/instanceid' failed [3/120s]: url error [[Errno 113] No route to host]


----------
Problem : Where is my configuration went in correct. All task are working fine on horizon.

Please help if you have cleaned up such issue. Give some details to resolv the issue.