169.254.169.254 Network is unreachable

Asked by Hyuntae-Park

Hi all~

When I start run up a new instance, I got some error message from console.log

========================================================
First node: nova-api,nova-objectstore,nova-scheduler,glance IP:10.250.0.1
Second node: nova-network IP:10.250.0.2
Third node: nova-compute IP:10.250.0.3
Fourth node: nova-volume IP:10.250.0.4
========================================================

Here is the error message from console.log.
========================================================
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.35-22-virtual (buildd@yellow) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #35-Ubuntu SMP Sat Oct 16 23:19:29 UTC 2010 (Ubuntu 2.6.35-22.35-virtual 2.6.35.4)
[ 0.000000] Command line: root=/dev/vda console=ttyS0
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009dc00 (usable)
[ 0.000000] BIOS-e820: 000000000009dc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000001fffd000 (usable)
[ 0.000000] BIOS-e820: 000000001fffd000 - 0000000020000000 (reserved)
[ 0.000000] BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x1fffd max_arch_pfn = 0x400000000
[ 0.000000] PAT not supported by CPU.
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 - 000000000009dc00 (usable)
[ 0.000000] modified: 000000000009dc00 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 000000001fffd000 (usable)
[ 0.000000] modified: 000000001fffd000 - 0000000020000000 (reserved)
[ 0.000000] modified: 00000000feffc000 - 00000000ff000000 (reserved)
[ 0.000000] modified: 00000000fffc0000 - 0000000100000000 (reserved)
[ 0.000000] found SMP MP-table at [ffff8800000fd790] fd790
[ 0.000000] init_memory_mapping: 0000000000000000-000000001fffd000
[ 0.000000] RAMDISK: 1fa53000 - 1fff0000
[ 0.000000] ACPI: RSDP 00000000000fd740 00014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 000000001fffdc40 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 000000001ffffe70 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 000000001fffde40 01FB7 (v01 BXPC BXDSDT 00000001 INTL 20090123)
[ 0.000000] ACPI: FACS 000000001ffffe00 00040
[ 0.000000] ACPI: SSDT 000000001fffdda0 0009E (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 000000001fffdcc0 00072 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 000000001fffdc80 00038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000001fffd000
[ 0.000000] Initmem setup node 0 0000000000000000-000000001fffd000
[ 0.000000] NODE_DATA [0000000001d1b080 - 0000000001d2007f]
[ 0.000000] kvm-clock: Using msrs 12 and 11
[ 0.000000] kvm-clock: cpu 0, msr 0:1b02901, boot clock
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009d
[ 0.000000] 0: 0x00000100 -> 0x0001fffd
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 000000000009d000 - 000000000009e000
[ 0.000000] PM: Registered nosave memory: 000000000009e000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 20000000 (gap: 20000000:deffc000)
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880001e00000 s91520 r8192 d23168 u2097152
[ 0.000000] pcpu-alloc: s91520 r8192 d23168 u2097152 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] kvm-clock: cpu 0, msr 0:1e15901, primary cpu clock
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 129162
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=/dev/vda console=ttyS0
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Subtract (42 early reservations)
[ 0.000000] #1 [0001000000 - 0001d1a954] TEXT DATA BSS
[ 0.000000] #2 [001fa53000 - 001fff0000] RAMDISK
[ 0.000000] #3 [0001d1b000 - 0001d1b071] BRK
[ 0.000000] #4 [000009dc00 - 00000fd790] BIOS reserved
[ 0.000000] #5 [00000fd790 - 00000fd7a0] MP-table mpf
[ 0.000000] #6 [00000fd890 - 0000100000] BIOS reserved
[ 0.000000] #7 [00000fd7a0 - 00000fd890] MP-table mpc
[ 0.000000] #8 [0000010000 - 0000012000] TRAMPOLINE
[ 0.000000] #9 [0000012000 - 0000016000] ACPI WAKEUP
[ 0.000000] #10 [0000016000 - 0000017000] PGTABLE
[ 0.000000] #11 [0001d1b080 - 0001d20080] NODE_DATA
[ 0.000000] #12 [0001d20080 - 0001d21080] BOOTMEM
[ 0.000000] #13 [0000017000 - 0000017060] BOOTMEM
[ 0.000000] #14 [0002522000 - 0002523000] BOOTMEM
[ 0.000000] #15 [0002523000 - 0002524000] BOOTMEM
[ 0.000000] #16 [0002600000 - 0002e00000] MEMMAP 0
[ 0.000000] #17 [0001d21080 - 0001d39080] BOOTMEM
[ 0.000000] #18 [0001d39080 - 0001d51080] BOOTMEM
[ 0.000000] #19 [0001d52000 - 0001d53000] BOOTMEM
[ 0.000000] #20 [0001d1a980 - 0001d1a9c1] BOOTMEM
[ 0.000000] #21 [0001d1aa00 - 0001d1aa43] BOOTMEM
[ 0.000000] #22 [0001d1aa80 - 0001d1ac40] BOOTMEM
[ 0.000000] #23 [0001d1ac40 - 0001d1aca8] BOOTMEM
[ 0.000000] #24 [0001d1acc0 - 0001d1ad28] BOOTMEM
[ 0.000000] #25 [0001d1ad40 - 0001d1ada8] BOOTMEM
[ 0.000000] #26 [0001d1adc0 - 0001d1ae28] BOOTMEM
[ 0.000000] #27 [0001d1ae40 - 0001d1aea8] BOOTMEM
[ 0.000000] #28 [0001d1aec0 - 0001d1af28] BOOTMEM
[ 0.000000] #29 [0001d1af40 - 0001d1afa8] BOOTMEM
[ 0.000000] #30 [0001d1afc0 - 0001d1afe0] BOOTMEM
[ 0.000000] #31 [0001d51080 - 0001d5109c] BOOTMEM
[ 0.000000] #32 [0001d510c0 - 0001d510dc] BOOTMEM
[ 0.000000] #33 [0001e00000 - 0001e1e000] BOOTMEM
[ 0.000000] #34 [0001d51100 - 0001d51108] BOOTMEM
[ 0.000000] #35 [0001d51140 - 0001d51148] BOOTMEM
[ 0.000000] #36 [0001d51180 - 0001d51184] BOOTMEM
[ 0.000000] #37 [0001d511c0 - 0001d511c8] BOOTMEM
[ 0.000000] #38 [0001d51200 - 0001d51350] BOOTMEM
[ 0.000000] #39 [0001d51380 - 0001d51400] BOOTMEM
[ 0.000000] #40 [0001d51400 - 0001d51480] BOOTMEM
[ 0.000000] #41 [0001d53000 - 0001d57000] BOOTMEM
[ 0.000000] Memory: 496056k/524276k available (5816k kernel code, 460k absent, 27760k reserved, 5366k data, 828k init)
[ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:4352 nr_irqs:256
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] allocated 5242880 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Detected 2992.694 MHz processor.
[ 0.020000] Calibrating delay loop (skipped) preset value.. 5985.38 BogoMIPS (lpj=29926940)
[ 0.020000] pid_max: default: 32768 minimum: 301
[ 0.020000] Security Framework initialized
[ 0.020000] AppArmor: AppArmor initialized
[ 0.020000] Yama: becoming mindful.
[ 0.020000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.020000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.020000] Mount-cache hash table entries: 256
[ 0.020000] Initializing cgroup subsys ns
[ 0.020000] Initializing cgroup subsys cpuacct
[ 0.020006] Initializing cgroup subsys memory
[ 0.020725] Initializing cgroup subsys devices
[ 0.021438] Initializing cgroup subsys freezer
[ 0.022148] Initializing cgroup subsys net_cls
[ 0.022970] mce: CPU supports 10 MCE banks
[ 0.023694] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[ 0.025268] SMP alternatives: switching to UP code
[ 0.105667] Freeing SMP alternatives: 24k freed
[ 0.106429] ACPI: Core revision 20100428
[ 0.107793] ftrace: converting mcount calls to 0f 1f 44 00 00
[ 0.108716] ftrace: allocating 23035 entries in 91 pages
[ 0.120134] Setting APIC routing to flat
[ 0.122163] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.130002] CPU0: Intel QEMU Virtual CPU version 0.14.0 stepping 03
[ 0.140000] Brought up 1 CPUs
[ 0.140000] Total of 1 processors activated (5985.38 BogoMIPS).
[ 0.140000] devtmpfs: initialized
[ 0.140000] regulator: core version 0.5
[ 0.140000] Time: 1:14:34 Date: 06/20/11
[ 0.140000] NET: Registered protocol family 16
[ 0.140000] ACPI: bus type pci registered
[ 0.140000] PCI: Using configuration type 1 for base access
[ 0.140248] bio: create slab <bio-0> at 0
[ 0.143039] ACPI: Interpreter enabled
[ 0.143671] ACPI: (supports S0 S3 S4 S5)
[ 0.144438] ACPI: Using IOAPIC for interrupt routing
[ 0.147533] ACPI: No dock devices found.
[ 0.148212] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[ 0.149827] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.151697] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
[ 0.152924] pci 0000:00:01.3: quirk: [io 0xb100-0xb10f] claimed by PIIX4 SMB
[ 0.164647] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.165782] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.166903] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.168029] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.169151] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
[ 0.170250] HEST: Table is not found!
[ 0.171061] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.172443] vgaarb: loaded
[ 0.173191] SCSI subsystem initialized
[ 0.174080] usbcore: registered new interface driver usbfs
[ 0.175032] usbcore: registered new interface driver hub
[ 0.175987] usbcore: registered new device driver usb
[ 0.177027] ACPI: WMI: Mapper loaded
[ 0.177650] PCI: Using ACPI for IRQ routing
[ 0.178710] NetLabel: Initializing
[ 0.179300] NetLabel: domain hash size = 128
[ 0.180001] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.180857] NetLabel: unlabeled traffic allowed by default
[ 0.181868] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.183086] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.183992] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 0.190042] Switching to clocksource kvm-clock
[ 0.201684] AppArmor: AppArmor Filesystem Enabled
[ 0.202529] pnp: PnP ACPI init
[ 0.203074] ACPI: bus type pnp registered
[ 0.204409] pnp: PnP ACPI: found 6 devices
[ 0.205114] ACPI: ACPI bus type pnp unregistered
[ 0.211948] NET: Registered protocol family 2
[ 0.212765] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.214235] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.215790] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.217236] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.218340] TCP reno registered
[ 0.218884] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.219885] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.221044] NET: Registered protocol family 1
[ 0.221814] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.222866] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.223860] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.225192] Scanning for low memory corruption every 60 seconds
[ 0.226346] audit: initializing netlink socket (disabled)
[ 0.227271] type=2000 audit(1308532475.220:1): initialized
[ 0.238762] Trying to unpack rootfs image as initramfs...
[ 0.271003] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.281257] VFS: Disk quotas dquot_6.5.2
[ 0.281975] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.283656] fuse init (API version 7.14)
[ 0.284420] msgmni has been set to 968
[ 0.290294] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.291562] io scheduler noop registered
[ 0.292232] io scheduler deadline registered (default)
[ 0.293124] io scheduler cfq registered
[ 0.293869] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.294831] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.296110] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.297365] ACPI: Power Button [PWRF]
[ 0.299039] ERST: Table is not found!
[ 0.299882] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 0.300919] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 0.320163] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 0.321181] virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ 10
[ 0.322835] Linux agpgart interface v0.103
[ 0.323551] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.324878] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.326144] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 0.328348] brd: module loaded
[ 0.329358] loop: module loaded
[ 0.330958] vda: unknown partition table
[ 0.350170] scsi0 : ata_piix
[ 0.350782] scsi1 : ata_piix
[ 0.351314] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[ 0.352465] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[ 0.353837] Fixed MDIO Bus: probed
[ 0.354463] PPP generic driver version 2.4.2
[ 0.355242] tun: Universal TUN/TAP device driver, 1.6
[ 0.356102] tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
[ 0.357250] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.358365] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.359417] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.360579] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 0.362027] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 0.362955] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 0.364324] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
[ 0.365446] hub 1-0:1.0: USB hub found
[ 0.372494] hub 1-0:1.0: 2 ports detected
[ 0.373336] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.375400] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.376285] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.377259] mice: PS/2 mouse device common for all mice
[ 0.378317] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[ 0.379513] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[ 0.380740] device-mapper: uevent: version 1.0.3
[ 0.381878] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[ 0.399684] Freeing initrd memory: 5748k freed
[ 0.402307] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: <email address hidden>
[ 0.403962] device-mapper: multipath: version 1.1.1 loaded
[ 0.404950] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.406262] cpuidle: using governor ladder
[ 0.407008] cpuidle: using governor menu
[ 0.407879] TCP cubic registered
[ 0.408537] NET: Registered protocol family 10
[ 0.409740] lo: Disabled Privacy Extensions
[ 0.410641] NET: Registered protocol family 17
[ 0.411579] registered taskstats version 1
[ 0.412501] Magic number: 15:771:205
[ 0.413311] rtc_cmos 00:01: setting system clock to 2011-06-20 01:14:34 UTC (1308532474)
[ 0.414729] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.415785] EDD information not available.
[ 0.540497] Freeing unused kernel memory: 828k freed
[ 0.542302] Write protecting the kernel read-only data: 10240k
[ 0.544168] Freeing unused kernel memory: 308k freed
[ 0.545749] Freeing unused kernel memory: 1620k freed
Used vda for root filesystem
pivot_root: Invalid argument
init started: BusyBox v1.17.2 (2010-10-17 16:10:18 MST)
stty: /dev/console

