OpenStack nova console-log cirros

Bug #1152893 reported by panwenming

This bug report was converted into a question: question #223817: OpenStack nova console-log cirros.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

#nova console-log cirros

info: initramfs: up at 1.82
GROWROOT: CHANGED: partition=1 start=16065 old: size=64260 end=80325 new: size=20948760,end=20964825
info: initramfs loading root from /dev/vda1
info: /etc/init.d/rc.sysinit: up at 2.01
[ 2.014631] EXT3-fs (vda1): warning: checktime reached, running e2fsck is recommended
Starting logging: OK
Initializing random number generator... done.
Starting network...
udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40-network failed
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 11.17. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 2/30: up 12.20. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 3/30: up 13.21. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 4/30: up 14.21. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 5/30: up 15.22. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 6/30: up 16.22. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 7/30: up 17.23. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 8/30: up 18.24. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 9/30: up 19.24. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 10/30: up 20.25. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 11/30: up 21.25. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 12/30: up 22.26. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 13/30: up 23.27. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 14/30: up 24.28. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 15/30: up 25.28. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 16/30: up 26.29. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 17/30: up 27.30. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 18/30: up 28.30. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 19/30: up 29.31. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 20/30: up 30.32. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 21/30: up 31.34. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 22/30: up 32.36. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 23/30: up 33.36. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 24/30: up 34.37. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 25/30: up 35.38. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 26/30: up 36.39. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 27/30: up 37.39. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 28/30: up 38.40. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 29/30: up 39.41. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 30/30: up 40.41. request failed
cloud-setup: after 30 fails, debugging
cloud-setup: running debug (30 tries reached)
############ debug start ##############
### /etc/rc.d/init.d/sshd start
/etc/rc3.d/S45-cloud-setup: line 66: /etc/rc.d/init.d/sshd: not found
route: fscanf
### ifconfig -a
eth0 Link encap:Ethernet HWaddr FA:16:3E:18:53:1B
          inet6 addr: fe80::f816:3eff:fe18:531b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5761 (5.6 KiB) TX bytes:1134 (1.1 KiB)

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
          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/rc3.d/S45-cloud-setup: line 66: can't open /etc/resolv.conf: no such file
### pinging nameservers
### uname -a
Linux cirros 3.0.0-12-virtual #20-Ubuntu SMP Fri Oct 7 18:19:02 UTC 2011 x86_64 GNU/Linux
### lsmod
Module Size Used by Not tainted
vfat 17585 0
fat 61475 1 vfat
isofs 40253 0
ip_tables 27473 0
x_tables 29846 1 ip_tables
pcnet32 42078 0
8139cp 27412 0
ne2k_pci 13691 0
8390 18856 1 ne2k_pci
e1000 108573 0
acpiphp 24080 0
### dmesg | tail
[ 2.077913] acpiphp: Slot [29] registered
[ 2.077922] acpiphp: Slot [30] registered
[ 2.077931] acpiphp: Slot [31] registered
[ 2.084725] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 2.084812] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 2.088910] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
[ 2.091272] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 2.093731] pcnet32: pcnet32.c:v1.35 21.Apr.2008 <email address hidden>
[ 2.102519] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.569517] eth0: IPv6 duplicate address fe80::f816:3eff:fe18:531b detected!
### tail -n 25 /var/log/messages
Mar 9 01:24:11 cirros kern.info kernel: [ 1.923461] vda: vda1
Mar 9 01:24:11 cirros kern.info kernel: [ 1.929164] vda: vda1
Mar 9 01:24:11 cirros kern.info kernel: [ 1.931331] EXT3-fs: barriers not enabled
Mar 9 01:24:11 cirros kern.info kernel: [ 1.931721] kjournald starting. Commit interval 5 seconds
Mar 9 01:24:11 cirros kern.info kernel: [ 1.931734] EXT3-fs (vda1): mounted filesystem with ordered data mode
Mar 9 01:24:11 cirros kern.warn kernel: [ 2.014631] EXT3-fs (vda1): warning: checktime reached, running e2fsck is recommended
Mar 9 01:24:11 cirros kern.info kernel: [ 2.024430] EXT3-fs (vda1): using internal journal
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077547] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077618] acpiphp: Slot [3] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077628] acpiphp: Slot [4] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077638] acpiphp: Slot [5] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077648] acpiphp: Slot [6] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077659] acpiphp: Slot [7] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077668] acpiphp: Slot [8] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077677] acpiphp: Slot [9] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077686] acpiphp: Slot [10] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077696] acpiphp: Slot [11] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.077705] acpiphp: Slot [12] registered
Mar 9 01:24:11 cirros kern.info kernel: [ 2.084725] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
Mar 9 01:24:11 cirros kern.info kernel: [ 2.084812] e1000: Copyright (c) 1999-2006 Intel Corporation.
Mar 9 01:24:11 cirros kern.info kernel: [ 2.088910] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Mar 9 01:24:11 cirros kern.info kernel: [ 2.091272] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
Mar 9 01:24:11 cirros kern.info kernel: [ 2.093731] pcnet32: pcnet32.c:v1.35 21.Apr.2008 <email address hidden>
Mar 9 01:24:11 cirros kern.info kernel: [ 2.102519] ip_tables: (C) 2000-2006 Netfilter Core Team
Mar 9 01:24:12 cirros kern.info kernel: [ 2.569517] eth0: IPv6 duplicate address fe80::f816:3eff:fe18:531b detected!
############ debug end ##############
cloud-setup: failed to read iid from metadata. tried 30
WARN: /etc/rc3.d/S45-cloud-setup failed
Starting dropbear sshd: generating rsa key... generating dsa key... OK
===== cloud-final: system completely up in 41.96 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 :
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-userdata: failed to read instance id
WARN: /etc/rc3.d/S99-cloud-userdata failed
  ____ ____ ____
 / __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/ /_/ \____/___/
 http://launchpad.net/cirros

login as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.
cirros login:

Revision history for this message
Russell Bryant (russellb) wrote :

There's nothing here but a command and its output. There really needs to be a clear description of the bug if you think there is one.

In this case, my guess is that you're showing that the instance could not connect to the metadata server. I'm going to convert this bug into a question, which is the more appropriate place to get help figuring out what is going on with your setup.

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.