Openstack image -- not getting DHCP

Asked by Stuart Stent on 2012-02-24

I have downloaded the turnkey openstack LAMP image and after registering the image on the on openstack and launching it I notice it doesn't get an IP address.

If I modify the image and add '/sbin/ifconfig -a' to rc.local I see it has eth0, but no IP.

If i further modify it by adding 'udhcpc eth0' to rc.local I see it get's an IP.

Do these images expect an injected IP? or should DHCP work.

Do I need to make a change to the image to get this to work?

--------output from the console during boot of unmodified image-------------

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-38-generic-pae (buildd@zirconium) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #83-Ubuntu SMP Wed Jan 4 12:11:13 UTC 2012 (Ubuntu 2.6.32-38.83-generic-pae 2.6.32.52+drm33.21)
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] NSC Geode by NSC
[ 0.000000] Cyrix CyrixInstead
[ 0.000000] Centaur CentaurHauls
[ 0.000000] Transmeta GenuineTMx86
[ 0.000000] Transmeta TransmetaCPU
[ 0.000000] UMC UMC UMC UMC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009bc00 (usable)
[ 0.000000] BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007fffd000 (usable)
[ 0.000000] BIOS-e820: 000000007fffd000 - 0000000080000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved)
[ 0.000000] DMI 2.4 present.
[ 0.000000] last_pfn = 0x7fffd max_arch_pfn = 0x1000000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000002000 (usable)
[ 0.000000] modified: 0000000000002000 - 0000000000006000 (reserved)
[ 0.000000] modified: 0000000000006000 - 000000000009bc00 (usable)
[ 0.000000] modified: 000000000009bc00 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 000000007fffd000 (usable)
[ 0.000000] modified: 000000007fffd000 - 0000000080000000 (reserved)
[ 0.000000] modified: 00000000fffbc000 - 0000000100000000 (reserved)
[ 0.000000] init_memory_mapping: 0000000000000000-00000000379fe000
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] RAMDISK: 7fb75000 - 7ffef6fb
[ 0.000000] Allocated new RAMDISK: 00945000 - 00dbf6fb
[ 0.000000] Move RAMDISK from 000000007fb75000 - 000000007ffef6fa to 00945000 - 00dbf6fa
[ 0.000000] ACPI: RSDP 000fda10 00014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 7fffd6f0 00030 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 7ffffe40 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 7fffd8b0 02544 (v01 BXPC BXDSDT 00000001 INTL 20090123)
[ 0.000000] ACPI: FACS 7ffffe00 00040
[ 0.000000] ACPI: SSDT 7fffd810 0009E (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 7fffd720 00078 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.000000] 1157MB HIGHMEM available.
[ 0.000000] 889MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 379fe000
[ 0.000000] low ram: 0 - 379fe000
[ 0.000000] node 0 low ram: 00000000 - 379fe000
[ 0.000000] node 0 bootmap 00009000 - 0000ff40
[ 0.000000] (9 early reservations) ==> bootmem [0000000000 - 00379fe000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
[ 0.000000] #2 [0000006000 - 0000007000] TRAMPOLINE ==> [0000006000 - 0000007000]
[ 0.000000] #3 [0000100000 - 000093c858] TEXT DATA BSS ==> [0000100000 - 000093c858]
[ 0.000000] #4 [000009bc00 - 0000100000] BIOS reserved ==> [000009bc00 - 0000100000]
[ 0.000000] #5 [000093d000 - 0000944079] BRK ==> [000093d000 - 0000944079]
[ 0.000000] #6 [0000007000 - 0000009000] PGTABLE ==> [0000007000 - 0000009000]
[ 0.000000] #7 [0000945000 - 0000dbf6fb] NEW RAMDISK ==> [0000945000 - 0000dbf6fb]
[ 0.000000] #8 [0000009000 - 0000010000] BOOTMAP ==> [0000009000 - 0000010000]
[ 0.000000] found SMP MP-table at [c00fda60] fda60
[ 0.000000] kvm-clock: cpu 0, msr 0:891481, boot clock
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x000379fe
[ 0.000000] HighMem 0x000379fe -> 0x0007fffd
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00000002
[ 0.000000] 0: 0x00000006 -> 0x0000009b
[ 0.000000] 0: 0x00000100 -> 0x0007fffd
[ 0.000000] Using APIC driver default
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 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] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 0000000000002000 - 0000000000006000
[ 0.000000] PM: Registered nosave memory: 000000000009b000 - 000000000009c000
[ 0.000000] PM: Registered nosave memory: 000000000009c000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:7ffbc000)
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 15 pages/cpu @c2200000 s39480 r0 d21960 u2097152
[ 0.000000] pcpu-alloc: s39480 r0 d21960 u2097152 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] kvm-clock: cpu 0, msr 0:2209481, primary cpu clock
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 520084
[ 0.000000] Kernel command line: root=/dev/vda console=ttyS0 selinux=0
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] allocated 10485700 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Initializing HighMem for node 0 (000379fe:0007fffd)
[ 0.000000] Memory: 2055140k/2097140k available (4849k kernel code, 40612k reserved, 2220k data, 680k init, 1185788k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfff1d000 - 0xfffff000 ( 904 kB)
[ 0.000000] pkmap : 0xffa00000 - 0xffc00000 (2048 kB)
[ 0.000000] vmalloc : 0xf81fe000 - 0xff9fe000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf79fe000 ( 889 MB)
[ 0.000000] .init : 0xc07e8000 - 0xc0892000 ( 680 kB)
[ 0.000000] .data : 0xc05bc7ff - 0xc07e7948 (2220 kB)
[ 0.000000] .text : 0xc0100000 - 0xc05bc7ff (4849 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:2304 nr_irqs:256
[ 0.000000] Console: colour VGA+ 80x25
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Detected 2300.292 MHz processor.
[ 0.008000] Calibrating delay loop (skipped) preset value.. 4600.58 BogoMIPS (lpj=9201168)
[ 0.008000] Security Framework initialized
[ 0.008000] AppArmor: AppArmor initialized
[ 0.008000] Mount-cache hash table entries: 512
[ 0.008625] Initializing cgroup subsys ns
[ 0.009302] Initializing cgroup subsys cpuacct
[ 0.010031] Initializing cgroup subsys memory
[ 0.010742] Initializing cgroup subsys devices
[ 0.011473] Initializing cgroup subsys freezer
[ 0.012032] Initializing cgroup subsys net_cls
[ 0.014053] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 0.016018] CPU: L2 Cache: 512K (64 bytes/line)
[ 0.016771] mce: CPU supports 10 MCE banks
[ 0.020107] Performance Events: AMD PMU driver.
[ 0.020872] ... version: 0
[ 0.021467] ... bit width: 48
[ 0.022147] ... generic registers: 4
[ 0.022790] ... value mask: 0000ffffffffffff
[ 0.024005] ... max period: 00007fffffffffff
[ 0.024850] ... fixed-purpose events: 0
[ 0.025457] ... event mask: 000000000000000f
[ 0.030795] SMP alternatives: switching to UP code
[ 0.051179] Freeing SMP alternatives: 20k freed
[ 0.051900] ACPI: Core revision 20090903
[ 0.057807] ftrace: converting mcount calls to 0f 1f 44 00 00
[ 0.058767] ftrace: allocating 22448 entries in 44 pages
[ 0.064098] Enabling APIC mode: Flat. Using 1 I/O APICs
[ 0.066298] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.067343] CPU0: AMD QEMU Virtual CPU version (cpu64-rhel6) stepping 03
[ 0.072001] Brought up 1 CPUs
[ 0.072001] Total of 1 processors activated (4600.58 BogoMIPS).
[ 0.072001] x86 PAT enabled: cpu 0, old 0x70106, new 0x7010600070106
[ 0.072113] devtmpfs: initialized
[ 0.073002] regulator: core version 0.5
[ 0.074047] Time: 19:01:06 Date: 02/24/12
[ 0.076154] NET: Registered protocol family 16
[ 0.078409] EISA bus registered
[ 0.079273] ACPI: bus type pci registered
[ 0.080519] PCI: PCI BIOS revision 2.10 entry at 0xffe77, last bus=0
[ 0.081615] PCI: Using configuration type 1 for base access
[ 0.083260] bio: create slab <bio-0> at 0
[ 0.086938] ACPI: Interpreter enabled
[ 0.087566] ACPI: (supports S0 S5)
[ 0.088132] ACPI: Using IOAPIC for interrupt routing
[ 0.092113] ACPI: No dock devices found.
[ 0.092832] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.095052] pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI
[ 0.096010] pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB
[ 0.147116] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.148252] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.149396] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.150543] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.151699] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
[ 0.152314] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.153725] vgaarb: loaded
[ 0.154300] SCSI subsystem initialized
[ 0.155117] usbcore: registered new interface driver usbfs
[ 0.156013] usbcore: registered new interface driver hub
[ 0.156963] usbcore: registered new device driver usb
[ 0.157930] ACPI: WMI: Mapper loaded
[ 0.158565] PCI: Using ACPI for IRQ routing
[ 0.160124] NetLabel: Initializing
[ 0.160858] NetLabel: domain hash size = 128
[ 0.161685] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.162563] NetLabel: unlabeled traffic allowed by default
[ 0.163574] Switching to clocksource kvm-clock
[ 0.165255] AppArmor: AppArmor Filesystem Enabled
[ 0.166087] pnp: PnP ACPI init
[ 0.166627] ACPI: bus type pnp registered
[ 0.168206] pnp: PnP ACPI: found 8 devices
[ 0.168947] ACPI: ACPI bus type pnp unregistered
[ 0.169742] PnPBIOS: Disabled
[ 0.204972] NET: Registered protocol family 2
[ 0.205792] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.207240] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.209593] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.211011] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.212190] TCP reno registered
[ 0.212815] NET: Registered protocol family 1
[ 0.213588] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.214618] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.215636] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.216919] cpufreq-nforce2: No nForce2 chipset.
[ 0.217745] Scanning for low memory corruption every 60 seconds
[ 0.218834] Trying to unpack rootfs image as initramfs...
[ 0.224389] audit: initializing netlink socket (disabled)
[ 0.225363] type=2000 audit(1330110067.224:1): initialized
[ 0.240307] highmem bounce pool size: 64 pages
[ 0.241095] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.245371] VFS: Disk quotas dquot_6.5.2
[ 0.246104] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.252294] fuse init (API version 7.13)
[ 0.253056] msgmni has been set to 1699
[ 0.260223] alg: No test for stdrng (krng)
[ 0.261012] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.262298] io scheduler noop registered
[ 0.262993] io scheduler anticipatory registered
[ 0.263800] io scheduler deadline registered
[ 0.264611] io scheduler cfq registered (default)
[ 0.265506] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.266505] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.267747] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.272121] ACPI: Power Button [PWRF]
[ 0.273358] processor LNXCPU:00: registered as cooling_device0
[ 0.280536] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 0.281695] virtio-pci 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 0.284899] isapnp: Scanning for PnP cards...
[ 0.296323] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 0.297327] virtio-pci 0000:00:05.0: PCI INT A -> Link[LNKA] -> GSI 10 (level, high) -> IRQ 10
[ 0.348226] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[ 0.349220] virtio-pci 0000:00:06.0: PCI INT A -> Link[LNKB] -> GSI 10 (level, high) -> IRQ 10
[ 0.356413] hpet_acpi_add: no address or irqs in _CRS
[ 0.357344] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.358648] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.359895] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 0.364603] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.365775] 00:06: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 0.367450] brd: module loaded
[ 0.372351] loop: module loaded
[ 0.392612] vda: unknown partition table
[ 0.424883] vdb: unknown partition table
[ 0.473465] input: Macintosh mouse button emulation as /devices/virtual/input/input1
[ 0.480307] scsi0 : ata_piix
[ 0.480920] scsi1 : ata_piix
[ 0.481457] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[ 0.482680] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[ 0.488599] Fixed MDIO Bus: probed
[ 0.489220] PPP generic driver version 2.4.2
[ 0.489991] tun: Universal TUN/TAP device driver, 1.6
[ 0.490864] tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
[ 0.492001] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.496424] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.497527] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.498699] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 0.504221] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 0.505641] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 0.512272] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
[ 0.513396] usb usb1: configuration #1 chosen from 1 choice
[ 0.514570] hub 1-0:1.0: USB hub found
[ 0.515395] hub 1-0:1.0: 2 ports detected
[ 0.520194] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.522451] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.523484] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.528300] mice: PS/2 mouse device common for all mice
[ 0.529694] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 0.536237] rtc_cmos 00:01: RTC can wake from S4
[ 0.537289] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[ 0.538692] rtc0: alarms up to one day, 114 bytes nvram
[ 0.539879] device-mapper: uevent: version 1.0.3
[ 0.544388] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: <email address hidden>
[ 0.547412] Freeing initrd memory: 4585k freed
[ 0.549649] device-mapper: multipath: version 1.1.0 loaded
[ 0.550833] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.552380] EISA: Probing bus 0 at eisa.0
[ 0.553334] EISA: Detected 0 cards.
[ 0.554133] cpuidle: using governor ladder
[ 0.554949] cpuidle: using governor menu
[ 0.555999] TCP cubic registered
[ 0.556750] NET: Registered protocol family 10
[ 0.558308] NET: Registered protocol family 17
[ 0.559293] powernow-k8: Processor cpuid 6d3 not supported
[ 0.605246] Using IPI No-Shortcut mode
[ 0.606151] registered taskstats version 1
[ 0.607280] Magic number: 0:755:41
[ 0.607989] bdi 7:6: hash matches
[ 0.608761] rtc_cmos 00:01: setting system clock to 2012-02-24 19:01:06 UTC (1330110066)
[ 0.610529] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.611719] EDD information not available.
[ 0.837211] isapnp: No Plug & Play device found
[ 0.838150] Freeing unused kernel memory: 680k freed
[ 0.839527] Write protecting the kernel text: 4852k
[ 0.840666] Write protecting the kernel read-only data: 1884k
Loading, please wait...
[ 0.857725] udev: starting version 151
[ 0.942273] vga16fb: mapped to 0xc00a0000
[ 0.943160] fb0: VGA16 VGA frame buffer device
[ 1.013194] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 1.014776] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 1.015926] 8139cp 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 11 (level, high) -> IRQ 11
[ 1.705981] FDC 0 is a S82078B
[ 1.706779] eth0: RTL-8139C+ at 0xf82ca000, 02:16:3e:5f:7c:22, IRQ 11
[ 1.709514] 8139too Fast Ethernet driver 0.9.28
[ 2.082125] Console: switching to colour frame buffer device 80x30
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
Done.
[ 2.886139] EXT4-fs (vda): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
 * Starting Initialization hooks [9;0]ttyS0: * Regenerating SSH cryptographic keys