ttylinux 12.1
 > http://ttylinux.org/
 > hostname: ttylinux_host

load Kernel Module: acpiphp [ OK ]
load Kernel Module: e1000 [ OK ]
load Kernel Module: ne2k-pci [ OK ]
[ 0.723169] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
load Kernel Module: 8139cp [ OK ]
load Kernel Module: pcnet32 [ OK ]
load Kernel Module: mii [ OK ]
load Kernel Module: ip_tables [ OK ]
file systems checked [ OK ]
mounting local file systems [ OK ]
setting up system clock [utc] Mon Jun 20 01:14:34 UTC 2011 [ OK ]
stty: /dev/console
stty: /dev/console
initializing random number generator [WATING].. [ OK ]
stty: /dev/console
startup klogd [ OK ]
startup syslogd [ OK ]
stty: /dev/console
stty: /dev/console
bringing up loopback interface lo [ OK ]
stty: /dev/console
udhcpc (v1.17.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
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 10.14. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 2/30: up 11.15. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 3/30: up 12.16. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 4/30: up 13.18. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 5/30: up 14.19. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 6/30: up 15.21. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 7/30: up 16.22. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 8/30: up 17.24. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 9/30: up 18.25. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 10/30: up 19.26. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 11/30: up 20.28. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 12/30: up 21.29. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 13/30: up 22.31. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 14/30: up 23.32. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 15/30: up 24.34. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 16/30: up 25.35. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 17/30: up 26.36. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 18/30: up 27.38. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 19/30: up 28.39. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 20/30: up 29.41. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 21/30: up 30.42. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 22/30: up 31.44. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 23/30: up 32.45. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 24/30: up 33.46. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 25/30: up 34.48. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 26/30: up 35.49. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 27/30: up 36.51. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 28/30: up 37.52. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 29/30: up 38.54. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloud-setup: failed 30/30: up 39.55. 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
generating DSS host key [WATING].. [ OK ]
generating RSA host key [WATING].. [ OK ]
startup dropbear [ OK ]
route: fscanf
### ifconfig -a
eth0 Link encap:Ethernet HWaddr 02:16:3E:74:F0:C1
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:118 (118.0 B) TX bytes:2486 (2.4 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>[ 0.711865] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
<6>[ 0.722888] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
<4>[ 0.723169] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
<6>[ 0.724611] 8139cp 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11
<6>[ 0.729722] 8139cp 0000:00:03.0: eth0: RTL-8139C+ at 0xffffc900001dc000, 02:16:3e:74:f0:c1, IRQ 11
<7>[ 0.729767] 8139cp 0000:00:03.0: setting latency timer to 64
<6>[ 0.736823] pcnet32: pcnet32.c:v1.35 21.Apr.2008 <email address hidden>
<6>[ 0.751382] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 1.108144] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
<7>[ 11.650060] eth0: no IPv6 routers present
### tail -n 25 /var/log/messages
Jun 20 01:14:34 ttylinux_host syslog.info syslogd started: BusyBox v1.17.2
Jun 20 01:14:34 ttylinux_host user.info kernel: [ 1.108144] eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
Jun 20 01:14:44 ttylinux_host user.debug kernel: [ 11.650060] eth0: no IPv6 routers present
Jun 20 01:15:14 ttylinux_host authpriv.info dropbear[266]: 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 41.58 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 :
=> First-Boot Sequence:
setting shared object cache [running ldconfig] [ OK ]
========================================================

Here is my nova.conf and all of nodes using same nova.conf
========================================================
--sql_connection=mysql://root:mysqlpass@10.250.0.1/nova
--s3_host=10.250.0.1
--rabbit_host=10.250.0.1
--cc_host=10.250.0.1
--ec2_url=http://10.250.0.1:8773/services/Cloud
--routing_source_ip=10.250.0.2
--daemonize=1
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/usr/bin/nova-dhcpbridge
--FAKE_subdomain=ec2
--ca_path=/var/lib/nova/CA
--keys_path=/var/lib/nova/keys
--networks_path=/var/lib/nova/networks
--instances_path=/var/lib/nova/instances
--images_path=/var/lib/nova/images
--buckets_path=/var/lib/nova/buckets
--libvirt_type=kvm
--network_manager=nova.network.manager.FlatDHCPManager
--flat_network_dhcp_start=10.0.0.2
--logdir=/var/log/nova
--verbose
--public_interface=eth0
--flat_interface=eth1
--flat_injected=False
--lock_path=/var/lock/nova
--zone_name=zone2
--glance_api_servers=10.250.0.1:9292
--image_service=nova.image.glance.GlanceImageService
--iscsi_ip_prefix=10.250.0.4
--volume_group=nova-volumes
========================================================

ip addr show in Second node(nova-network)
========================================================
root@ubuntu-net001:~# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet 169.254.169.254/32 scope link lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:a0:b0:a5:3d:67 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:a0:b0:a5:4b:6a brd ff:ff:ff:ff:ff:ff
    inet 192.168.30.181/24 brd 192.168.30.255 scope global eth0
    inet6 fe80::2a0:b0ff:fea5:4b6a/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether d4:85:64:18:5a:a3 brd ff:ff:ff:ff:ff:ff
    inet 10.250.0.2/24 brd 10.250.0.255 scope global eth2
    inet6 fe80::d685:64ff:fe18:5aa3/64 scope link
       valid_lft forever preferred_lft forever
5: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:a0:b0:a5:3d:67 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global br100
    inet6 fe80::884d:c8ff:feae:4bba/64 scope link
       valid_lft forever preferred_lft forever
========================================================

ip addr show in Third node(nova-compute)
========================================================
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:16:01:6c:b2:5e brd ff:ff:ff:ff:ff:ff
3: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:25:b3:27:64:ff brd ff:ff:ff:ff:ff:ff
    inet 10.250.0.3/24 brd 10.250.0.255 scope global eth2
    inet6 fe80::225:b3ff:fe27:64ff/64 scope link
       valid_lft forever preferred_lft forever
4: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether da:95:b9:54:6d:94 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
7: br100: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether 00:16:01:6c:b2:5e brd ff:ff:ff:ff:ff:ff
    inet6 fe80::9469:f8ff:fe75:4a5d/64 scope link
       valid_lft forever preferred_lft forever
12: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
    link/ether fe:16:3e:74:f0:c1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe74:f0c1/64 scope link
       valid_lft forever preferred_lft forever
========================================================

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Hyuntae-Park
Solved:
Last query:
Last reply:
Revision history for this message
zhangjunfeng (zjfhappy) said :
#1

you can try this:
add "iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination $NOVA_API_IP:8773 " on you second node,
and make sure there is no "iptables -t nat -A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination $NOVA_API_IP:8773" on your third node。

Revision history for this message
Hyuntae-Park (revolutionperminutes) said :
#2

thank you zhangjunfeng

I solved this problem by my self.

I`ve run this cmd "ifconfig eth1 up" Second and Third node.
and then the instance was assigned ip from Second node.

Revision history for this message
Hyuntae-Park (revolutionperminutes) said :
#3

thank you