euca-get-console-output now supported in Eucalyptus 3.0.2

euca-get-console-output prints console output from a running instance. This is very useful in diagnosing errors.


$ euca-get-console-output i-2E003FD4
i-2E003FD4
2012-05-17T13:22:54.989Z
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.27.21-0.1-xen (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-03-31 14:50:44 +0200
Command line: root=/dev/sda1 root=/dev/sda1 console=ttyS0
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
Xen-provided physical RAM map:
Xen: 0000000000000000 - 0000000020800000 (usable)
last_pfn = 0x20800 max_arch_pfn = 0x4fffffff
init_memory_mapping
last_map_addr: 20800000 end: 20800000
RAMDISK: 00831000 - 01527000
ACPI in unprivileged domain disabled
(3 early reservations) ==> bootmem [0000000000 - 0020000000]
#0 [0000200000 - 0000830038] TEXT DATA BSS ==> [0000200000 - 0000830038]
#1 [0000831000 - 0001639000] Xen provided ==> [0000831000 - 0001639000]
#2 [0001639000 - 000173f000] PGTABLE ==> [0001639000 - 000173f000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00020800
PERCPU: Allocating 50848 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 131040
Kernel command line: root=/dev/sda1 root=/dev/sda1 console=ttyS0
Initializing CPU#0
PID hash table entries: 2048 (order:$ euca-get-console-output i-2E003FD4
i-2E003FD4
2012-05-17T13:22:54.989Z
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.27.21-0.1-xen (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-03-31 14:50:44 +0200
Command line: root=/dev/sda1 root=/dev/sda1 console=ttyS0
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
Xen-provided physical RAM map:
Xen: 0000000000000000 - 0000000020800000 (usable)
last_pfn = 0x20800 max_arch_pfn = 0x4fffffff
init_memory_mapping
last_map_addr: 20800000 end: 20800000
RAMDISK: 00831000 - 01527000
ACPI in unprivileged domain disabled
(3 early reservations) ==> bootmem [0000000000 - 0020000000]
#0 [0000200000 - 0000830038] TEXT DATA BSS ==> [0000200000 - 0000830038]
#1 [0000831000 - 0001639000] Xen provided ==> [0000831000 - 0001639000]
#2 [0001639000 - 000173f000] PGTABLE ==> [0001639000 - 000173f000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00020800
PERCPU: Allocating 50848 bytes of per cpu data
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 131040
Kernel command line: root=/dev/sda1 root=/dev/sda1 console=ttyS0
Initializing CPU#0
[...]