ttyS0: Generating a 1024 bit RSA private key
ttyS0: .............++++++
ttyS0: ...........++++++
ttyS0: writing new private key to '.tmpkey.pem'
ttyS0: -----
ttyS0: writing RSA key
ttyS0: Traceback (most recent call last):
ttyS0: File "/usr/lib/inithooks/firstboot.d/25ec2-userdata", line 36, in <module>
ttyS0: main()
ttyS0: File "/usr/lib/inithooks/firstboot.d/25ec2-userdata", line 24, in main
ttyS0: userdata = ec2metadata.get('user-data')
ttyS0: File "/usr/local/lib/python2.6/dist-packages/ec2metadata.py", line 133, in get
ttyS0: m = EC2Metadata()
ttyS0: File "/usr/local/lib/python2.6/dist-packages/ec2metadata.py", line 80, in __init__
ttyS0: raise Error("could not establish connection to: %s" % self.addr)
ttyS0: ec2metadata.Error: could not establish connection to: 169.254.169.254
ttyS0: Traceback (most recent call last):
ttyS0: File "/usr/lib/inithooks/firstboot.d/40ec2-sshkeys", line 24, in <module>
ttyS0: main()
ttyS0: File "/usr/lib/inithooks/firstboot.d/40ec2-sshkeys", line 18, in main
ttyS0: keys = ec2metadata.get('public-keys')
ttyS0: File "/usr/local/lib/python2.6/dist-packages/ec2metadata.py", line 133, in get
ttyS0: m = EC2Metadata()
ttyS0: File "/usr/local/lib/python2.6/dist-packages/ec2metadata.py", line 80, in __init__
ttyS0: raise Error("could not establish connection to: %s" % self.addr)
ttyS0: ec2metadata.Error: could not establish connection to: 169.254.169.254
ttyS0: #######################################
ttyS0: ----- SSH HOST KEY FINGERPRINTS -----
ttyS0: 2048 24:d1:10:79:2c:35:b9:a6:c4:7a:85:b4:1e:ef:49:84 /etc/ssh/ssh_host_rsa_key.pub (RSA)
ttyS0: 1024 fd:7a:cf:23:c4:63:b7:1e:d4:a1:11:1f:d6:2f:92:e6 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ttyS0: ----- SSH HOST KEY FINGERPRINTS -----
ttyS0: ----- ROOT PASSWORD -----
ttyS0: 31d02587
ttyS0: ----- ROOT PASSWORD -----
ttyS0: #######################################
ttyS0: Err http://archive.ubuntu.com lucid-security Release.gpg
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.turnkeylinux.org lucid-security Release.gpg
ttyS0: Temporary failure resolving 'archive.turnkeylinux.org'
ttyS0: Err http://archive.turnkeylinux.org lucid Release.gpg
ttyS0: Temporary failure resolving 'archive.turnkeylinux.org'
ttyS0: Err http://archive.ubuntu.com lucid Release.gpg
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com lucid-updates Release.gpg
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Reading package lists...
ttyS0: W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid-security/Release.gpg Temporary failure resolving 'archive.turnkeylinux.org'
ttyS0:
ttyS0: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-security/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
ttyS0:
ttyS0: W: Failed to fetch http://archive.turnkeylinux.org/ubuntu/dists/lucid/Release.gpg Temporary failure resolving 'archive.turnkeylinux.org'
ttyS0:
ttyS0: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
ttyS0:
ttyS0: W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release.gpg Temporary failure resolving 'archive.ubuntu.com'
ttyS0:
ttyS0: W: Some index files failed to download, they have been ignored, or old ones used instead.
ttyS0: Reading package lists...
ttyS0: Building dependency tree...
ttyS0: Reading state information...
ttyS0: Reading package lists...
ttyS0: Building dependency tree...
ttyS0: Reading state information...
ttyS0: The following packages will be upgraded:
ttyS0: acpid libapache2-mod-php5 libbz2-1.0 libxml2 linux-libc-dev php5-common
ttyS0: php5-mysql phpmyadmin
ttyS0: 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ttyS0: Need to get 9500kB of archives.
ttyS0: After this operation, 4096B of additional disk space will be used.
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main libbz2-1.0 1.0.5-4ubuntu0.2
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main libxml2 2.7.6.dfsg-1ubuntu1.3
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main acpid 1.0.10-5ubuntu2.5
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main php5-mysql 5.3.2-1ubuntu4.11
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main libapache2-mod-php5 5.3.2-1ubuntu4.11
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main php5-common 5.3.2-1ubuntu4.11
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/main linux-libc-dev 2.6.32-38.83
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Err http://archive.ubuntu.com/ubuntu/ lucid-security/universe phpmyadmin 4:3.3.2-1ubuntu1
ttyS0: Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/bzip2/libbz2-1.0_1.0.5-4ubuntu0.2_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxml2/libxml2_2.7.6.dfsg-1ubuntu1.3_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/acpid/acpid_1.0.10-5ubuntu2.5_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-mysql_5.3.2-1ubuntu4.11_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.2-1ubuntu4.11_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.2-1ubuntu4.11_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.32-38.83_i386.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/phpmyadmin/phpmyadmin_3.3.2-1ubuntu1_all.deb Temporary failure resolving 'archive.ubuntu.com'
ttyS0: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                                                         [ OK ]
 * Starting Postfix Mail Transport Agent postfix [ OK ]
 * Starting NTP server ntpd [ OK ]
 * Starting Shell In A Box Daemon shellinabox [ OK ]
 * Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]
 * Starting webmin [ OK ]

Question information

Language:
English Edit question
Status:
Answered
For:
TurnKey Linux Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-01
Last reply:
2012-03-16
Stuart Stent (stuart-stent) said : #1

ping

Liraz (liraz-siri) said : #2

pong

Liraz (liraz-siri) said : #3

Sorry I couldn't resist. Alon worked on the OpenStack build. I'll ask him if he can take a look.

Can you help with this problem?

Provide an answer of your own, or ask Stuart Stent for more information if necessary.

To post a message you must log in.