When trying to clone a server from a snapshot I get the following instructions:

Snapshot launch: manual action required

/usr/lib/inithooks/firstboot.d/25ec2-userdata

However I cannot login to the server to execute the script.  I have tried SSH using the public IP address, as well as from another instance using the Private IP address.  I can ping the Private IP address.

Any idea how to proceed in recovering from a snapshot?

 

The following is from the console output:

Xen Minimal OS!
  start_info: 0xa01000(VA)
    nr_pages: 0x26700
  shared_inf: 0xbe68b000(MA)
     pt_base: 0xa04000(VA)
nr_pt_frames: 0x9
    mfn_list: 0x967000(VA)
   mod_start: 0x0(VA)
     mod_len: 0
       flags: 0x0
    cmd_line: root=/dev/sda1 ro 4
  stack:      0x946780-0x966780
MM: Init
      _text: 0x0(VA)
     _etext: 0x61e05(VA)
   _erodata: 0x76000(VA)
     _edata: 0x7b6b4(VA)
stack start: 0x946780(VA)
       _end: 0x966d34(VA)
  start_pfn: a10
    max_pfn: 26700
Mapping memory range 0xc00000 - 0x26700000
setting 0x0-0x76000 readonly
skipped 0x1000
MM: Initialise page allocator for b3e000(b3e000)-0(26700000)
MM: done
Demand map pfns at 26701000-36701000.
Heap resides at 36702000-76702000.
Initialising timer interface
Initialising console ... done.
gnttab_table mapped at 0x26701000.
Initialising scheduler
Thread "Idle": pointer: 0x36702008, stack: 0xbf0000
Initialising xenbus
Thread "xenstore": pointer: 0x36702478, stack: 0x26600000
Dummy main: start_info=0x966880
Thread "main": pointer: 0x367028e8, stack: 0x26610000
"main" "root=/dev/sda1" "ro" "4"
vbd 2049 is hd0
******************* BLKFRONT for device/vbd/2049 **********


