[Openstack-operators] wget: can't connect to remote host (169.254.169.254): Network is unreachable
Edier Zapata
edalzap at gmail.com
Tue Sep 6 14:54:28 UTC 2011
Good morning,
I'm getting this error:
wget: can't connect to remote host (169.254.169.254): Network is unreachable
when any instance start, euca-describe-instances report it's running
but if I check the console.log (or run euca-get-console-output) I see
that error and can't ping or ssh to that instance.
Any idea what this means?
-------------------------------------------------------------------------
Log and Config Files:
console.log:
starting DHCP forEthernet interface eth0 [ OK ]
cloud-setup: checking http://169.254.169.254/2009-04-04/meta-data/instance-id
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 1/30: up 24.75. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
.
.
.
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 30/30: up 62.91. request failed
cloud-setup: after 30 fails, debugging
cloud-setup: running debug (30 tries reached)
############ debug start ##############
### /etc/rc.d/init.d/sshd start
stty: /dev/console
startup dropbear [ ESC[1;32mOKESC[0;39m ]
route: fscanf
### ifconfig -a
eth0 Link encap:Ethernet HWaddr 02:16:3E:48:6E:7E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46 (46.0 B) TX bytes:2400 (2.3 KiB)
Interrupt:11 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
### route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
route: fscanf
### cat /etc/resolv.conf
cat: can't open '/etc/resolv.conf': No such file or directory
### gateway not found
/etc/rc.d/init.d/cloud-functions: line 41: /etc/resolv.conf: No such
file or directory
### pinging nameservers
### uname -a
Linux ttylinux_host 2.6.35-22-virtual #35-Ubuntu SMP Sat Oct 16
23:19:29 UTC 2010 x86_64 GNU/Linux
### lsmod
Module Size Used by
ip_tables 18737 0
x_tables 24391 1 ip_tables
pcnet32 36585 0
8139cp 20333 0
mii 5261 2 pcnet32,8139cp
ne2k_pci 7802 0
8390 9897 1 ne2k_pci
e1000 110274 0
acpiphp 18752 0
### dmesg | tail
<6>[ 5.662658] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
<6>[ 5.799642] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
<4>[ 5.802879] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
<6>[ 5.806924] 8139cp 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI
11 (level, high) -> IRQ 11
<6>[ 5.815950] 8139cp 0000:00:03.0: eth0: RTL-8139C+ at
0xffffc900001dc000, 02:16:3e:48:6e:7e, IRQ 11
<7>[ 5.816069] 8139cp 0000:00:03.0: setting latency timer to 64
<6>[ 5.992051] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
<6>[ 6.321220] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 14.835752] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
<7>[ 25.790539] eth0: no IPv6 routers present
### tail -n 25 /var/log/messages
Sep 6 13:56:10 ttylinux_host daemon.info init: starting pid 330, tty
'/dev/tty4': '/sbin/getty 38400 tty4'
Sep 6 13:56:10 ttylinux_host daemon.info init: starting pid 331, tty
'/dev/tty5': '/sbin/getty 38400 tty5'
Sep 6 13:56:10 ttylinux_host daemon.info init: starting pid 332, tty
'/dev/tty6': '/sbin/getty 38400 tty6'
Sep 6 14:13:45 ttylinux_host syslog.info syslogd started: BusyBox v1.17.2
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.372313]
acpiphp: Slot [24] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.373746]
acpiphp: Slot [25] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.374134]
acpiphp: Slot [26] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.374466]
acpiphp: Slot [27] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.374791]
acpiphp: Slot [28] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.375105]
acpiphp: Slot [29] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.375579]
acpiphp: Slot [30] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.375935]
acpiphp: Slot [31] registered
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.513767] e1000:
Intel(R) PRO/1000 Network Driver - version 7.3.21-k6-NAPI
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.513860] e1000:
Copyright (c) 1999-2006 Intel Corporation.
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.662658]
ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Sep 6 14:13:45 ttylinux_host user.info kernel: [ 5.799642] 8139cp:
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Sep 6 14:13:46 ttylinux_host user.warn kernel: [ 5.802879] ACPI:
PCI Interrupt Link [LNKC] enabled at IRQ 11
Sep 6 14:13:46 ttylinux_host user.info kernel: [ 5.806924] 8139cp
0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ
11
Sep 6 14:13:46 ttylinux_host user.info kernel: [ 5.815950] 8139cp
0000:00:03.0: eth0: RTL-8139C+ at 0xffffc900001dc000,
02:16:3e:48:6e:7e, IRQ 11
Sep 6 14:13:46 ttylinux_host user.debug kernel: [ 5.816069] 8139cp
0000:00:03.0: setting latency timer to 64
Sep 6 14:13:46 ttylinux_host user.info kernel: [ 5.992051]
pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend at alpha.franken.de
Sep 6 14:13:46 ttylinux_host user.info kernel: [ 6.321220]
ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 6 14:13:49 ttylinux_host user.info kernel: [ 14.835752] eth0:
link up, 100Mbps, full-duplex, lpa 0x05E1
Sep 6 14:14:00 ttylinux_host user.debug kernel: [ 25.790539] eth0:
no IPv6 routers present
Sep 6 14:14:38 ttylinux_host authpriv.info dropbear[264]: Running in background
############ debug end ##############
cloud-setup: failed to read iid from metadata. tried 30
stty: /dev/console
sshd is already running.
stty: /dev/console
startup inetd [ OK ]
stty: /dev/console
startup crond [ OK ]
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-userdata: failed to read instance id
===== cloud-final: system completely up in 67.38 seconds ====
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
wget: can't connect to remote host (169.254.169.254): Network is unreachable
instance-id:
public-ipv4:
local-ipv4 :
----------------------------------------------------------
nova.conf:
#--network_manager=nova.network.manager.FlatManager
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--logdir=/var/log/nova
--state_path=/var/lib/nova
--lock_path=/var/lock/nova
--verbose
--s3_host=192.168.56.101
--rabbit_host=192.168.56.101
--cc_host=192.168.56.101
--ec2_url=http://192.168.56.101:8773/services/Cloud
--fixed_range=172.17.0.0/16
--network_size=64000
--FAKE_subdomain=ec2
--routing_source_ip=192.168.56.101
--verbose
--sql_connection=mysql://root:myclust3r@192.168.56.101/nova
# DHCP
--flat_network_dhcp_start=172.17.0.2
--network_manager=nova.network.manager.FlatDHCPManager
# Not os supported
--libvirt_type=qemu
----------------------------------------------------------
/etc/network/interfaces:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.56.101
netmask 255.255.255.0
broadcast 192.168.56.255
gateway 192.168.56.1
# dns-nameservers 192.168.56.1
auto eth1
iface eth1 inet dhcp
------------------------------------------------------------
euca-describe-instances :
RESERVATION r-f377jo18 osadminPrj default
INSTANCE i-00000006 ami-5d397de5 172.17.1.2
172.17.1.2 running ttylinux (osadminPrj, osmaster) 0
m1.tiny 2011-09-06T13:54:40Z nova
***************************
Thank you for your help
--
Edier Alberto Zapata Hernández
Ingeniero de Sistemas
Universidad de Valle
More information about the Openstack-operators
mailing list