backend at /local/domain/0/backend/vbd/3676/2049
Failed to read /local/domain/0/backend/vbd/3676/2049/feature-barrier.
Failed to read /local/domain/0/backend/vbd/3676/2049/feature-flush-cache.
20971520 sectors of 0 bytes
**************************
[H[J  Booting 'Ubuntu 10.04.1 LTS, kernel 2.6.32-317-ec2'

root  (hd0)
 Filesystem type is ext2fs, using whole disk
kernel  /boot/vmlinuz-2.6.32-317-ec2 root=/dev/sda1 ro xencons=hvc0 console=hvc
0
initrd  /boot/initrd.img-2.6.32-317-ec2

xc_dom_probe_bzimage_kernel: kernel is not a bzImage
close blk: backend at /local/domain/0/backend/vbd/3676/2049
[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-317-ec2 (buildd@zirconium) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #36-Ubuntu SMP Fri Jul 8 17:53:11 UTC 2011 (Ubuntu 2.6.32-317.36-ec2 2.6.32.41+drm33.18)
[    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] Xen-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 0000000026f00000 (usable)
[    0.000000] last_pfn = 0x26f00 max_arch_pfn = 0x10000000
[    0.000000] init_memory_mapping: 0000000000000000-0000000026f00000
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] RAMDISK: 007f4000 - 01bd9000
[    0.000000] 0MB HIGHMEM available.
[    0.000000] 623MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 26f00000
[    0.000000]   low ram: 0 - 26f00000
[    0.000000]   node 0 low ram: 00000000 - 26700000
[    0.000000]   node 0 bootmap 00000000 - 00004ce0
[    0.000000] (4 early reservations) ==> bootmem [0000000000 - 0026700000]
[    0.000000]   #0 [0000100000 - 00007d3544]    TEXT DATA BSS ==> [0000100000 - 00007d3544]
[    0.000000]   #1 [00007f4000 - 0001c88000]     Xen provided ==> [00007f4000 - 0001c88000]
[    0.000000]   #2 [0001c88000 - 0001db3000]          PGTABLE ==> [0001c88000 - 0001db3000]
[    0.000000]   #3 [0000000000 - 0000005000]          BOOTMAP ==> [0000000000 - 0000005000]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x00026f00
[    0.000000]   HighMem  0x00026f00 -> 0x00026f00
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00026700
[    0.000000]     0: 0x00026f00 -> 0x00026f00
[    0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 10 pages/cpu @c1bde000 s18168 r0 d22792 u65536
[    0.000000] pcpu-alloc: s18168 r0 d22792 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 156194
[    0.000000] Kernel command line: root=/dev/sda1 ro xencons=hvc0 console=hvc0
[    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 3189760 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Software IO TLB disabled
[    0.000000] Initializing HighMem for node 0 (00000000:00000000)
[    0.000000] Memory: 591360k/637952k available (4330k kernel code, 38244k reserved, 1568k data, 216k init, 0k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xf5238000 - 0xf57ff000   (5916 kB)
[    0.000000]     pkmap   : 0xf4e00000 - 0xf5000000   (2048 kB)
[    0.000000]     vmalloc : 0xe7700000 - 0xf4dfe000   ( 214 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe6f00000   ( 623 MB)
[    0.000000]       .init : 0xc06c3000 - 0xc06f9000   ( 216 kB)
[    0.000000]       .data : 0xc053ab8d - 0xc06c2d78   (1568 kB)
[    0.000000]       .text : 0xc0100000 - 0xc053ab8d   (4330 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:96
[    0.000000] Xen reported: 2666.760 MHz processor.
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [hvc0] enabled
[    0.900001] Calibrating delay using timer specific routine.. 5336.47 BogoMIPS (lpj=26682398)
[    0.900044] Security Framework initialized
[    0.900063] AppArmor: AppArmor initialized
[    0.900084] Mount-cache hash table entries: 512
[    0.900185] Initializing cgroup subsys ns
[    0.900191] Initializing cgroup subsys cpuacct
[    0.900195] Initializing cgroup subsys memory
[    0.900203] Initializing cgroup subsys devices
[    0.900205] Initializing cgroup subsys freezer
[    0.900233] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.900238] CPU: L2 cache: 6144K
[    0.900262] Checking 'hlt' instruction... OK.
[    0.900994] SMP alternatives: switching to UP code
[    0.926143] Freeing SMP alternatives: 29k freed
[    0.926326] Brought up 1 CPUs
[    0.926415] devtmpfs: initialized
[    0.926831] NET: Registered protocol family 16
[    0.927676] Brought up 1 CPUs
[    0.927680] PCI: Fatal: No config space access function found
[    0.927682] PCI: setting up Xen PCI frontend stub
[    0.927987] bio: create slab <bio-0> at 0
[    0.928070] vgaarb: loaded
[    0.928325] suspend: event channel 9
[    0.928707] xen_mem: Initialising balloon driver.
[    0.931266] PCI: System does not support PCI
[    0.931271] PCI: System does not support PCI
[    0.931338] NET: Registered protocol family 8
[    0.931344] NET: Registered protocol family 20
[    0.931356] NetLabel: Initializing
[    0.931358] NetLabel:  domain hash size = 128
[    0.931360] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.931372] NetLabel:  unlabeled traffic allowed by default
[    0.931377] Switching to clocksource xen
[    0.932807] AppArmor: AppArmor Filesystem Enabled
[    0.932973] NET: Registered protocol family 2
[    0.933055] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.933284] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.933736] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.933922] TCP: Hash tables configured (established 131072 bind 65536)
[    0.933925] TCP reno registered
[    0.933975] NET: Registered protocol family 1
[    0.934009] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.934079] audit: initializing netlink socket (disabled)
[    0.934087] type=2000 audit(1371450905.491:1): initialized
[    0.939137] Trying to unpack rootfs image as initramfs...
[    0.948753] VFS: Disk quotas dquot_6.5.2
[    0.948780] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.948878] DLM (built Jul  8 2011 17:55:10) installed
[    0.948987] JFS: nTxBlock = 4920, nTxLock = 39360
[    0.958633] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[    0.958848] SGI XFS Quota Management subsystem
[    0.961547] Freeing initrd memory: 20372k freed
[    0.970863] Slow work thread pool: Starting up
[    0.970933] Slow work thread pool: Ready
[    0.970950] GFS2 (built Jul  8 2011 17:56:11) installed
[    0.970971] msgmni has been set to 1269
[    0.971140] alg: No test for stdrng (krng)
[    0.971156] io scheduler noop registered
[    0.971158] io scheduler anticipatory registered
[    0.971161] io scheduler deadline registered (default)
[    0.971177] io scheduler cfq registered
[    0.985838] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.986674] brd: module loaded
[    0.987027] loop: module loaded
[    0.987094] Xen virtual console successfully installed as hvc0
[    0.987128] Event-channel device installed.
[    0.990051] netfront: Initialising virtual ethernet driver.
[    0.991117] PPP generic driver version 2.4.2
[    0.991711] Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
[    0.991868] tun: Universal TUN/TAP device driver, 1.6
[    0.991873] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.992741] i8042.c: No controller found.
[    0.992806] mice: PS/2 mouse device common for all mice
[    0.992867] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.992925] Driver for 1-wire Dallas network protocol.
[    0.992993] device-mapper: uevent: version 1.0.3
[    0.993087] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    0.993390] NET: Registered protocol family 17
[    0.993505] registered taskstats version 1
[    1.005160] xen-vbd: registered block device major 8
[    1.088848] XENBUS: Device with no driver: device/console/0
[    1.088859] /build/buildd/linux-ec2-2.6.32/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.088905] Freeing unused kernel memory: 216k freed
[    1.089995] Write protecting the kernel text: 4332k
[    1.090316] Write protecting the kernel read-only data: 1340k
Loading, please wait...
[    1.117010] ramzswap: disk size set to 325172 kB
[    1.124992] udev: starting version 151
[    1.182813] Adding 325168k swap on /dev/ramzswap0.  Priority:100 extents:1 across:325168k SS
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.
[    1.519780] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[    1.519793] EXT4-fs (sda1): write access will be enabled during recovery
[   13.615316] EXT4-fs (sda1): orphan cleanup on readonly fs
[   13.615429] EXT4-fs (sda1): 1 orphan inode deleted
[   13.615434] EXT4-fs (sda1): recovery complete
[   13.616990] JBD: barrier-based sync failed on sda1-8 - disabling barriers
[   13.643679] EXT4-fs (sda1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
[   20.317624] EXT4-fs (sda1): warning: checktime reached, running e2fsck is recommended
udhcpc[400]: udhcpc (v0.9.9-pre) started
udhcpc[400]: Sending discover...
udhcpc[400]: Sending select for 10.128.66.60...
udhcpc[400]: Lease of 10.128.66.60 obtained, lease time 86400

Forum: 

Any suggestions on the way forward?

Add new comment