Stack fails on WaitHandle02 (DTR) #2

Closed
ahawkins opened this Issue Aug 9, 2016 · 11 comments

Comments

Projects
None yet
4 participants
@ahawkins

ahawkins commented Aug 9, 2016

I'm deploying this stack as documented. I've had one successful deploy and many failed ones. The stack fails because the WaitCondition02 fails to signal. I cannot SSH into the instance for unknown reasons. However I can provide the system log via the AWS console. Here's the associated UserData and system log

                                            "# Wait Handle: DTR tests itself to ensure it's responding before signaling CFN. Try in an infinite loop. Wait Handle will tear down stack if timeout exceeded\n",
                                            "# Defining function:\n",
                                            "checkcontroller()\n",
                                            "{\n",
                                            "if [[ $(curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://$PRIVATE_IP/load_balancer_status) -eq 200 ]]\n",
                                            "then /usr/local/bin/cfn-signal -s true '",
                                            {
                                                "Ref": "WaitHandle02"
                                            },
                                            "'\n",
                                            "else sleep 3 && echo \"checking Controller until CFN times out..\" && checkcontroller\n",
                                            "fi\n",
                                            "}\n",
                                            "# Calling function:\n",
                                            "checkcontroller\n"

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-87-generic (buildd@lgw01-25) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #133-Ubuntu SMP Tue May 24 18:32:09 UTC 2016 (Ubuntu 3.13.0-87.133-generic 3.13.11-ckt39)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-87-generic root=UUID=2344b4e7-3297-4659-a251-3ec22d092052 ro console=tty1 console=ttyS0
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000efffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001efffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.4 present.
[    0.000000] Hypervisor detected: Xen HVM
[    0.000000] Xen version 4.2.
[    0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs.
[    0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks.
[    0.000000] You might have to change the root device
[    0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
[    0.000000] in your root= kernel command line option
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x1f0000 max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] e820: last_pfn = 0xf0000 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000fbe00-0x000fbe0f] mapped at [ffff8800000fbe00]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x1efe00000-0x1efffffff]
[    0.000000] init_memory_mapping: [mem 0x1ec000000-0x1efdfffff]
[    0.000000] init_memory_mapping: [mem 0x180000000-0x1ebffffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0xefffffff]
[    0.000000] init_memory_mapping: [mem 0x100000000-0x17fffffff]
[    0.000000] RAMDISK: [mem 0x3720a000-0x378fcfff]
[    0.000000] ACPI: RSDP 00000000000ea020 000024 (v02    Xen)
[    0.000000] ACPI: XSDT 00000000fc00f5a0 000054 (v01    Xen      HVM 00000000 HVML 00000000)
[    0.000000] ACPI: FACP 00000000fc00f260 0000F4 (v04    Xen      HVM 00000000 HVML 00000000)
[    0.000000] ACPI: DSDT 00000000fc0035e0 00BBF6 (v02    Xen      HVM 00000000 INTL 20090123)
[    0.000000] ACPI: FACS 00000000fc0035a0 000040
[    0.000000] ACPI: APIC 00000000fc00f360 0000D8 (v02    Xen      HVM 00000000 HVML 00000000)
[    0.000000] ACPI: HPET 00000000fc00f4b0 000038 (v01    Xen      HVM 00000000 HVML 00000000)
[    0.000000] ACPI: WAET 00000000fc00f4f0 000028 (v01    Xen      HVM 00000000 HVML 00000000)
[    0.000000] ACPI: SSDT 00000000fc00f520 000031 (v02    Xen      HVM 00000000 INTL 20090123)
[    0.000000] ACPI: SSDT 00000000fc00f560 000031 (v02    Xen      HVM 00000000 INTL 20090123)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x00000001efffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x1efffffff]
[    0.000000]   NODE_DATA [mem 0x1efff7000-0x1efffbfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   [mem 0x100000000-0x1efffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009dfff]
[    0.000000]   node   0: [mem 0x00100000-0xefffffff]
[    0.000000]   node   0: [mem 0x100000000-0x1efffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x00] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x00] disabled)
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
[    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 low level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 15 CPUs, 13 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0xf0000000-0xfbffffff]
[    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xffffffff]
[    0.000000] e820: [mem 0xf0000000-0xfbffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen HVM
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:15 nr_node_ids:1
[    0.000000] PERCPU: Embedded 27 pages/cpu @ffff8801efc00000 s81536 r8192 d20864 u131072
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 1935240
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-87-generic root=UUID=2344b4e7-3297-4659-a251-3ec22d092052 ro console=tty1 console=ttyS0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 7649596K/7863924K available (7418K kernel code, 1146K rwdata, 3416K rodata, 1336K init, 1448K bss, 214328K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=15.
[    0.000000]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0-14.
[    0.000000] NR_IRQS:16640 nr_irqs:1208 16
[    0.000000] xen:events: Xen HVM callback vector for event delivery is enabled
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty1] enabled
[    0.000000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[    0.000000] console [ttyS0] enabled
[    0.000000] allocated 31457280 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] tsc: Detected 2494.072 MHz processor
[    0.008000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4988.14 BogoMIPS (lpj=9976288)
[    0.008004] pid_max: default: 32768 minimum: 301
[    0.012032] Security Framework initialized
[    0.014468] AppArmor: AppArmor initialized
[    0.016003] Yama: becoming mindful.
[    0.018619] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[    0.025637] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.028758] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.032011] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.036193] Initializing cgroup subsys memory
[    0.040007] Initializing cgroup subsys devices
[    0.042617] Initializing cgroup subsys freezer
[    0.044003] Initializing cgroup subsys blkio
[    0.048003] Initializing cgroup subsys perf_event
[    0.050718] Initializing cgroup subsys hugetlb
[    0.052050] CPU: Physical Processor ID: 0
[    0.056748] mce: CPU supports 2 MCE banks
[    0.059170] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.059170] Last level dTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.059170] tlb_flushall_shift: 6
[    0.064248] Freeing SMP alternatives memory: 32K (ffffffff81e6e000 - ffffffff81e76000)
[    0.074733] ACPI: Core revision 20131115
[    0.080798] ACPI: All ACPI Tables successfully acquired
[    0.084004] ftrace: allocating 28609 entries in 112 pages
[    0.116003] Switched APIC routing to physical flat.
[    0.120366] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.164993] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (fam: 06, model: 3e, stepping: 04)
[    0.170776] installing Xen timer for CPU 0
[    0.172066] cpu 0 spinlock event irq 69
[    0.179751] Performance Events: unsupported p6 CPU model 62 no PMU driver, software events only.
[    0.185606] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.188059] installing Xen timer for CPU 1
[    0.190666] x86: Booting SMP configuration:
[    0.192005] .... node  #0, CPUs:        #1cpu 1 spinlock event irq 75
[    0.209906] x86: Booted up 1 node, 2 CPUs
[    0.212005] smpboot: Total of 2 processors activated (9976.28 BogoMIPS)
[    0.216112] devtmpfs: initialized
[    0.217101] EVM: security.selinux
[    0.219348] EVM: security.SMACK64
[    0.224004] EVM: security.ima
[    0.226993] EVM: security.capability
[    0.228693] pinctrl core: initialized pinctrl subsystem
[    0.231786] regulator-dummy: no parameters
[    0.236033] RTC time: 11:28:12, date: 08/09/16
[    0.238745] NET: Registered protocol family 16
[    0.240081] cpuidle: using governor ladder
[    0.242598] cpuidle: using governor menu
[    0.244034] ACPI: bus type PCI registered
[    0.246507] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.252238] PCI: Using configuration type 1 for base access
[    0.256089] bio: create slab <bio-0> at 0
[    0.258541] ACPI: Added _OSI(Module Device)
[    0.260005] ACPI: Added _OSI(Processor Device)
[    0.262656] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.264004] ACPI: Added _OSI(Processor Aggregator Device)
[    0.271414] ACPI: Interpreter enabled
[    0.276007] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20131115/hwxface-580)
[    0.281688] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131115/hwxface-580)
[    0.285692] ACPI: (supports S0 S3 S4 S5)
[    0.288004] ACPI: Using IOAPIC for interrupt routing
[    0.290926] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.313382] ACPI: No dock devices found.
[    0.354423] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.356009] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.359771] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.360066] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.364760] acpiphp: Slot [0] registered
[    0.367885] acpiphp: Slot [3] registered
[    0.368255] acpiphp: Slot [4] registered
[    0.370971] acpiphp: Slot [5] registered
[    0.372275] acpiphp: Slot [6] registered
[    0.375030] acpiphp: Slot [7] registered
[    0.376255] acpiphp: Slot [8] registered
[    0.378951] acpiphp: Slot [9] registered
[    0.380251] acpiphp: Slot [10] registered
[    0.383002] acpiphp: Slot [11] registered
[    0.384263] acpiphp: Slot [12] registered
[    0.387155] acpiphp: Slot [13] registered
[    0.388245] acpiphp: Slot [14] registered
[    0.390975] acpiphp: Slot [15] registered
[    0.392250] acpiphp: Slot [16] registered
[    0.394975] acpiphp: Slot [17] registered
[    0.396256] acpiphp: Slot [18] registered
[    0.399078] acpiphp: Slot [19] registered
[    0.400277] acpiphp: Slot [20] registered
[    0.403097] acpiphp: Slot [21] registered
[    0.404269] acpiphp: Slot [22] registered
[    0.407073] acpiphp: Slot [23] registered
[    0.408240] acpiphp: Slot [24] registered
[    0.411036] acpiphp: Slot [25] registered
[    0.412257] acpiphp: Slot [26] registered
[    0.415167] acpiphp: Slot [27] registered
[    0.416241] acpiphp: Slot [28] registered
[    0.418952] acpiphp: Slot [29] registered
[    0.420253] acpiphp: Slot [30] registered
[    0.423010] acpiphp: Slot [31] registered
[    0.424269] PCI host bridge to bus 0000:00
[    0.427039] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.428005] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7]
[    0.431567] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff]
[    0.432005] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff]
[    0.435915] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfbffffff]
[    0.441271] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
[    0.441271] * this clock source is slow. Consider trying other clock sources
[    0.445025] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.453428] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
[    0.458438] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.462875] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.467411] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
[    0.486125] ACPI: Enabled 2 GPEs in block 00 to 0F
[    0.488121] xen:balloon: Initialising balloon driver
[    0.492034] xen_balloon: Initialising balloon driver
[    0.496077] vgaarb: setting as boot device: PCI:0000:00:02.0
[    0.499270] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.504006] vgaarb: loaded
[    0.505973] vgaarb: bridge control possible 0000:00:02.0
[    0.508152] SCSI subsystem initialized
[    0.512005] init_memory_mapping: [mem 0x1f0000000-0x1f7ffffff]
[    0.516006] ACPI: bus type USB registered
[    0.516006] usbcore: registered new interface driver usbfs
[    0.520011] usbcore: registered new interface driver hub
[    0.524018] usbcore: registered new device driver usb
[    0.528090] PCI: Using ACPI for IRQ routing
[    0.530964] NetLabel: Initializing
[    0.532005] NetLabel:  domain hash size = 128
[    0.534669] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.536016] NetLabel:  unlabeled traffic allowed by default
[    0.539215] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[    0.540018] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.544004] hpet0: 3 comparators, 64-bit 62.500000 MHz counter
[    0.550056] Switched to clocksource xen
[    0.554673] AppArmor: AppArmor Filesystem Enabled
[    0.557553] pnp: PnP ACPI init
[    0.559636] ACPI: bus type PNP registered
[    0.562184] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
[    0.566099] system 00:02: [io  0x08a0-0x08a3] has been reserved
[    0.569446] system 00:02: [io  0x0cc0-0x0ccf] has been reserved
[    0.572761] system 00:02: [io  0x04d0-0x04d1] has been reserved
[    0.576328] system 00:0a: [io  0x10c0-0x1141] has been reserved
[    0.579647] system 00:0a: [io  0xb044-0xb047] has been reserved
[    0.597639] pnp: PnP ACPI: found 11 devices
[    0.600253] ACPI: bus type PNP unregistered
[    0.610445] NET: Registered protocol family 2
[    0.613296] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.617769] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.621569] TCP: Hash tables configured (established 65536 bind 65536)
[    0.625163] TCP: reno registered
[    0.627304] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[    0.630704] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[    0.634757] NET: Registered protocol family 1
[    0.637534] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.640873] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.644290] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.647920] Trying to unpack rootfs image as initramfs...
[    0.750397] Freeing initrd memory: 7116K (ffff88003720a000 - ffff8800378fd000)
[    0.754803] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.758458] software IO TLB [mem 0xec000000-0xf0000000] (64MB) mapped at [ffff8800ec000000-ffff8800efffffff]
[    0.764193] microcode: CPU0 sig=0x306e4, pf=0x1, revision=0x415
[    0.768370] microcode: CPU1 sig=0x306e4, pf=0x1, revision=0x415
[    0.771751] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    0.776692] Scanning for low memory corruption every 60 seconds
[    0.780295] Initialise system trusted keyring
[    0.782979] audit: initializing netlink socket (disabled)
[    0.786140] type=2000 audit(1470742093.371:1): initialized
[    0.811220] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.815730] zbud: loaded
[    0.817732] VFS: Disk quotas dquot_6.5.2
[    0.820269] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.824225] fuse init (API version 7.22)
[    0.826817] msgmni has been set to 14954
[    0.829324] Key type big_key registered
[    0.832439] Key type asymmetric registered
[    0.834951] Asymmetric key parser 'x509' registered
[    0.837962] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.842423] io scheduler noop registered
[    0.844973] io scheduler deadline registered (default)
[    0.847975] io scheduler cfq registered
[    0.850464] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.853649] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.857613] ipmi message handler version 39.2
[    0.860320] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.864663] ACPI: Power Button [PWRF]
[    0.866995] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[    0.871350] ACPI: Sleep Button [SLPF]
[    0.873773] GHES: HEST is not enabled!
[    0.876740] xen:grant_table: Grant tables using version 1 layout
[    0.880274] Grant table initialized
[    0.882702] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[    0.886073] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.916007] 00:09: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    0.922350] Linux agpgart interface v0.103
[    0.926304] brd: module loaded
[    0.929109] loop: module loaded
[    0.957531] scsi0 : ata_piix
[    0.960719] scsi1 : ata_piix
[    0.963799] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[    0.965757] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[    0.975225] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[    0.975718]  xvda: xvda1
[    0.976829] blkfront: xvdb: flush diskcache: enabled; persistent grants: disabled; indirect descriptors: enabled;
[    0.978242]  xvdb: unknown partition table
[    0.978454] Setting capacity to 62899200
[    0.978456] xvdb: detected capacity change from 0 to 32204390400
[    0.997277] libphy: Fixed MDIO Bus: probed
[    1.000651] tun: Universal TUN/TAP device driver, 1.6
[    1.003589] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.007164] PPP generic driver version 2.4.2
[    1.009848] xen_netfront: Initialising Xen virtual ethernet driver
[    1.013805] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.019404] ehci-pci: EHCI PCI platform driver
[    1.023374] ehci-platform: EHCI generic platform driver
[    1.028255] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.032068] ohci-pci: OHCI PCI platform driver
[    1.034853] ohci-platform: OHCI generic platform driver
[    1.037902] uhci_hcd: USB Universal Host Controller Interface driver
[    1.041425] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.047961] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.050932] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.054043] mousedev: PS/2 mouse device common for all mice
[    1.057866] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[    1.061341] rtc_cmos 00:04: alarms up to one day, 114 bytes nvram, hpet irqs
[    1.065266] device-mapper: uevent: version 1.0.3
[    1.065278] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    1.073191] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[    1.078244] ledtrig-cpu: registered to indicate activity on CPUs
[    1.081674] TCP: cubic registered
[    1.084071] NET: Registered protocol family 10
[    1.086933] NET: Registered protocol family 17
[    1.089615] Key type dns_resolver registered
[    1.092437] Loading compiled-in X.509 certificates
[    1.095945] Loaded X.509 cert 'Magrathea: Glacier signing key: eb178a95d58f38dba12bad4c52c4257e44d6ab5b'
[    1.101395] registered taskstats version 1
[    1.105651] Key type trusted registered
[    1.110815] Key type encrypted registered
[    1.113334] AppArmor: AppArmor sha1 policy hashing enabled
[    1.116555] IMA: No TPM chip found, activating TPM-bypass!
[    1.119936] xenbus_probe_frontend: Device with no driver: device/vfb/0
[    1.123612] regulator-dummy: disabling
[    1.126249]   Magic number: 12:778:478
[    1.128732] rtc rtc0: hash matches
[    1.131006] rtc_cmos 00:04: setting system clock to 2016-08-09 11:28:13 UTC (1470742093)
[    1.135865] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.139624] EDD information not available.
[    1.153881] Freeing unused kernel memory: 1336K (ffffffff81d20000 - ffffffff81e6e000)
[    1.158422] Write protecting the kernel read-only data: 12288k
[    1.162048] Freeing unused kernel memory: 764K (ffff880001741000 - ffff880001800000)
[    1.167946] Freeing unused kernel memory: 680K (ffff880001b56000 - ffff880001c00000)
Loading, please wait...
[    1.184381] systemd-udevd[134]: starting version 204
[    1.234329] FDC 0 is a S82078B
[    1.760083] tsc: Refined TSC clocksource calibration: 2493.989 MHz
[    2.243439] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
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.

[    3.397954] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.

done.

Begin: Running /scripts/init-bottom ... [    4.416429] random: nonblocking pool is initialized
done.

 * Starting Mount filesystems on boot�[74G[ OK ]

 * Starting Fix-up sensitive /proc filesystem entries�[74G[ OK ]

 * Starting Populate /dev filesystem�[74G[ OK ]

 * Starting Populate and link to /run filesystem�[74G[ OK ]

 * Stopping Fix-up sensitive /proc filesystem entries�[74G[ OK ]

 * Stopping Populate and link to /run filesystem�[74G[ OK ]

 * Stopping Populate /dev filesystem�[74G[ OK ]

 * Stopping Track if upstart is running in a container�[74G[ OK ]

[    9.623205] EXT4-fs (xvda1): re-mounted. Opts: discard
 * Starting Signal sysvinit that the rootfs is mounted�[74G[ OK ]

 * Starting Clean /tmp directory�[74G[ OK ]

 * Stopping Clean /tmp directory�[74G[ OK ]

 * Starting Initialize or finalize resolvconf�[74G[ OK ]

Cloud-init v. 0.7.5 running 'init-local' at Tue, 09 Aug 2016 11:28:31 +0000. Up 19.12 seconds.

[   20.807021] ISOFS: Unable to identify CD-ROM format.
cloud-init-nonet[20.83]: waiting 10 seconds for network device

 * Starting Signal sysvinit that virtual filesystems are mounted�[74G[ OK ]

 * Starting Signal sysvinit that virtual filesystems are mounted�[74G[ OK ]

 * Starting Bridge udev events into upstart�[74G[ OK ]

 * Starting device node and kernel event manager�[74G[ OK ]

 * Starting Signal sysvinit that remote filesystems are mounted�[74G[ OK ]

 * Starting load modules from /etc/modules�[74G[ OK ]

 * Starting cold plug devices�[74G[ OK ]

 * Starting log initial device creation�[74G[ OK ]

 * Stopping load modules from /etc/modules�[74G[ OK ]

 * Starting Uncomplicated firewall�[74G[ OK ]

 * Starting configure network device security�[74G[ OK ]

 * Starting configure network device security�[74G[ OK ]

 * Starting Mount network filesystems�[74G[ OK ]

 * Stopping Mount network filesystems�[74G[ OK ]

 * Starting Bridge socket events into upstart�[74G[ OK ]

 * Starting configure network device�[74G[ OK ]

 * Starting Mount network filesystems�[74G[ OK ]

 * Stopping Mount network filesystems�[74G[ OK ]

cloud-init-nonet[24.64]: static networking is now up

 * Starting configure network device�[74G[ OK ]

Cloud-init v. 0.7.5 running 'init' at Tue, 09 Aug 2016 11:28:37 +0000. Up 24.93 seconds.

ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++

ci-info: +--------+------+----------------+---------------+-------------------+

ci-info: | Device |  Up  |    Address     |      Mask     |     Hw-Address    |

ci-info: +--------+------+----------------+---------------+-------------------+

ci-info: |   lo   | True |   127.0.0.1    |   255.0.0.0   |         .         |

ci-info: |  eth0  | True | 192.168.23.114 | 255.255.255.0 | 02:c1:66:b8:55:61 |

ci-info: +--------+------+----------------+---------------+-------------------+

ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++

ci-info: +-------+--------------+--------------+---------------+-----------+-------+

ci-info: | Route | Destination  |   Gateway    |    Genmask    | Interface | Flags |

ci-info: +-------+--------------+--------------+---------------+-----------+-------+

ci-info: |   0   |   0.0.0.0    | 192.168.23.1 |    0.0.0.0    |    eth0   |   UG  |

ci-info: |   1   | 192.168.23.0 |   0.0.0.0    | 255.255.255.0 |    eth0   |   U   |

ci-info: +-------+--------------+--------------+---------------+-----------+-------+

 * Stopping cold plug devices�[74G[ OK ]

 * Stopping log initial device creation�[74G[ OK ]

 * Starting enable remaining boot-time encrypted block devices�[74G[ OK ]

Generating public/private rsa key pair.

Your identification has been saved in /etc/ssh/ssh_host_rsa_key.

Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.

The key fingerprint is:

4c:70:64:d6:67:74:0c:c5:6c:87:b4:e4:82:15:fb:f9 root@ip-192-168-23-114

The key's randomart image is:

+--[ RSA 2048]----+

|      ..=. .=O=. |

|       =  .oo=*..|

|        . .oo.o. |

|       o     o . |

|        S     o  |

|               . |

|                E|

|                 |

|                 |

+-----------------+

Generating public/private dsa key pair.

Your identification has been saved in /etc/ssh/ssh_host_dsa_key.

Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.

The key fingerprint is:

38:cf:20:a1:c2:e6:0b:97:c0:5d:0c:60:ad:02:8e:0c root@ip-192-168-23-114

The key's randomart image is:

+--[ DSA 1024]----+

| oo.             |

|E  .o            |

|* . .o           |

|=+.... .         |

|++... + S        |

|oo . . =         |

|..o     o        |

|...              |

| .               |

+-----------------+

Generating public/private ecdsa key pair.

Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.

Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.

The key fingerprint is:

c6:0e:53:3b:00:5e:92:fa:e9:c7:ee:c3:3a:5c:d4:7f root@ip-192-168-23-114

The key's randomart image is:

+--[ECDSA  256]---+

|    o..          |

|   ..+           |

|   .. ...        |

|  .   .+..       |

|   . oo S.       |

|    o .= .. E    |

|   o +  .  .     |

|    + =          |

|    .*o.         |

+-----------------+

Generating public/private ed25519 key pair.

Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.

Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.

The key fingerprint is:

ea:89:b8:56:5e:dc:0b:f8:76:de:be:d4:c0:99:67:0b root@ip-192-168-23-114

The key's randomart image is:

+--[ED25519  256--+

|                 |

|                 |

|                 |

|         . o     |

|     o .S E o    |

|    o +..  * .   |

|   o o.. .. o    |

|  ...oo.oo       |

| .o...oo..+.     |

+-----------------+

 * Stopping Mount filesystems on boot�[74G[ OK ]

 * Starting Signal sysvinit that local filesystems are mounted�[74G[ OK ]

 * Starting configure network device security�[74G[ OK ]

 * Starting flush early job output to logs�[74G[ OK ]

 * Stopping Failsafe Boot Delay�[74G[ OK ]

 * Starting System V initialisation compatibility�[74G[ OK ]

 * Stopping flush early job output to logs�[74G[ OK ]

 * Starting configure virtual network devices�[74G[ OK ]

 * Starting Seed the pseudo random number generator on first boot�[74G[ OK ]

 * Starting Bridge file events into upstart�[74G[ OK ]

 * Stopping Seed the pseudo random number generator on first boot�[74G[ OK ]

 * Starting early crypto disks...       �[80G 
�[74G[ OK ]

Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd

 * Starting D-Bus system message bus�[74G[ OK ]

 * Starting SystemD login management service�[74G[ OK ]

 * Starting AppArmor profiles       �[80G 
�[74G[ OK ]

 * Stopping System V initialisation compatibility�[74G[ OK ]

 * Starting system logging daemon�[74G[ OK ]

 * Starting System V runlevel compatibility�[74G[ OK ]

 * Starting ACPI daemon�[74G[ OK ]

 * Starting Handle applying cloud-config�[74G[ OK ]

 * Starting regular background program processing daemon�[74G[ OK ]

 * Starting deferred execution scheduler�[74G[ OK ]

 * Starting automatic crash report generation�[74G[ OK ]

 * Starting OpenSSH server�[74G[ OK ]

 * Starting CPU interrupts balancing daemon�[74G[ OK ]

Cloud-init v. 0.7.5 running 'modules:config' at Tue, 09 Aug 2016 11:28:49 +0000. Up 36.53 seconds.

open-vm-tools: not starting as this is not a VMware VM

landscape-client is not configured, please run landscape-config.

 * Restoring resolver state...       �[80G 
�[74G[ OK ]

 * Stopping System V runlevel compatibility�[74G[ OK ]



Ubuntu 14.04.4 LTS ip-192-168-23-114 ttyS0

ip-192-168-23-114 login: Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Tue, 09 Aug 2016 11:28:56 +0000. Up 43.78 seconds.
+ apt-get install unzip
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  zip
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 kB of archives.
After this operation, 395 kB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.5 [157 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 157 kB in 0s (7074 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 51167 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-9ubuntu1.5_amd64.deb ...
Unpacking unzip (6.0-9ubuntu1.5) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up unzip (6.0-9ubuntu1.5) ...
+ echo 'Install AWS CLI'
Install AWS CLI
+ curl https://s3.amazonaws.com/aws-cli/awscli-bundle.zip -o awscli-bundle.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 6984k    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0 6984k    0 34450    0     0  14359      0  0:08:18  0:00:02  0:08:16 14354
  0 6984k    0 69266    0     0  20057      0  0:05:56  0:00:03  0:05:53 20053
  1 6984k    1  134k    0     0  30335      0  0:03:55  0:00:04  0:03:51 30335
  2 6984k    2  186k    0     0  35388      0  0:03:22  0:00:05  0:03:17 40733
  4 6984k    4  304k    0     0  48319      0  0:02:28  0:00:06  0:02:22 63495
  7 6984k    7  525k    0     0  71304      0  0:01:40  0:00:07  0:01:33 97845
 13 6984k   13  917k    0     0   109k      0  0:01:03  0:00:08  0:00:55  171k
 22 6984k   22 1597k    0     0   169k      0  0:00:41  0:00:09  0:00:32  299k
 38 6984k   38 2702k    0     0   258k      0  0:00:26  0:00:10  0:00:16  499k
 56 6984k   56 3977k    0     0   348k      0  0:00:20  0:00:11  0:00:09  742k
 79 6984k   79 5541k    0     0   445k      0  0:00:15  0:00:12  0:00:03 1027k
100 6984k  100 6984k    0     0   535k      0  0:00:13  0:00:13 --:--:-- 1306k
+ unzip awscli-bundle.zip
Archive:  awscli-bundle.zip
  inflating: awscli-bundle/install   
  inflating: awscli-bundle/packages/jmespath-0.9.0.tar.gz  
  inflating: awscli-bundle/packages/simplejson-3.3.0.tar.gz  
  inflating: awscli-bundle/packages/botocore-1.4.43.tar.gz  
  inflating: awscli-bundle/packages/ordereddict-1.1.tar.gz  
  inflating: awscli-bundle/packages/awscli-1.10.53.tar.gz  
  inflating: awscli-bundle/packages/rsa-3.4.2.tar.gz  
  inflating: awscli-bundle/packages/futures-3.0.5.tar.gz  
  inflating: awscli-bundle/packages/docutils-0.12.tar.gz  
  inflating: awscli-bundle/packages/s3transfer-0.1.1.tar.gz  
  inflating: awscli-bundle/packages/colorama-0.3.7.zip  
  inflating: awscli-bundle/packages/argparse-1.2.1.tar.gz  
  inflating: awscli-bundle/packages/pyasn1-0.1.9.tar.gz  
  inflating: awscli-bundle/packages/virtualenv-13.0.3.tar.gz  
  inflating: awscli-bundle/packages/python-dateutil-2.5.3.tar.gz  
  inflating: awscli-bundle/packages/six-1.10.0.tar.gz  
+ ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
Running cmd: /usr/bin/python virtualenv.py --python /usr/bin/python /usr/local/aws
Running cmd: /usr/local/aws/bin/pip install --no-index --find-links file:///awscli-bundle/packages awscli-1.10.53.tar.gz
You can now run: /usr/local/bin/aws --version
+ echo 'Installing Docker'
Installing Docker
+ sudo hostname ucp-controller
+ export HOSTNAME=ucp-controller
+ HOSTNAME=ucp-controller
+ sudo sed -i s/localhost/ucp-controller/g /etc/hosts
sudo: unable to resolve host ucp-controller
+ echo ucp-controller
+ sudo tee /etc/hostname
ucp-controller
+ curl -sSL https://packages.docker.com/1.11/install.sh
+ sh
modprobe: FATAL: Module aufs not found.
+ sh -c sleep 3; apt-get update
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources [379 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [160 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources [7137 B]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [884 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [368 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [427 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [193 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources [9561 B]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:20 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:28 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:31 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:32 http://security.ubuntu.com trusty-security/main Sources [118 kB]
Get:33 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
Get:34 http://security.ubuntu.com trusty-security/main amd64 Packages [514 kB]
Get:35 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:36 http://security.ubuntu.com trusty-security/main Translation-en [283 kB]
Get:37 http://security.ubuntu.com trusty-security/universe Translation-en [77.2 kB]
Fetched 11.6 MB in 4s (2692 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q linux-image-extra-3.13.0-87-generic linux-image-extra-virtual
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-93-generic
  linux-image-generic wireless-regdb
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-93-generic
The following NEW packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-87-generic
  linux-image-extra-3.13.0-93-generic linux-image-extra-virtual
  linux-image-generic wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 25 not upgraded.
Need to get 122 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu3 [45.7 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu3 [10.2 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-93-generic amd64 3.13.0-93.140 [15.3 MB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6456 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.22 [33.2 MB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-87-generic amd64 3.13.0-87.133 [36.7 MB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-93-generic amd64 3.13.0-93.140 [36.7 MB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.93.100 [2276 B]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual amd64 3.13.0.93.100 [1766 B]
Fetched 122 MB in 7s (15.8 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ... 51185 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package linux-image-3.13.0-93-generic.
Preparing to unpack .../linux-image-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.22_all.deb ...
Unpacking linux-firmware (1.127.22) ...
Selecting previously unselected package linux-image-extra-3.13.0-87-generic.
Preparing to unpack .../linux-image-extra-3.13.0-87-generic_3.13.0-87.133_amd64.deb ...
Unpacking linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
Selecting previously unselected package linux-image-extra-3.13.0-93-generic.
Preparing to unpack .../linux-image-extra-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Unpacking linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-generic (3.13.0.93.100) ...
Selecting previously unselected package linux-image-extra-virtual.
Preparing to unpack .../linux-image-extra-virtual_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iw (3.4-1) ...
Setting up linux-firmware (1.127.22) ...
Setting up linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic

Here's the relevant

@bchav

This comment has been minimized.

Show comment
Hide comment
@bchav

bchav Aug 9, 2016

Contributor

Are you using a private Route53 Hosted Zone, by chance? We currently require a public Hosted Zone.

Contributor

bchav commented Aug 9, 2016

Are you using a private Route53 Hosted Zone, by chance? We currently require a public Hosted Zone.

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 9, 2016

@bchav unfortunately no. The hosted zone is public. I used this hosted zone to successfully deploy the stack once so I don't believe the issue is there. I deployed it via the AWS console, then deleted it, and deployed via Ansible and stack failed to create.

ahawkins commented Aug 9, 2016

@bchav unfortunately no. The hosted zone is public. I used this hosted zone to successfully deploy the stack once so I don't believe the issue is there. I deployed it via the AWS console, then deleted it, and deployed via Ansible and stack failed to create.

@bchav

This comment has been minimized.

Show comment
Hide comment
@bchav

bchav Aug 9, 2016

Contributor

Can you email me the CFN stack ID of a failed stack? chavisb@amazon.com

Contributor

bchav commented Aug 9, 2016

Can you email me the CFN stack ID of a failed stack? chavisb@amazon.com

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 9, 2016

sent 🙇

ahawkins commented Aug 9, 2016

sent 🙇

@bchav bchav self-assigned this Aug 9, 2016

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 10, 2016

@bchav

From the cloud init output on DTRReplica01

Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-09T11:39:48Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-09T11:39:48Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-09T11:40:59Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.211] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-09T11:41:00Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.211 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-09T11:41:00Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-09T11:41:09Z" level=error msg="Server response: the system is unlicensed\n"
time="2016-08-09T11:41:09Z" level=fatal msg="Failed to add host to UCP: the system is unlicensed\n"
2016-08-09 11:41:09,776 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-08-09 11:41:09,782 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-08-09 11:41:09,782 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Tue, 09 Aug 2016 11:41:09 +0000. Datasource DataSourceEc2.  Up 298.75 seconds

The user data on the instance looks correct:

#!/bin/bash
export PRIVATE_IP=`curl http://169.254.169.254/latest/meta-data/local-ipv4`
export UCP_URL=https://192.168.23.114
export DTRFQDN=dtr.nonproduction.ap-southeast-1.saltside.io
export UCPFQDN=ucp.nonproduction.ap-southeast-1.saltside.io
curl --insecure $UCP_URL/ca > ca.pem
export UCP_FINGERPRINT=$(openssl x509 -in ca.pem -noout -sha256 -fingerprint | awk -F= '{ print $2 }' )
# Installing UCP Node
sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url $UCP_URL --fingerprint $UCP_FINGERPRINT
# Installing DTR Replica
sleep 30
sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://$UCPFQDN --ucp-node  dtr-replica-01 --dtr-external-url $DTRFQDN:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
# Wait Handle: DTR tests itself to ensure it's responding before signaling CFN. Try in an infinite loop. Wait Handle will tear down stack if timeout exceeded
# Defining function:
checkcontroller()
{
if [[ $(curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://$PRIVATE_IP/load_balancer_status) -eq 200 ]]
then /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/0fc3df20-5e23-11e6-b6e4-500c336f38ba/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470828235&Signature=u05LRJrcqso2ztNmes2wYqOVQvE%3D'
else sleep 3 && echo "checking Controller until CFN times out.." && checkcontroller
fi
}
# Calling function:
checkcontroller

Now, here's the controller as well. Seems everything went fine

+ sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/docker_subscription.lic:/docker_subscription.lic -e UCP_ADMIN_PASSWORD=ddconaws --name ucp docker/ucp:1.1.1 install --host-address 192.168.23.114 --san 192.168.23.114 --san ucp.nonproduction.ap-southeast-1.saltside.io
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
61351977b3a5: Pull complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-09T11:32:12Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-09T11:32:12Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-09T11:32:12Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-09T11:33:45Z" level=info msg="Installing UCP with host address 192.168.23.114 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-09T11:33:46Z" level=info msg="Checking that required ports are available and accessible"
time="2016-08-09T11:33:48Z" level=info msg="Generating UCP Cluster Root CA"
time="2016-08-09T11:34:18Z" level=info msg="Generating UCP Client Root CA"
time="2016-08-09T11:34:28Z" level=info msg="Deploying UCP Containers"
time="2016-08-09T11:34:38Z" level=warning msg="User supplied license appears corrupt - skipping injection. invalid character 'k' looking for beginning of object key string"
time="2016-08-09T11:34:39Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-09T11:34:40Z" level=info msg="Successfully delivered signal to daemon"
time="2016-08-09T11:34:40Z" level=info msg="UCP instance ID: 5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE"
time="2016-08-09T11:34:40Z" level=info msg="UCP Server SSL: SHA-256 Fingerprint=A0:14:3D:3B:08:62:16:62:E9:FB:8B:4B:BD:C5:85:C4:90:3F:14:9E:08:DA:6B:F7:1A:3E:A0:ED:30:CE:FF:F7"
time="2016-08-09T11:34:40Z" level=info msg="Login as \"admin\"/(your admin password) to UCP at https://192.168.23.114:443"
+ sleep 3
+ echo 'Create Root CA Backup'
Create Root CA Backup
++ sudo docker run --rm --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 id
time="2016-08-09T11:34:44Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
+ export ID=5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE
+ ID=5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE
+ sudo docker run --rm --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 backup --root-ca-only --id 5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE --passphrase ddconaws
INFO[0000] Your engine version 1.11.2-cs3 is compatible
INFO[0000] Temporarily stopping the local CA containers to ensure a consistent backup
INFO[0000] Beginning backup
INFO[0000] Backup completed successfully
INFO[0000] Resuming stopped UCP containers
+ echo 'Copy cert bundle to S3'
Copy cert bundle to S3
+ aws s3 cp certs.backup.tar s3://docker-data-center-ddcbucket-1inadna9g44tc/cabackup/ucp.nonproduction.ap-southeast-1.saltside.io.certs.backup.tar --region ap-southeast-1
upload: ./certs.backup.tar to s3://docker-data-center-ddcbucket-1inadna9g44tc/cabackup/ucp.nonproduction.ap-southeast-1.saltside.io.certs.backup.tar
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.114/_ping
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/0fc3df20-5e23-11e6-b6e4-500c336f38ba/WaitHandle01?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470828235&Signature=OKSE1OKOQ8DHw8K4Lo5T2cU7NyA%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Tue, 09 Aug 2016 11:34:49 +0000. Datasource DataSourceEc2.  Up 395.88 seconds

EDIT

Given the controller came up OK, I hit the ELB URL to check the UCP status. I was greeted with this image

screen shot 2016-08-10 at 10 36 05 am

So I revisited the controller log. It seems something strange is happening. The quotes inside the JSON license file are removed. Here's the snippet from the cloud init output on the controller.

+ INPUT='{key_id:BqaSLGsW5hkabJIJOUUYLC1CPYe2T6u-xvvqxsq, private_key: 4OF9sZWUtwq0r1cyWNNsdsi29Pp38AuJVP3Z_HfOT9X9, authorization: ewogICAicGF5bG9hZCI6ICJleUpsZUhCcGNtRjBhVzl1SWpvaU1qQXhOaTB3T1Mwd05GUXdOVG8wT1RvME4xb2lMQ0owYjJ0bGJpSTZJaTFFUVVWU1ptcHJOREIzTUhrNFdrMUNaR2t3WjJSME1WQXpNRzVKVVZJeFduaHFNV1V3WW01cVFuYzlJaXdpYldGNFJXNW5hVzVsY3lJNk15d2liR2xqWlc1elpWUjVjR1VpT2lKUGJteHBibVVpTENKMGFXVnlJam9pVkhKcFlXd2lmUSIsCiAgICJzaWduYXR1cmVzIjogWwogICAgICB7CiAgICAgICAgICJoZWFkZXIiOiB7CiAgICAgICAgICAgICJqd2siOiB7CiAgICAgICAgICAgICAgICJlIjogIkFRQUIiLAogICAgICAgICAgICAgICAia2V5AiSjdMRDo2N1ZSOkw1SFo6VTdCQToyTzRHOjRBTDM6T0YyTjpKSEdCOkVGVEg6NUNWUTpNRkVPOkFFSVQiLAogICAgICAgICAgICAgICAia2lkIjogIko3TEQ6NjdWUjpMNUhaOlU3QkE6Mk80Rzo0QUwzOk9GMk46SkhHQjpFRlRIOjVDVlE6TUZFTzpBRUlUIiwKICAgICAgICAgICAgICAgImt0eSI6ICJSU0EiLAogICAgICAgICAgICAgICAibiI6ICJ5ZEl5LWxVN283UGNlWS00LXMtQ1E1T0VnQ3lGOEN4SWNRSVd1Szg0cElpWmNpWTY3MzB5Q1lud0xTS1Rsdy1VNlVDX1FSZVdSaW9NTk5FNURzNVRZRVhiR0c2b2xtMnFkV2JCd2NDZy0yVVVIX09jQjlXdVA2Z1JQSHBNRk1zeER6V3d2YXk4SlV1SGdZVUxVcG0xSXYtbXE3bHA1blFfUnhyVDBLWlJBUVRZTEVNRWZHd20zaE1PX2dlTFBTLWhnS1B0SUhsa2c2X1djb3hUR29LUDc5ZF93YUhZeEdObDdXaFNuZWlCU3hicGJRQUtrMjFsZzc5OFhiN3ZaeUVBVERNclJSOU1lRTZBZGo1SEpwWTNDb3lSQVBDbWFLR1JDSzR1b1pTb0l1MGhGVmxLVVB5YmJ3MDAwR08td2EyS044VXdnSUltMGk1STF1VzlHa3E0empCeTV6aGdxdVVYYkc5YldQQU9ZcnE1UWE4MUR4R2NCbEp5SFlBcC1ERFBFOVRHZzR6WW1YakpueFpxSEVkdUdxZGV2WjhYTUkwdWtma0dJSTE0d1VPaU1JSUlyWGxFY0JmXzQ2SThnUVdEenh5Y1plX0pHWC1MQXVheVhyeXJVRmVoVk5VZFpVbDl3WE5hSkIta2FDcXo1UXdhUjkzc0d3LVFTZnREME52TGU3Q3lPSC1FNnZnNlN0X05lVHZndjhZbmhDaVhJbFo4SE9mSXdOZTd0RUZfVWN6NU9iUHlrbTN0eWxyTlVqdDBWeUFtdHRhY1ZJMmlHaWhjVVBybWs0bFZJWjdWRF9MU1ctaTd5b1N1cnRwc1BYY2UycEtESW8zMGxKR2hPXzNLVW1sMlNVWkNxekoxeUVtS3B5c0g1SERXOWNzSUZDQTNkZUFqZlpVdk43VSIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImFsZyI6ICJSUzI1NiIKICAgICAgICAgfSwKICAgICAgICAgInNpZ25hdHVyZSI6ICJJN0dNYWRUYzFqbURyN0VMX1ctQnF4dVFoWnVNRkgwbWVZZkFKLWNadzR6cFJEOVBZRTNSNjRKbWxGT1FYbkh5dlU1QmtFU0YxcGxGSHp4cmtMdHFnN29xRmhENjZmNFU1ZkR1a1ZlVEFfMFhFODBlcXd6dEhLY1pkc3pKMGl3WXZ6Q2RKeGE4X3ZCNGJmV0llTno2MWdqQUJ5MnBLZUZQb1RjanppcWtpVVNtTmlWNVhsbUtmTVNjS3F4QXF3dWRFUGxNejF5YzY2czlocDFCSmdic3FOM2xqeFhwY0NlTjNaWmk5OEJSWG42dkdPMm1GWlgwOHh4dGJBNnJzOWxjN0ZLWE5heTBfWmtUWWIwS2NsZDRoTXQ3dFlLQUJPRnFQLUJ1Rmd3UEQ5N3VBekhjVjB3QjkzREZ4SkI0ai1NME9NUUt1cnc3Tkx1bVN1a3doa0s0WW9xZ1JiV3ZzNU5QT3hoRF9hOWxKUmsxalpLRDZiU2pZNmlaLVdTQ1NQbVZwU3lIY3NOSGVoU3h4WnpZTkpsbktUZzFlcFhYd3VqZVBxYVkyRnBsTTQtWmpTbWxESkhfeVN0TnVCRFRDS3B5TUl4QzJSc0xNVF9vSExhMkY0UWN6TVFsX1dhU3N5WXJFSGZxYkZqeHFqRm5NZG5CaGJ6Nm85dHEyUUN0MkluQVBlVlpBbkh4REtjZGNMWTQ0OU1LSEpFVV9tQnRNdGdtUDFNVER2Y2cxMzBfc3VsVzJ0VnNFZkJnTkV5VERsTk9yT1dQc3NSc3V0Z0VQWDM2Z2F2bFJRWjhyNWxhWjJiXzd1ZUh0cV9pcnc1cHQyVi0zem83MkxoZEVmRmdhRnlYem9BNjh2WENhNFBGWTV1TXVVQWl6YU94UlVHODJ3aU5NSGhENEJrbWwzWSIsCiAgICAgICAgICJwcm90ZWN0ZWQiOiAiZXlKbWIzSnRZWFJNWlc1bmRHZ2lPakUwTkN3aVptOXliV0YwVkdGcGJDSTZJbVpSSWl3aWRHbHRaU0k2SWpJd01UWXRNRGd0TUROVU1EVTZOVEE2TWpOYUluMCIKICAgICAgfQogICBdCn0=}'

Note that I've removed some random characters from the license itself so I can share it in "complete" form. It's curious because I used my saved license file and it worked ok. Something is going wrong somewhere. My idea is that quotes are removed from the JSON some how in the cloud init part and docker is ignoring this rather than exiting with an "invalid license error" or the like.

ahawkins commented Aug 10, 2016

@bchav

From the cloud init output on DTRReplica01

Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-09T11:39:48Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-09T11:39:48Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-09T11:40:59Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.211] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-09T11:41:00Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.211 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-09T11:41:00Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-09T11:41:09Z" level=error msg="Server response: the system is unlicensed\n"
time="2016-08-09T11:41:09Z" level=fatal msg="Failed to add host to UCP: the system is unlicensed\n"
2016-08-09 11:41:09,776 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-08-09 11:41:09,782 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-08-09 11:41:09,782 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Tue, 09 Aug 2016 11:41:09 +0000. Datasource DataSourceEc2.  Up 298.75 seconds

The user data on the instance looks correct:

#!/bin/bash
export PRIVATE_IP=`curl http://169.254.169.254/latest/meta-data/local-ipv4`
export UCP_URL=https://192.168.23.114
export DTRFQDN=dtr.nonproduction.ap-southeast-1.saltside.io
export UCPFQDN=ucp.nonproduction.ap-southeast-1.saltside.io
curl --insecure $UCP_URL/ca > ca.pem
export UCP_FINGERPRINT=$(openssl x509 -in ca.pem -noout -sha256 -fingerprint | awk -F= '{ print $2 }' )
# Installing UCP Node
sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url $UCP_URL --fingerprint $UCP_FINGERPRINT
# Installing DTR Replica
sleep 30
sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://$UCPFQDN --ucp-node  dtr-replica-01 --dtr-external-url $DTRFQDN:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
# Wait Handle: DTR tests itself to ensure it's responding before signaling CFN. Try in an infinite loop. Wait Handle will tear down stack if timeout exceeded
# Defining function:
checkcontroller()
{
if [[ $(curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://$PRIVATE_IP/load_balancer_status) -eq 200 ]]
then /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/0fc3df20-5e23-11e6-b6e4-500c336f38ba/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470828235&Signature=u05LRJrcqso2ztNmes2wYqOVQvE%3D'
else sleep 3 && echo "checking Controller until CFN times out.." && checkcontroller
fi
}
# Calling function:
checkcontroller

Now, here's the controller as well. Seems everything went fine

+ sudo docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/docker_subscription.lic:/docker_subscription.lic -e UCP_ADMIN_PASSWORD=ddconaws --name ucp docker/ucp:1.1.1 install --host-address 192.168.23.114 --san 192.168.23.114 --san ucp.nonproduction.ap-southeast-1.saltside.io
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
61351977b3a5: Pull complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-09T11:32:12Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-09T11:32:12Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-09T11:32:12Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-09T11:33:45Z" level=info msg="Installing UCP with host address 192.168.23.114 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-09T11:33:46Z" level=info msg="Checking that required ports are available and accessible"
time="2016-08-09T11:33:48Z" level=info msg="Generating UCP Cluster Root CA"
time="2016-08-09T11:34:18Z" level=info msg="Generating UCP Client Root CA"
time="2016-08-09T11:34:28Z" level=info msg="Deploying UCP Containers"
time="2016-08-09T11:34:38Z" level=warning msg="User supplied license appears corrupt - skipping injection. invalid character 'k' looking for beginning of object key string"
time="2016-08-09T11:34:39Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-09T11:34:40Z" level=info msg="Successfully delivered signal to daemon"
time="2016-08-09T11:34:40Z" level=info msg="UCP instance ID: 5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE"
time="2016-08-09T11:34:40Z" level=info msg="UCP Server SSL: SHA-256 Fingerprint=A0:14:3D:3B:08:62:16:62:E9:FB:8B:4B:BD:C5:85:C4:90:3F:14:9E:08:DA:6B:F7:1A:3E:A0:ED:30:CE:FF:F7"
time="2016-08-09T11:34:40Z" level=info msg="Login as \"admin\"/(your admin password) to UCP at https://192.168.23.114:443"
+ sleep 3
+ echo 'Create Root CA Backup'
Create Root CA Backup
++ sudo docker run --rm --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 id
time="2016-08-09T11:34:44Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
+ export ID=5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE
+ ID=5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE
+ sudo docker run --rm --name ucp -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 backup --root-ca-only --id 5IIJ:WAMV:2R27:ZVWM:GBEF:VNHO:52TX:CTRL:QQN2:FQJK:OQ52:IQZE --passphrase ddconaws
INFO[0000] Your engine version 1.11.2-cs3 is compatible
INFO[0000] Temporarily stopping the local CA containers to ensure a consistent backup
INFO[0000] Beginning backup
INFO[0000] Backup completed successfully
INFO[0000] Resuming stopped UCP containers
+ echo 'Copy cert bundle to S3'
Copy cert bundle to S3
+ aws s3 cp certs.backup.tar s3://docker-data-center-ddcbucket-1inadna9g44tc/cabackup/ucp.nonproduction.ap-southeast-1.saltside.io.certs.backup.tar --region ap-southeast-1
upload: ./certs.backup.tar to s3://docker-data-center-ddcbucket-1inadna9g44tc/cabackup/ucp.nonproduction.ap-southeast-1.saltside.io.certs.backup.tar
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.114/_ping
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/0fc3df20-5e23-11e6-b6e4-500c336f38ba/WaitHandle01?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470828235&Signature=OKSE1OKOQ8DHw8K4Lo5T2cU7NyA%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Tue, 09 Aug 2016 11:34:49 +0000. Datasource DataSourceEc2.  Up 395.88 seconds

EDIT

Given the controller came up OK, I hit the ELB URL to check the UCP status. I was greeted with this image

screen shot 2016-08-10 at 10 36 05 am

So I revisited the controller log. It seems something strange is happening. The quotes inside the JSON license file are removed. Here's the snippet from the cloud init output on the controller.

+ INPUT='{key_id:BqaSLGsW5hkabJIJOUUYLC1CPYe2T6u-xvvqxsq, private_key: 4OF9sZWUtwq0r1cyWNNsdsi29Pp38AuJVP3Z_HfOT9X9, authorization: ewogICAicGF5bG9hZCI6ICJleUpsZUhCcGNtRjBhVzl1SWpvaU1qQXhOaTB3T1Mwd05GUXdOVG8wT1RvME4xb2lMQ0owYjJ0bGJpSTZJaTFFUVVWU1ptcHJOREIzTUhrNFdrMUNaR2t3WjJSME1WQXpNRzVKVVZJeFduaHFNV1V3WW01cVFuYzlJaXdpYldGNFJXNW5hVzVsY3lJNk15d2liR2xqWlc1elpWUjVjR1VpT2lKUGJteHBibVVpTENKMGFXVnlJam9pVkhKcFlXd2lmUSIsCiAgICJzaWduYXR1cmVzIjogWwogICAgICB7CiAgICAgICAgICJoZWFkZXIiOiB7CiAgICAgICAgICAgICJqd2siOiB7CiAgICAgICAgICAgICAgICJlIjogIkFRQUIiLAogICAgICAgICAgICAgICAia2V5AiSjdMRDo2N1ZSOkw1SFo6VTdCQToyTzRHOjRBTDM6T0YyTjpKSEdCOkVGVEg6NUNWUTpNRkVPOkFFSVQiLAogICAgICAgICAgICAgICAia2lkIjogIko3TEQ6NjdWUjpMNUhaOlU3QkE6Mk80Rzo0QUwzOk9GMk46SkhHQjpFRlRIOjVDVlE6TUZFTzpBRUlUIiwKICAgICAgICAgICAgICAgImt0eSI6ICJSU0EiLAogICAgICAgICAgICAgICAibiI6ICJ5ZEl5LWxVN283UGNlWS00LXMtQ1E1T0VnQ3lGOEN4SWNRSVd1Szg0cElpWmNpWTY3MzB5Q1lud0xTS1Rsdy1VNlVDX1FSZVdSaW9NTk5FNURzNVRZRVhiR0c2b2xtMnFkV2JCd2NDZy0yVVVIX09jQjlXdVA2Z1JQSHBNRk1zeER6V3d2YXk4SlV1SGdZVUxVcG0xSXYtbXE3bHA1blFfUnhyVDBLWlJBUVRZTEVNRWZHd20zaE1PX2dlTFBTLWhnS1B0SUhsa2c2X1djb3hUR29LUDc5ZF93YUhZeEdObDdXaFNuZWlCU3hicGJRQUtrMjFsZzc5OFhiN3ZaeUVBVERNclJSOU1lRTZBZGo1SEpwWTNDb3lSQVBDbWFLR1JDSzR1b1pTb0l1MGhGVmxLVVB5YmJ3MDAwR08td2EyS044VXdnSUltMGk1STF1VzlHa3E0empCeTV6aGdxdVVYYkc5YldQQU9ZcnE1UWE4MUR4R2NCbEp5SFlBcC1ERFBFOVRHZzR6WW1YakpueFpxSEVkdUdxZGV2WjhYTUkwdWtma0dJSTE0d1VPaU1JSUlyWGxFY0JmXzQ2SThnUVdEenh5Y1plX0pHWC1MQXVheVhyeXJVRmVoVk5VZFpVbDl3WE5hSkIta2FDcXo1UXdhUjkzc0d3LVFTZnREME52TGU3Q3lPSC1FNnZnNlN0X05lVHZndjhZbmhDaVhJbFo4SE9mSXdOZTd0RUZfVWN6NU9iUHlrbTN0eWxyTlVqdDBWeUFtdHRhY1ZJMmlHaWhjVVBybWs0bFZJWjdWRF9MU1ctaTd5b1N1cnRwc1BYY2UycEtESW8zMGxKR2hPXzNLVW1sMlNVWkNxekoxeUVtS3B5c0g1SERXOWNzSUZDQTNkZUFqZlpVdk43VSIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgImFsZyI6ICJSUzI1NiIKICAgICAgICAgfSwKICAgICAgICAgInNpZ25hdHVyZSI6ICJJN0dNYWRUYzFqbURyN0VMX1ctQnF4dVFoWnVNRkgwbWVZZkFKLWNadzR6cFJEOVBZRTNSNjRKbWxGT1FYbkh5dlU1QmtFU0YxcGxGSHp4cmtMdHFnN29xRmhENjZmNFU1ZkR1a1ZlVEFfMFhFODBlcXd6dEhLY1pkc3pKMGl3WXZ6Q2RKeGE4X3ZCNGJmV0llTno2MWdqQUJ5MnBLZUZQb1RjanppcWtpVVNtTmlWNVhsbUtmTVNjS3F4QXF3dWRFUGxNejF5YzY2czlocDFCSmdic3FOM2xqeFhwY0NlTjNaWmk5OEJSWG42dkdPMm1GWlgwOHh4dGJBNnJzOWxjN0ZLWE5heTBfWmtUWWIwS2NsZDRoTXQ3dFlLQUJPRnFQLUJ1Rmd3UEQ5N3VBekhjVjB3QjkzREZ4SkI0ai1NME9NUUt1cnc3Tkx1bVN1a3doa0s0WW9xZ1JiV3ZzNU5QT3hoRF9hOWxKUmsxalpLRDZiU2pZNmlaLVdTQ1NQbVZwU3lIY3NOSGVoU3h4WnpZTkpsbktUZzFlcFhYd3VqZVBxYVkyRnBsTTQtWmpTbWxESkhfeVN0TnVCRFRDS3B5TUl4QzJSc0xNVF9vSExhMkY0UWN6TVFsX1dhU3N5WXJFSGZxYkZqeHFqRm5NZG5CaGJ6Nm85dHEyUUN0MkluQVBlVlpBbkh4REtjZGNMWTQ0OU1LSEpFVV9tQnRNdGdtUDFNVER2Y2cxMzBfc3VsVzJ0VnNFZkJnTkV5VERsTk9yT1dQc3NSc3V0Z0VQWDM2Z2F2bFJRWjhyNWxhWjJiXzd1ZUh0cV9pcnc1cHQyVi0zem83MkxoZEVmRmdhRnlYem9BNjh2WENhNFBGWTV1TXVVQWl6YU94UlVHODJ3aU5NSGhENEJrbWwzWSIsCiAgICAgICAgICJwcm90ZWN0ZWQiOiAiZXlKbWIzSnRZWFJNWlc1bmRHZ2lPakUwTkN3aVptOXliV0YwVkdGcGJDSTZJbVpSSWl3aWRHbHRaU0k2SWpJd01UWXRNRGd0TUROVU1EVTZOVEE2TWpOYUluMCIKICAgICAgfQogICBdCn0=}'

Note that I've removed some random characters from the license itself so I can share it in "complete" form. It's curious because I used my saved license file and it worked ok. Something is going wrong somewhere. My idea is that quotes are removed from the JSON some how in the cloud init part and docker is ignoring this rather than exiting with an "invalid license error" or the like.

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 10, 2016

@bchav turns out this is my fault. I had an error in my ansible playbook deploying the stack and created the malformed license key. Here was the fix:

          # NOTE: The to_json call is critical! The lookup function parses the JSON
          # file into a data structure. Without to_json the string version is a
          # pythonic representation of the data structure. to_json undoes the loading
          # and keeps the final value as big string of JSON.
          License: "{{ lookup('file', 'files/docker-licensekey.json') | to_json }}"

@bchav turns out this is my fault. I had an error in my ansible playbook deploying the stack and created the malformed license key. Here was the fix:

          # NOTE: The to_json call is critical! The lookup function parses the JSON
          # file into a data structure. Without to_json the string version is a
          # pythonic representation of the data structure. to_json undoes the loading
          # and keeps the final value as big string of JSON.
          License: "{{ lookup('file', 'files/docker-licensekey.json') | to_json }}"

@ahawkins ahawkins closed this Aug 10, 2016

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 11, 2016

@bchav Seems there is a secondary issue. I cannot get DTRReplic01 to complete. The wait handle still fails. Here is the tail and complete log from that machine. The tail is the most interesting.

The tail shows everything completed successfully but the stack still fails.

INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds
Cloud-init v. 0.7.5 running 'init-local' at Thu, 11 Aug 2016 04:08:50 +0000. Up 13.84 seconds.
Cloud-init v. 0.7.5 running 'init' at Thu, 11 Aug 2016 04:08:57 +0000. Up 20.34 seconds.
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: | Device |  Up  |    Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: |   lo   | True |   127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.23.70 | 255.255.255.0 | 02:89:81:95:78:b9 |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination  |   Gateway    |    Genmask    | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: |   0   |   0.0.0.0    | 192.168.23.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: |   1   | 192.168.23.0 |   0.0.0.0    | 255.255.255.0 |    eth0   |   U   |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
06:07:d6:6c:03:b7:78:ff:73:73:da:eb:ca:f8:2d:0e root@ip-192-168-23-70
The key's randomart image is:
+--[ RSA 2048]----+
|      ++.        |
|     . +=.       |
|      o.+.       |
|       + .       |
|        S .      |
|       .   .     |
|           Eo o .|
|            ++.= |
|           .o==+o|
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
12:a9:99:05:47:60:d9:66:28:95:13:54:2e:7a:13:df root@ip-192-168-23-70
The key's randomart image is:
+--[ DSA 1024]----+
|   oBX+          |
|  ..=++.         |
|   .o+=          |
|   . O o         |
|  . * o E        |
|   . . .         |
|                 |
|                 |
|                 |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
cc:d7:da:9e:27:f9:77:de:9c:d5:f0:05:bb:9f:f0:a8 root@ip-192-168-23-70
The key's randomart image is:
+--[ECDSA  256]---+
|                 |
|                 |
|              .  |
|       o   .   o |
|        S . . o .|
|         . o   +o|
|          . .o. +|
|           .o.=oB|
|           E+=.**|
+-----------------+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
cd:d2:94:8f:64:4d:a7:98:ed:3e:bd:a1:1a:f4:65:98 root@ip-192-168-23-70
The key's randomart image is:
+--[ED25519  256--+
|            . .  |
|           B o   |
|          B +    |
|         B + o   |
|        S * E o  |
|         o o +   |
|          . + o  |
|           . o o |
|          ... .  |
+-----------------+
Cloud-init v. 0.7.5 running 'modules:config' at Thu, 11 Aug 2016 04:09:07 +0000. Up 30.23 seconds.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Thu, 11 Aug 2016 04:09:12 +0000. Up 34.39 seconds.
+ echo 'Installing Docker'
Installing Docker
+ sudo hostname dtr-replica-01
+ export HOSTNAME=dtr-replica-01
+ HOSTNAME=dtr-replica-01
+ sudo sed -i s/localhost/dtr-replica-01/g /etc/hosts
sudo: unable to resolve host dtr-replica-01
+ sudo tee /etc/hostname
+ echo dtr-replica-01
dtr-replica-01
+ sh
+ curl -sSL https://packages.docker.com/1.11/install.sh
modprobe: FATAL: Module aufs not found.
+ sh -c sleep 3; apt-get update
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources [380 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [160 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources [7137 B]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [884 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [367 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [427 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [193 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources [9561 B]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:20 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:31 http://security.ubuntu.com trusty-security/main Sources [118 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:33 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
Get:34 http://security.ubuntu.com trusty-security/main amd64 Packages [514 kB]
Get:35 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:36 http://security.ubuntu.com trusty-security/main Translation-en [283 kB]
Get:37 http://security.ubuntu.com trusty-security/universe Translation-en [77.2 kB]
Fetched 11.6 MB in 9s (1258 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q linux-image-extra-3.13.0-87-generic linux-image-extra-virtual
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-93-generic
  linux-image-generic wireless-regdb
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-93-generic
The following NEW packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-87-generic
  linux-image-extra-3.13.0-93-generic linux-image-extra-virtual
  linux-image-generic wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 25 not upgraded.
Need to get 122 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu3 [45.7 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu3 [10.2 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-93-generic amd64 3.13.0-93.140 [15.3 MB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6456 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.22 [33.2 MB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-87-generic amd64 3.13.0-87.133 [36.7 MB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-93-generic amd64 3.13.0-93.140 [36.7 MB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.93.100 [2276 B]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual amd64 3.13.0.93.100 [1766 B]
Fetched 122 MB in 5s (22.5 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ... 51167 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package linux-image-3.13.0-93-generic.
Preparing to unpack .../linux-image-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.22_all.deb ...
Unpacking linux-firmware (1.127.22) ...
Selecting previously unselected package linux-image-extra-3.13.0-87-generic.
Preparing to unpack .../linux-image-extra-3.13.0-87-generic_3.13.0-87.133_amd64.deb ...
Unpacking linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
Selecting previously unselected package linux-image-extra-3.13.0-93-generic.
Preparing to unpack .../linux-image-extra-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Unpacking linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-generic (3.13.0.93.100) ...
Selecting previously unselected package linux-image-extra-virtual.
Preparing to unpack .../linux-image-extra-virtual_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iw (3.4-1) ...
Setting up linux-firmware (1.127.22) ...
Setting up linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-generic (3.13.0.93.100) ...
Setting up linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BRkTbmnSKG --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
gpg: requesting key 6238F52E from hkp server ha.pool.sks-keyservers.net
gpg: key 6238F52E: public key "Docker, Inc. (release key) <security@docker.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://packages.docker.com/1.11/apt/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Get:1 https://packages.docker.com ubuntu-trusty InRelease
Ign https://packages.docker.com ubuntu-trusty InRelease
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Get:2 https://packages.docker.com ubuntu-trusty Release.gpg
Get:3 https://packages.docker.com ubuntu-trusty Release
Get:4 https://packages.docker.com ubuntu-trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Get:5 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:6 https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:7 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:8 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:9 https://packages.docker.com ubuntu-trusty/main Translation-en
Ign https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 9284 B in 4s (1962 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroup-lite git git-man liberror-perl libltdl7
  libsystemd-journal0
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  aufs-tools cgroup-lite docker-engine git git-man liberror-perl libltdl7
  libsystemd-journal0
0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 95.9 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libltdl7 amd64 2.4.2-1.7ubuntu1 [35.0 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2586 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3918 B]
Get:8 https://packages.docker.com/1.11/apt/repo/ ubuntu-trusty/main docker-engine amd64 1.11.2~cs3-0~trusty [14.4 MB]
Fetched 17.9 MB in 2s (6921 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 61148 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.2~cs3-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.2~cs3-0~trusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.2~cs3-0~trusty) ...
docker start/running, process 29173
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

+ sudo usermod -aG docker ubuntu
+ echo 'Install CFN-helper Package'
Install CFN-helper Package
+ apt-get -y install python-pip
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools python-setuptools-whl python-six-whl
  python-urllib3-whl python-wheel python3-pkg-resources
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi
  python-lxml python3-setuptools
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip
  python-pip-whl python-requests-whl python-setuptools python-setuptools-whl
  python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
0 upgraded, 50 newly installed, 0 to remove and 25 not upgraded.
Need to get 41.4 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8636 B]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2081 kB]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-93.140 [771 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1910 kB]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4595 kB]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1688 kB]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5047 kB]
Get:20 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5098 B]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1053 kB]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:31 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:33 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
Get:34 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
Get:35 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
Get:36 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
Get:37 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama all 0.2.5-0.1ubuntu2 [18.4 kB]
Get:38 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
Get:39 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib all 0.1.8-1ubuntu1 [113 kB]
Get:40 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
Get:41 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib all 0.999-3~ubuntu1 [83.5 kB]
Get:42 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
Get:43 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
Get:44 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4 [64.0 kB]
Get:45 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
Get:46 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
Get:47 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu4 [111 kB]
Get:48 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:49 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu4 [97.3 kB]
Get:50 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-wheel all 0.24.0-1~ubuntu1 [44.7 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 41.4 MB in 2s (20.7 MB/s)
Selecting previously unselected package libasan0:amd64.
(Reading database ... 62075 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-93.140_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-93.140) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.1) ...
Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
Setting up linux-libc-dev:amd64 (3.13.0-93.140) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
Setting up dpkg-dev (1.17.5ubuntu5.7) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu4) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-pip (1.5.4-1ubuntu4) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
+ pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
  Running setup.py (path:/tmp/pip-RRHzGW-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

Downloading/unpacking python-daemon>=1.5.2,<2.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon

Downloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from aws-cfn-bootstrap==1.4)
Downloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2,<2.0->aws-cfn-bootstrap==1.4)
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Installing collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile
  Running setup.py install for python-daemon

  Running setup.py install for pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

    Installing pystache script to /usr/local/bin
    Installing pystache-test script to /usr/local/bin
  Running setup.py install for aws-cfn-bootstrap
    changing mode of build/scripts-2.7/cfn-init from 644 to 755
    changing mode of build/scripts-2.7/cfn-signal from 644 to 755
    changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755
    changing mode of build/scripts-2.7/cfn-hup from 644 to 755
    changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755
    /usr/bin/python -O /tmp/tmp2wXkWj.py
    removing /tmp/tmp2wXkWj.py

    changing mode of /usr/local/bin/cfn-signal to 755
    changing mode of /usr/local/bin/cfn-send-cmd-result to 755
    changing mode of /usr/local/bin/cfn-hup to 755
    changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755
    changing mode of /usr/local/bin/cfn-send-cmd-event to 755
    changing mode of /usr/local/bin/cfn-get-metadata to 755
    changing mode of /usr/local/bin/cfn-init to 755
Successfully installed python-daemon pystache aws-cfn-bootstrap lockfile
Cleaning up...
+ cp /usr/local/init/ubuntu/cfn-hup /etc/init.d/cfn-hup
+ chmod +x /etc/init.d/cfn-hup
+ update-rc.d cfn-hup defaults
 Adding system startup for /etc/init.d/cfn-hup ...
   /etc/rc0.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc1.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc6.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc2.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc3.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc4.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc5.d/S20cfn-hup -> ../init.d/cfn-hup
+ service cfn-hup start
 * Starting cfn-hup
   ...done.
++ curl http://169.254.169.254/latest/meta-data/local-ipv4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    13  100    13    0     0    581      0 --:--:-- --:--:-- --:--:--   590
+ export PRIVATE_IP=192.168.23.70
+ PRIVATE_IP=192.168.23.70
+ export UCP_URL=https://192.168.23.6
+ UCP_URL=https://192.168.23.6
+ export DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ export UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ curl --insecure https://192.168.23.6/ca
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1842  100  1842    0     0  38877      0 --:--:-- --:--:-- --:--:-- 39191
++ awk -F= '{ print $2 }'
++ openssl x509 -in ca.pem -noout -sha256 -fingerprint
+ export UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url https://192.168.23.6 --fingerprint D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Pull complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-11T04:12:20Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-11T04:12:20Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-11T04:13:52Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.70] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-11T04:13:52Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.70 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-11T04:13:52Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-11T04:14:14Z" level=info msg="Starting local swarm containers"
time="2016-08-11T04:14:16Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-11T04:14:17Z" level=info msg="Successfully delivered signal to daemon"
+ sleep 30
+ sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-01 --dtr-external-url dtr.ddc.nonproduction.ap-southeast-1.saltside.io:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry installation
INFO[0000] Validating UCP cert
INFO[0014] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0018] UCP cert validation successful
INFO[0036] Checking if the node is okay to install on
INFO[0037] Creating network: dtr-replica-01/dtr-br
INFO[0038] Connecting to network: dtr-replica-01/dtr-br
INFO[0038] Waiting for phase2 container to be known to the Docker daemon
INFO[0039] Creating network: dtr-ol
INFO[0039] Connecting to network: dtr-ol
INFO[0039] Waiting for phase2 container to be known to the Docker daemon
INFO[0041] Starting UCP connectivity test
INFO[0041] UCP connectivity test passed
INFO[0041] Setting up replica volumes...
INFO[0052] Creating initial CA certificates
INFO[0066] Waiting for etcd...
INFO[0075] Generated TLS certificate.                    domain=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
INFO[0075] License config copied from UCP.
INFO[0075] Getting container configuration and starting containers...
INFO[0106] Recreating dtr-etcd-000000000001...
INFO[0111] Recreating dtr-rethinkdb-000000000001...
INFO[0126] Recreating dtr-registry-000000000001...
INFO[0148] Recreating dtr-api-000000000001...
INFO[0171] Recreating dtr-nginx-000000000001...
INFO[0203] Waiting for etcd...
INFO[0213] Verifying auth settings...
INFO[0213] Waiting for etcd...
INFO[0213] Waiting for DTR to start...
INFO[0264] Waiting for DTR to start...
INFO[0284] Waiting for DTR to start...
INFO[0304] Waiting for DTR to start...
INFO[0324] Waiting for DTR to start...
INFO[0344] Waiting for DTR to start...
INFO[0364] Waiting for DTR to start...
INFO[0384] Waiting for DTR to start...
INFO[0404] Waiting for DTR to start...
INFO[0424] Waiting for DTR to start...
INFO[0444] Waiting for DTR to start...
INFO[0464] Waiting for DTR to start...
INFO[0484] Waiting for DTR to start...
INFO[0504] Waiting for DTR to start...
INFO[0524] Waiting for DTR to start...
INFO[0544] Waiting for DTR to start...
INFO[0564] Waiting for DTR to start...
INFO[0584] Waiting for DTR to start...
INFO[0600] Waiting for DTR to start...
INFO[0620] Waiting for DTR to start...
INFO[0640] Waiting for DTR to start...
INFO[0660] Waiting for DTR to start...
INFO[0680] Waiting for DTR to start...
INFO[0700] Waiting for DTR to start...
INFO[0720] Waiting for DTR to start...
INFO[0740] Waiting for DTR to start...
INFO[0760] Waiting for DTR to start...
INFO[0780] Waiting for DTR to start...
INFO[0800] Waiting for DTR to start...
INFO[0820] Waiting for DTR to start...
WARN[0840] Couldn't confirm authentication works, but still completing installation: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
INFO[0841] Migrating database schema                     fromVersion=0 toVersion=4
INFO[0842] Migrated database from version 0 to 4
INFO[0842] Installation is complete
INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds

@bchav Seems there is a secondary issue. I cannot get DTRReplic01 to complete. The wait handle still fails. Here is the tail and complete log from that machine. The tail is the most interesting.

The tail shows everything completed successfully but the stack still fails.

INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds
Cloud-init v. 0.7.5 running 'init-local' at Thu, 11 Aug 2016 04:08:50 +0000. Up 13.84 seconds.
Cloud-init v. 0.7.5 running 'init' at Thu, 11 Aug 2016 04:08:57 +0000. Up 20.34 seconds.
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: | Device |  Up  |    Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: |   lo   | True |   127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.23.70 | 255.255.255.0 | 02:89:81:95:78:b9 |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination  |   Gateway    |    Genmask    | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: |   0   |   0.0.0.0    | 192.168.23.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: |   1   | 192.168.23.0 |   0.0.0.0    | 255.255.255.0 |    eth0   |   U   |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
06:07:d6:6c:03:b7:78:ff:73:73:da:eb:ca:f8:2d:0e root@ip-192-168-23-70
The key's randomart image is:
+--[ RSA 2048]----+
|      ++.        |
|     . +=.       |
|      o.+.       |
|       + .       |
|        S .      |
|       .   .     |
|           Eo o .|
|            ++.= |
|           .o==+o|
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
12:a9:99:05:47:60:d9:66:28:95:13:54:2e:7a:13:df root@ip-192-168-23-70
The key's randomart image is:
+--[ DSA 1024]----+
|   oBX+          |
|  ..=++.         |
|   .o+=          |
|   . O o         |
|  . * o E        |
|   . . .         |
|                 |
|                 |
|                 |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
cc:d7:da:9e:27:f9:77:de:9c:d5:f0:05:bb:9f:f0:a8 root@ip-192-168-23-70
The key's randomart image is:
+--[ECDSA  256]---+
|                 |
|                 |
|              .  |
|       o   .   o |
|        S . . o .|
|         . o   +o|
|          . .o. +|
|           .o.=oB|
|           E+=.**|
+-----------------+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
cd:d2:94:8f:64:4d:a7:98:ed:3e:bd:a1:1a:f4:65:98 root@ip-192-168-23-70
The key's randomart image is:
+--[ED25519  256--+
|            . .  |
|           B o   |
|          B +    |
|         B + o   |
|        S * E o  |
|         o o +   |
|          . + o  |
|           . o o |
|          ... .  |
+-----------------+
Cloud-init v. 0.7.5 running 'modules:config' at Thu, 11 Aug 2016 04:09:07 +0000. Up 30.23 seconds.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Thu, 11 Aug 2016 04:09:12 +0000. Up 34.39 seconds.
+ echo 'Installing Docker'
Installing Docker
+ sudo hostname dtr-replica-01
+ export HOSTNAME=dtr-replica-01
+ HOSTNAME=dtr-replica-01
+ sudo sed -i s/localhost/dtr-replica-01/g /etc/hosts
sudo: unable to resolve host dtr-replica-01
+ sudo tee /etc/hostname
+ echo dtr-replica-01
dtr-replica-01
+ sh
+ curl -sSL https://packages.docker.com/1.11/install.sh
modprobe: FATAL: Module aufs not found.
+ sh -c sleep 3; apt-get update
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources [380 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [160 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources [7137 B]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [884 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [367 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [427 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [193 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources [9561 B]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:20 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:31 http://security.ubuntu.com trusty-security/main Sources [118 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:33 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
Get:34 http://security.ubuntu.com trusty-security/main amd64 Packages [514 kB]
Get:35 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:36 http://security.ubuntu.com trusty-security/main Translation-en [283 kB]
Get:37 http://security.ubuntu.com trusty-security/universe Translation-en [77.2 kB]
Fetched 11.6 MB in 9s (1258 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q linux-image-extra-3.13.0-87-generic linux-image-extra-virtual
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-93-generic
  linux-image-generic wireless-regdb
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-93-generic
The following NEW packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-87-generic
  linux-image-extra-3.13.0-93-generic linux-image-extra-virtual
  linux-image-generic wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 25 not upgraded.
Need to get 122 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu3 [45.7 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu3 [10.2 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-93-generic amd64 3.13.0-93.140 [15.3 MB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6456 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.22 [33.2 MB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-87-generic amd64 3.13.0-87.133 [36.7 MB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-93-generic amd64 3.13.0-93.140 [36.7 MB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.93.100 [2276 B]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual amd64 3.13.0.93.100 [1766 B]
Fetched 122 MB in 5s (22.5 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ... 51167 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package linux-image-3.13.0-93-generic.
Preparing to unpack .../linux-image-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.22_all.deb ...
Unpacking linux-firmware (1.127.22) ...
Selecting previously unselected package linux-image-extra-3.13.0-87-generic.
Preparing to unpack .../linux-image-extra-3.13.0-87-generic_3.13.0-87.133_amd64.deb ...
Unpacking linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
Selecting previously unselected package linux-image-extra-3.13.0-93-generic.
Preparing to unpack .../linux-image-extra-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Unpacking linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-generic (3.13.0.93.100) ...
Selecting previously unselected package linux-image-extra-virtual.
Preparing to unpack .../linux-image-extra-virtual_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iw (3.4-1) ...
Setting up linux-firmware (1.127.22) ...
Setting up linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-generic (3.13.0.93.100) ...
Setting up linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BRkTbmnSKG --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
gpg: requesting key 6238F52E from hkp server ha.pool.sks-keyservers.net
gpg: key 6238F52E: public key "Docker, Inc. (release key) <security@docker.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://packages.docker.com/1.11/apt/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Get:1 https://packages.docker.com ubuntu-trusty InRelease
Ign https://packages.docker.com ubuntu-trusty InRelease
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Get:2 https://packages.docker.com ubuntu-trusty Release.gpg
Get:3 https://packages.docker.com ubuntu-trusty Release
Get:4 https://packages.docker.com ubuntu-trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Get:5 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:6 https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:7 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:8 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:9 https://packages.docker.com ubuntu-trusty/main Translation-en
Ign https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 9284 B in 4s (1962 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroup-lite git git-man liberror-perl libltdl7
  libsystemd-journal0
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  aufs-tools cgroup-lite docker-engine git git-man liberror-perl libltdl7
  libsystemd-journal0
0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 95.9 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libltdl7 amd64 2.4.2-1.7ubuntu1 [35.0 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2586 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3918 B]
Get:8 https://packages.docker.com/1.11/apt/repo/ ubuntu-trusty/main docker-engine amd64 1.11.2~cs3-0~trusty [14.4 MB]
Fetched 17.9 MB in 2s (6921 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 61148 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.2~cs3-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.2~cs3-0~trusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.2~cs3-0~trusty) ...
docker start/running, process 29173
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

+ sudo usermod -aG docker ubuntu
+ echo 'Install CFN-helper Package'
Install CFN-helper Package
+ apt-get -y install python-pip
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools python-setuptools-whl python-six-whl
  python-urllib3-whl python-wheel python3-pkg-resources
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi
  python-lxml python3-setuptools
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip
  python-pip-whl python-requests-whl python-setuptools python-setuptools-whl
  python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
0 upgraded, 50 newly installed, 0 to remove and 25 not upgraded.
Need to get 41.4 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8636 B]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2081 kB]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-93.140 [771 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1910 kB]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4595 kB]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1688 kB]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5047 kB]
Get:20 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5098 B]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1053 kB]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:31 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:33 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
Get:34 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
Get:35 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
Get:36 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
Get:37 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama all 0.2.5-0.1ubuntu2 [18.4 kB]
Get:38 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
Get:39 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib all 0.1.8-1ubuntu1 [113 kB]
Get:40 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
Get:41 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib all 0.999-3~ubuntu1 [83.5 kB]
Get:42 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
Get:43 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
Get:44 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4 [64.0 kB]
Get:45 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
Get:46 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
Get:47 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu4 [111 kB]
Get:48 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:49 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu4 [97.3 kB]
Get:50 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-wheel all 0.24.0-1~ubuntu1 [44.7 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 41.4 MB in 2s (20.7 MB/s)
Selecting previously unselected package libasan0:amd64.
(Reading database ... 62075 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-93.140_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-93.140) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.1) ...
Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
Setting up linux-libc-dev:amd64 (3.13.0-93.140) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
Setting up dpkg-dev (1.17.5ubuntu5.7) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu4) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-pip (1.5.4-1ubuntu4) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
+ pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
  Running setup.py (path:/tmp/pip-RRHzGW-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

Downloading/unpacking python-daemon>=1.5.2,<2.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon

Downloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from aws-cfn-bootstrap==1.4)
Downloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2,<2.0->aws-cfn-bootstrap==1.4)
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Installing collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile
  Running setup.py install for python-daemon

  Running setup.py install for pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

    Installing pystache script to /usr/local/bin
    Installing pystache-test script to /usr/local/bin
  Running setup.py install for aws-cfn-bootstrap
    changing mode of build/scripts-2.7/cfn-init from 644 to 755
    changing mode of build/scripts-2.7/cfn-signal from 644 to 755
    changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755
    changing mode of build/scripts-2.7/cfn-hup from 644 to 755
    changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755
    /usr/bin/python -O /tmp/tmp2wXkWj.py
    removing /tmp/tmp2wXkWj.py

    changing mode of /usr/local/bin/cfn-signal to 755
    changing mode of /usr/local/bin/cfn-send-cmd-result to 755
    changing mode of /usr/local/bin/cfn-hup to 755
    changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755
    changing mode of /usr/local/bin/cfn-send-cmd-event to 755
    changing mode of /usr/local/bin/cfn-get-metadata to 755
    changing mode of /usr/local/bin/cfn-init to 755
Successfully installed python-daemon pystache aws-cfn-bootstrap lockfile
Cleaning up...
+ cp /usr/local/init/ubuntu/cfn-hup /etc/init.d/cfn-hup
+ chmod +x /etc/init.d/cfn-hup
+ update-rc.d cfn-hup defaults
 Adding system startup for /etc/init.d/cfn-hup ...
   /etc/rc0.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc1.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc6.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc2.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc3.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc4.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc5.d/S20cfn-hup -> ../init.d/cfn-hup
+ service cfn-hup start
 * Starting cfn-hup
   ...done.
++ curl http://169.254.169.254/latest/meta-data/local-ipv4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    13  100    13    0     0    581      0 --:--:-- --:--:-- --:--:--   590
+ export PRIVATE_IP=192.168.23.70
+ PRIVATE_IP=192.168.23.70
+ export UCP_URL=https://192.168.23.6
+ UCP_URL=https://192.168.23.6
+ export DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ export UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ curl --insecure https://192.168.23.6/ca
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1842  100  1842    0     0  38877      0 --:--:-- --:--:-- --:--:-- 39191
++ awk -F= '{ print $2 }'
++ openssl x509 -in ca.pem -noout -sha256 -fingerprint
+ export UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url https://192.168.23.6 --fingerprint D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Pull complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-11T04:12:20Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-11T04:12:20Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-11T04:13:52Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.70] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-11T04:13:52Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.70 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-11T04:13:52Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-11T04:14:14Z" level=info msg="Starting local swarm containers"
time="2016-08-11T04:14:16Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-11T04:14:17Z" level=info msg="Successfully delivered signal to daemon"
+ sleep 30
+ sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-01 --dtr-external-url dtr.ddc.nonproduction.ap-southeast-1.saltside.io:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry installation
INFO[0000] Validating UCP cert
INFO[0014] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0018] UCP cert validation successful
INFO[0036] Checking if the node is okay to install on
INFO[0037] Creating network: dtr-replica-01/dtr-br
INFO[0038] Connecting to network: dtr-replica-01/dtr-br
INFO[0038] Waiting for phase2 container to be known to the Docker daemon
INFO[0039] Creating network: dtr-ol
INFO[0039] Connecting to network: dtr-ol
INFO[0039] Waiting for phase2 container to be known to the Docker daemon
INFO[0041] Starting UCP connectivity test
INFO[0041] UCP connectivity test passed
INFO[0041] Setting up replica volumes...
INFO[0052] Creating initial CA certificates
INFO[0066] Waiting for etcd...
INFO[0075] Generated TLS certificate.                    domain=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
INFO[0075] License config copied from UCP.
INFO[0075] Getting container configuration and starting containers...
INFO[0106] Recreating dtr-etcd-000000000001...
INFO[0111] Recreating dtr-rethinkdb-000000000001...
INFO[0126] Recreating dtr-registry-000000000001...
INFO[0148] Recreating dtr-api-000000000001...
INFO[0171] Recreating dtr-nginx-000000000001...
INFO[0203] Waiting for etcd...
INFO[0213] Verifying auth settings...
INFO[0213] Waiting for etcd...
INFO[0213] Waiting for DTR to start...
INFO[0264] Waiting for DTR to start...
INFO[0284] Waiting for DTR to start...
INFO[0304] Waiting for DTR to start...
INFO[0324] Waiting for DTR to start...
INFO[0344] Waiting for DTR to start...
INFO[0364] Waiting for DTR to start...
INFO[0384] Waiting for DTR to start...
INFO[0404] Waiting for DTR to start...
INFO[0424] Waiting for DTR to start...
INFO[0444] Waiting for DTR to start...
INFO[0464] Waiting for DTR to start...
INFO[0484] Waiting for DTR to start...
INFO[0504] Waiting for DTR to start...
INFO[0524] Waiting for DTR to start...
INFO[0544] Waiting for DTR to start...
INFO[0564] Waiting for DTR to start...
INFO[0584] Waiting for DTR to start...
INFO[0600] Waiting for DTR to start...
INFO[0620] Waiting for DTR to start...
INFO[0640] Waiting for DTR to start...
INFO[0660] Waiting for DTR to start...
INFO[0680] Waiting for DTR to start...
INFO[0700] Waiting for DTR to start...
INFO[0720] Waiting for DTR to start...
INFO[0740] Waiting for DTR to start...
INFO[0760] Waiting for DTR to start...
INFO[0780] Waiting for DTR to start...
INFO[0800] Waiting for DTR to start...
INFO[0820] Waiting for DTR to start...
WARN[0840] Couldn't confirm authentication works, but still completing installation: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
INFO[0841] Migrating database schema                     fromVersion=0 toVersion=4
INFO[0842] Migrated database from version 0 to 4
INFO[0842] Installation is complete
INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds

@ahawkins ahawkins reopened this Aug 11, 2016

@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 11, 2016

@bchav Seems there is a secondary issue. I cannot get DTRReplic01 to complete. The wait handle still fails. Here is the tail and complete log from that machine. The tail is the most interesting.

The tail shows everything completed successfully but the stack still fails.

INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds
Cloud-init v. 0.7.5 running 'init-local' at Thu, 11 Aug 2016 04:08:50 +0000. Up 13.84 seconds.
Cloud-init v. 0.7.5 running 'init' at Thu, 11 Aug 2016 04:08:57 +0000. Up 20.34 seconds.
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: | Device |  Up  |    Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: |   lo   | True |   127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.23.70 | 255.255.255.0 | 02:89:81:95:78:b9 |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination  |   Gateway    |    Genmask    | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: |   0   |   0.0.0.0    | 192.168.23.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: |   1   | 192.168.23.0 |   0.0.0.0    | 255.255.255.0 |    eth0   |   U   |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
06:07:d6:6c:03:b7:78:ff:73:73:da:eb:ca:f8:2d:0e root@ip-192-168-23-70
The key's randomart image is:
+--[ RSA 2048]----+
|      ++.        |
|     . +=.       |
|      o.+.       |
|       + .       |
|        S .      |
|       .   .     |
|           Eo o .|
|            ++.= |
|           .o==+o|
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
12:a9:99:05:47:60:d9:66:28:95:13:54:2e:7a:13:df root@ip-192-168-23-70
The key's randomart image is:
+--[ DSA 1024]----+
|   oBX+          |
|  ..=++.         |
|   .o+=          |
|   . O o         |
|  . * o E        |
|   . . .         |
|                 |
|                 |
|                 |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
cc:d7:da:9e:27:f9:77:de:9c:d5:f0:05:bb:9f:f0:a8 root@ip-192-168-23-70
The key's randomart image is:
+--[ECDSA  256]---+
|                 |
|                 |
|              .  |
|       o   .   o |
|        S . . o .|
|         . o   +o|
|          . .o. +|
|           .o.=oB|
|           E+=.**|
+-----------------+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
cd:d2:94:8f:64:4d:a7:98:ed:3e:bd:a1:1a:f4:65:98 root@ip-192-168-23-70
The key's randomart image is:
+--[ED25519  256--+
|            . .  |
|           B o   |
|          B +    |
|         B + o   |
|        S * E o  |
|         o o +   |
|          . + o  |
|           . o o |
|          ... .  |
+-----------------+
Cloud-init v. 0.7.5 running 'modules:config' at Thu, 11 Aug 2016 04:09:07 +0000. Up 30.23 seconds.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Thu, 11 Aug 2016 04:09:12 +0000. Up 34.39 seconds.
+ echo 'Installing Docker'
Installing Docker
+ sudo hostname dtr-replica-01
+ export HOSTNAME=dtr-replica-01
+ HOSTNAME=dtr-replica-01
+ sudo sed -i s/localhost/dtr-replica-01/g /etc/hosts
sudo: unable to resolve host dtr-replica-01
+ sudo tee /etc/hostname
+ echo dtr-replica-01
dtr-replica-01
+ sh
+ curl -sSL https://packages.docker.com/1.11/install.sh
modprobe: FATAL: Module aufs not found.
+ sh -c sleep 3; apt-get update
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources [380 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [160 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources [7137 B]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [884 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [367 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [427 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [193 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources [9561 B]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:20 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:31 http://security.ubuntu.com trusty-security/main Sources [118 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:33 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
Get:34 http://security.ubuntu.com trusty-security/main amd64 Packages [514 kB]
Get:35 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:36 http://security.ubuntu.com trusty-security/main Translation-en [283 kB]
Get:37 http://security.ubuntu.com trusty-security/universe Translation-en [77.2 kB]
Fetched 11.6 MB in 9s (1258 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q linux-image-extra-3.13.0-87-generic linux-image-extra-virtual
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-93-generic
  linux-image-generic wireless-regdb
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-93-generic
The following NEW packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-87-generic
  linux-image-extra-3.13.0-93-generic linux-image-extra-virtual
  linux-image-generic wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 25 not upgraded.
Need to get 122 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu3 [45.7 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu3 [10.2 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-93-generic amd64 3.13.0-93.140 [15.3 MB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6456 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.22 [33.2 MB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-87-generic amd64 3.13.0-87.133 [36.7 MB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-93-generic amd64 3.13.0-93.140 [36.7 MB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.93.100 [2276 B]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual amd64 3.13.0.93.100 [1766 B]
Fetched 122 MB in 5s (22.5 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ... 51167 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package linux-image-3.13.0-93-generic.
Preparing to unpack .../linux-image-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.22_all.deb ...
Unpacking linux-firmware (1.127.22) ...
Selecting previously unselected package linux-image-extra-3.13.0-87-generic.
Preparing to unpack .../linux-image-extra-3.13.0-87-generic_3.13.0-87.133_amd64.deb ...
Unpacking linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
Selecting previously unselected package linux-image-extra-3.13.0-93-generic.
Preparing to unpack .../linux-image-extra-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Unpacking linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-generic (3.13.0.93.100) ...
Selecting previously unselected package linux-image-extra-virtual.
Preparing to unpack .../linux-image-extra-virtual_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iw (3.4-1) ...
Setting up linux-firmware (1.127.22) ...
Setting up linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-generic (3.13.0.93.100) ...
Setting up linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BRkTbmnSKG --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
gpg: requesting key 6238F52E from hkp server ha.pool.sks-keyservers.net
gpg: key 6238F52E: public key "Docker, Inc. (release key) <security@docker.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://packages.docker.com/1.11/apt/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Get:1 https://packages.docker.com ubuntu-trusty InRelease
Ign https://packages.docker.com ubuntu-trusty InRelease
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Get:2 https://packages.docker.com ubuntu-trusty Release.gpg
Get:3 https://packages.docker.com ubuntu-trusty Release
Get:4 https://packages.docker.com ubuntu-trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Get:5 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:6 https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:7 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:8 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:9 https://packages.docker.com ubuntu-trusty/main Translation-en
Ign https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 9284 B in 4s (1962 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroup-lite git git-man liberror-perl libltdl7
  libsystemd-journal0
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  aufs-tools cgroup-lite docker-engine git git-man liberror-perl libltdl7
  libsystemd-journal0
0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 95.9 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libltdl7 amd64 2.4.2-1.7ubuntu1 [35.0 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2586 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3918 B]
Get:8 https://packages.docker.com/1.11/apt/repo/ ubuntu-trusty/main docker-engine amd64 1.11.2~cs3-0~trusty [14.4 MB]
Fetched 17.9 MB in 2s (6921 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 61148 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.2~cs3-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.2~cs3-0~trusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.2~cs3-0~trusty) ...
docker start/running, process 29173
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

+ sudo usermod -aG docker ubuntu
+ echo 'Install CFN-helper Package'
Install CFN-helper Package
+ apt-get -y install python-pip
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools python-setuptools-whl python-six-whl
  python-urllib3-whl python-wheel python3-pkg-resources
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi
  python-lxml python3-setuptools
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip
  python-pip-whl python-requests-whl python-setuptools python-setuptools-whl
  python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
0 upgraded, 50 newly installed, 0 to remove and 25 not upgraded.
Need to get 41.4 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8636 B]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2081 kB]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-93.140 [771 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1910 kB]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4595 kB]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1688 kB]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5047 kB]
Get:20 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5098 B]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1053 kB]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:31 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:33 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
Get:34 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
Get:35 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
Get:36 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
Get:37 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama all 0.2.5-0.1ubuntu2 [18.4 kB]
Get:38 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
Get:39 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib all 0.1.8-1ubuntu1 [113 kB]
Get:40 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
Get:41 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib all 0.999-3~ubuntu1 [83.5 kB]
Get:42 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
Get:43 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
Get:44 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4 [64.0 kB]
Get:45 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
Get:46 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
Get:47 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu4 [111 kB]
Get:48 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:49 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu4 [97.3 kB]
Get:50 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-wheel all 0.24.0-1~ubuntu1 [44.7 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 41.4 MB in 2s (20.7 MB/s)
Selecting previously unselected package libasan0:amd64.
(Reading database ... 62075 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-93.140_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-93.140) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.1) ...
Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
Setting up linux-libc-dev:amd64 (3.13.0-93.140) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
Setting up dpkg-dev (1.17.5ubuntu5.7) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu4) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-pip (1.5.4-1ubuntu4) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
+ pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
  Running setup.py (path:/tmp/pip-RRHzGW-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

Downloading/unpacking python-daemon>=1.5.2,<2.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon

Downloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from aws-cfn-bootstrap==1.4)
Downloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2,<2.0->aws-cfn-bootstrap==1.4)
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Installing collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile
  Running setup.py install for python-daemon

  Running setup.py install for pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

    Installing pystache script to /usr/local/bin
    Installing pystache-test script to /usr/local/bin
  Running setup.py install for aws-cfn-bootstrap
    changing mode of build/scripts-2.7/cfn-init from 644 to 755
    changing mode of build/scripts-2.7/cfn-signal from 644 to 755
    changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755
    changing mode of build/scripts-2.7/cfn-hup from 644 to 755
    changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755
    /usr/bin/python -O /tmp/tmp2wXkWj.py
    removing /tmp/tmp2wXkWj.py

    changing mode of /usr/local/bin/cfn-signal to 755
    changing mode of /usr/local/bin/cfn-send-cmd-result to 755
    changing mode of /usr/local/bin/cfn-hup to 755
    changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755
    changing mode of /usr/local/bin/cfn-send-cmd-event to 755
    changing mode of /usr/local/bin/cfn-get-metadata to 755
    changing mode of /usr/local/bin/cfn-init to 755
Successfully installed python-daemon pystache aws-cfn-bootstrap lockfile
Cleaning up...
+ cp /usr/local/init/ubuntu/cfn-hup /etc/init.d/cfn-hup
+ chmod +x /etc/init.d/cfn-hup
+ update-rc.d cfn-hup defaults
 Adding system startup for /etc/init.d/cfn-hup ...
   /etc/rc0.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc1.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc6.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc2.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc3.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc4.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc5.d/S20cfn-hup -> ../init.d/cfn-hup
+ service cfn-hup start
 * Starting cfn-hup
   ...done.
++ curl http://169.254.169.254/latest/meta-data/local-ipv4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    13  100    13    0     0    581      0 --:--:-- --:--:-- --:--:--   590
+ export PRIVATE_IP=192.168.23.70
+ PRIVATE_IP=192.168.23.70
+ export UCP_URL=https://192.168.23.6
+ UCP_URL=https://192.168.23.6
+ export DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ export UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ curl --insecure https://192.168.23.6/ca
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1842  100  1842    0     0  38877      0 --:--:-- --:--:-- --:--:-- 39191
++ awk -F= '{ print $2 }'
++ openssl x509 -in ca.pem -noout -sha256 -fingerprint
+ export UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url https://192.168.23.6 --fingerprint D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Pull complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-11T04:12:20Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-11T04:12:20Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-11T04:13:52Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.70] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-11T04:13:52Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.70 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-11T04:13:52Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-11T04:14:14Z" level=info msg="Starting local swarm containers"
time="2016-08-11T04:14:16Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-11T04:14:17Z" level=info msg="Successfully delivered signal to daemon"
+ sleep 30
+ sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-01 --dtr-external-url dtr.ddc.nonproduction.ap-southeast-1.saltside.io:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry installation
INFO[0000] Validating UCP cert
INFO[0014] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0018] UCP cert validation successful
INFO[0036] Checking if the node is okay to install on
INFO[0037] Creating network: dtr-replica-01/dtr-br
INFO[0038] Connecting to network: dtr-replica-01/dtr-br
INFO[0038] Waiting for phase2 container to be known to the Docker daemon
INFO[0039] Creating network: dtr-ol
INFO[0039] Connecting to network: dtr-ol
INFO[0039] Waiting for phase2 container to be known to the Docker daemon
INFO[0041] Starting UCP connectivity test
INFO[0041] UCP connectivity test passed
INFO[0041] Setting up replica volumes...
INFO[0052] Creating initial CA certificates
INFO[0066] Waiting for etcd...
INFO[0075] Generated TLS certificate.                    domain=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
INFO[0075] License config copied from UCP.
INFO[0075] Getting container configuration and starting containers...
INFO[0106] Recreating dtr-etcd-000000000001...
INFO[0111] Recreating dtr-rethinkdb-000000000001...
INFO[0126] Recreating dtr-registry-000000000001...
INFO[0148] Recreating dtr-api-000000000001...
INFO[0171] Recreating dtr-nginx-000000000001...
INFO[0203] Waiting for etcd...
INFO[0213] Verifying auth settings...
INFO[0213] Waiting for etcd...
INFO[0213] Waiting for DTR to start...
INFO[0264] Waiting for DTR to start...
INFO[0284] Waiting for DTR to start...
INFO[0304] Waiting for DTR to start...
INFO[0324] Waiting for DTR to start...
INFO[0344] Waiting for DTR to start...
INFO[0364] Waiting for DTR to start...
INFO[0384] Waiting for DTR to start...
INFO[0404] Waiting for DTR to start...
INFO[0424] Waiting for DTR to start...
INFO[0444] Waiting for DTR to start...
INFO[0464] Waiting for DTR to start...
INFO[0484] Waiting for DTR to start...
INFO[0504] Waiting for DTR to start...
INFO[0524] Waiting for DTR to start...
INFO[0544] Waiting for DTR to start...
INFO[0564] Waiting for DTR to start...
INFO[0584] Waiting for DTR to start...
INFO[0600] Waiting for DTR to start...
INFO[0620] Waiting for DTR to start...
INFO[0640] Waiting for DTR to start...
INFO[0660] Waiting for DTR to start...
INFO[0680] Waiting for DTR to start...
INFO[0700] Waiting for DTR to start...
INFO[0720] Waiting for DTR to start...
INFO[0740] Waiting for DTR to start...
INFO[0760] Waiting for DTR to start...
INFO[0780] Waiting for DTR to start...
INFO[0800] Waiting for DTR to start...
INFO[0820] Waiting for DTR to start...
WARN[0840] Couldn't confirm authentication works, but still completing installation: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
INFO[0841] Migrating database schema                     fromVersion=0 toVersion=4
INFO[0842] Migrated database from version 0 to 4
INFO[0842] Installation is complete
INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds

@bchav Seems there is a secondary issue. I cannot get DTRReplic01 to complete. The wait handle still fails. Here is the tail and complete log from that machine. The tail is the most interesting.

The tail shows everything completed successfully but the stack still fails.

INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds
Cloud-init v. 0.7.5 running 'init-local' at Thu, 11 Aug 2016 04:08:50 +0000. Up 13.84 seconds.
Cloud-init v. 0.7.5 running 'init' at Thu, 11 Aug 2016 04:08:57 +0000. Up 20.34 seconds.
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: | Device |  Up  |    Address    |      Mask     |     Hw-Address    |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: |   lo   | True |   127.0.0.1   |   255.0.0.0   |         .         |
ci-info: |  eth0  | True | 192.168.23.70 | 255.255.255.0 | 02:89:81:95:78:b9 |
ci-info: +--------+------+---------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++++
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: | Route | Destination  |   Gateway    |    Genmask    | Interface | Flags |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
ci-info: |   0   |   0.0.0.0    | 192.168.23.1 |    0.0.0.0    |    eth0   |   UG  |
ci-info: |   1   | 192.168.23.0 |   0.0.0.0    | 255.255.255.0 |    eth0   |   U   |
ci-info: +-------+--------------+--------------+---------------+-----------+-------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
06:07:d6:6c:03:b7:78:ff:73:73:da:eb:ca:f8:2d:0e root@ip-192-168-23-70
The key's randomart image is:
+--[ RSA 2048]----+
|      ++.        |
|     . +=.       |
|      o.+.       |
|       + .       |
|        S .      |
|       .   .     |
|           Eo o .|
|            ++.= |
|           .o==+o|
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
12:a9:99:05:47:60:d9:66:28:95:13:54:2e:7a:13:df root@ip-192-168-23-70
The key's randomart image is:
+--[ DSA 1024]----+
|   oBX+          |
|  ..=++.         |
|   .o+=          |
|   . O o         |
|  . * o E        |
|   . . .         |
|                 |
|                 |
|                 |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
cc:d7:da:9e:27:f9:77:de:9c:d5:f0:05:bb:9f:f0:a8 root@ip-192-168-23-70
The key's randomart image is:
+--[ECDSA  256]---+
|                 |
|                 |
|              .  |
|       o   .   o |
|        S . . o .|
|         . o   +o|
|          . .o. +|
|           .o.=oB|
|           E+=.**|
+-----------------+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
cd:d2:94:8f:64:4d:a7:98:ed:3e:bd:a1:1a:f4:65:98 root@ip-192-168-23-70
The key's randomart image is:
+--[ED25519  256--+
|            . .  |
|           B o   |
|          B +    |
|         B + o   |
|        S * E o  |
|         o o +   |
|          . + o  |
|           . o o |
|          ... .  |
+-----------------+
Cloud-init v. 0.7.5 running 'modules:config' at Thu, 11 Aug 2016 04:09:07 +0000. Up 30.23 seconds.
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Cloud-init v. 0.7.5 running 'modules:final' at Thu, 11 Aug 2016 04:09:12 +0000. Up 34.39 seconds.
+ echo 'Installing Docker'
Installing Docker
+ sudo hostname dtr-replica-01
+ export HOSTNAME=dtr-replica-01
+ HOSTNAME=dtr-replica-01
+ sudo sed -i s/localhost/dtr-replica-01/g /etc/hosts
sudo: unable to resolve host dtr-replica-01
+ sudo tee /etc/hostname
+ echo dtr-replica-01
dtr-replica-01
+ sh
+ curl -sSL https://packages.docker.com/1.11/install.sh
modprobe: FATAL: Module aufs not found.
+ sh -c sleep 3; apt-get update
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources [380 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources [5360 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources [160 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources [7137 B]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [884 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages [367 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.8 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [427 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en [7661 B]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en [3699 B]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en [193 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources [9561 B]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources [1898 B]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:20 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1571 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [7493 B]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en [1215 B]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources [5433 B]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:31 http://security.ubuntu.com trusty-security/main Sources [118 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Get:33 http://security.ubuntu.com trusty-security/universe Sources [38.0 kB]
Get:34 http://security.ubuntu.com trusty-security/main amd64 Packages [514 kB]
Get:35 http://security.ubuntu.com trusty-security/universe amd64 Packages [130 kB]
Get:36 http://security.ubuntu.com trusty-security/main Translation-en [283 kB]
Get:37 http://security.ubuntu.com trusty-security/universe Translation-en [77.2 kB]
Fetched 11.6 MB in 9s (1258 kB/s)
Reading package lists...
+ sh -c sleep 3; apt-get install -y -q linux-image-extra-3.13.0-87-generic linux-image-extra-virtual
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-93-generic
  linux-image-generic wireless-regdb
Suggested packages:
  fdutils linux-doc-3.13.0 linux-source-3.13.0 linux-tools
  linux-headers-3.13.0-93-generic
The following NEW packages will be installed:
  crda iw libnl-3-200 libnl-genl-3-200 linux-firmware
  linux-image-3.13.0-93-generic linux-image-extra-3.13.0-87-generic
  linux-image-extra-3.13.0-93-generic linux-image-extra-virtual
  linux-image-generic wireless-regdb
0 upgraded, 11 newly installed, 0 to remove and 25 not upgraded.
Need to get 122 MB of archives.
After this operation, 470 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-3-200 amd64 3.2.21-1ubuntu3 [45.7 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libnl-genl-3-200 amd64 3.2.21-1ubuntu3 [10.2 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-3.13.0-93-generic amd64 3.13.0-93.140 [15.3 MB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main wireless-regdb all 2013.02.13-1ubuntu1 [6456 B]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main crda amd64 1.1.2-1ubuntu2 [15.2 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main iw amd64 3.4-1 [51.7 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-firmware all 1.127.22 [33.2 MB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-87-generic amd64 3.13.0-87.133 [36.7 MB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-3.13.0-93-generic amd64 3.13.0-93.140 [36.7 MB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-generic amd64 3.13.0.93.100 [2276 B]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-image-extra-virtual amd64 3.13.0.93.100 [1766 B]
Fetched 122 MB in 5s (22.5 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ... 51167 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.2.21-1ubuntu3_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Selecting previously unselected package linux-image-3.13.0-93-generic.
Preparing to unpack .../linux-image-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Done.
Unpacking linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../wireless-regdb_2013.02.13-1ubuntu1_all.deb ...
Unpacking wireless-regdb (2013.02.13-1ubuntu1) ...
Selecting previously unselected package crda.
Preparing to unpack .../crda_1.1.2-1ubuntu2_amd64.deb ...
Unpacking crda (1.1.2-1ubuntu2) ...
Selecting previously unselected package iw.
Preparing to unpack .../archives/iw_3.4-1_amd64.deb ...
Unpacking iw (3.4-1) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../linux-firmware_1.127.22_all.deb ...
Unpacking linux-firmware (1.127.22) ...
Selecting previously unselected package linux-image-extra-3.13.0-87-generic.
Preparing to unpack .../linux-image-extra-3.13.0-87-generic_3.13.0-87.133_amd64.deb ...
Unpacking linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
Selecting previously unselected package linux-image-extra-3.13.0-93-generic.
Preparing to unpack .../linux-image-extra-3.13.0-93-generic_3.13.0-93.140_amd64.deb ...
Unpacking linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
Selecting previously unselected package linux-image-generic.
Preparing to unpack .../linux-image-generic_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-generic (3.13.0.93.100) ...
Selecting previously unselected package linux-image-extra-virtual.
Preparing to unpack .../linux-image-extra-virtual_3.13.0.93.100_amd64.deb ...
Unpacking linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libnl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up libnl-genl-3-200:amd64 (3.2.21-1ubuntu3) ...
Setting up linux-image-3.13.0-93-generic (3.13.0-93.140) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Replacing config file /run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up wireless-regdb (2013.02.13-1ubuntu1) ...
Setting up crda (1.1.2-1ubuntu2) ...
Setting up iw (3.4-1) ...
Setting up linux-firmware (1.127.22) ...
Setting up linux-image-extra-3.13.0-87-generic (3.13.0-87.133) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-87-generic /boot/vmlinuz-3.13.0-87-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-extra-3.13.0-93-generic (3.13.0-93.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-93-generic
Found kernel: /boot/vmlinuz-3.13.0-87-generic
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-93-generic /boot/vmlinuz-3.13.0-93-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-93-generic
Found initrd image: /boot/initrd.img-3.13.0-93-generic
Found linux image: /boot/vmlinuz-3.13.0-87-generic
Found initrd image: /boot/initrd.img-3.13.0-87-generic
done
Setting up linux-image-generic (3.13.0.93.100) ...
Setting up linux-image-extra-virtual (3.13.0.93.100) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
apparmor is enabled in the kernel and apparmor utils were already installed
+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BRkTbmnSKG --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E
gpg: requesting key 6238F52E from hkp server ha.pool.sks-keyservers.net
gpg: key 6238F52E: public key "Docker, Inc. (release key) <security@docker.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ break
+ sh -c apt-key adv -k EE6D536CF7DC86E2D7D56F59A178AC6C6238F52E >/dev/null
+ sh -c mkdir -p /etc/apt/sources.list.d
+ dpkg --print-architecture
+ sh -c echo deb [arch=amd64] https://packages.docker.com/1.11/apt/repo ubuntu-trusty main > /etc/apt/sources.list.d/docker.list
+ sh -c sleep 3; apt-get update; apt-get install -y -q docker-engine
Ign http://ap-southeast-1.ec2.archive.ubuntu.com trusty InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports InRelease
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty Release
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Sources
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ap-southeast-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Get:1 https://packages.docker.com ubuntu-trusty InRelease
Ign https://packages.docker.com ubuntu-trusty InRelease
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Get:2 https://packages.docker.com ubuntu-trusty Release.gpg
Get:3 https://packages.docker.com ubuntu-trusty Release
Get:4 https://packages.docker.com ubuntu-trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Get:5 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:6 https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/main Translation-en
Get:7 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:8 https://packages.docker.com ubuntu-trusty/main Translation-en
Get:9 https://packages.docker.com ubuntu-trusty/main Translation-en
Ign https://packages.docker.com ubuntu-trusty/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 9284 B in 4s (1962 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  aufs-tools cgroup-lite git git-man liberror-perl libltdl7
  libsystemd-journal0
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  aufs-tools cgroup-lite docker-engine git git-man liberror-perl libltdl7
  libsystemd-journal0
0 upgraded, 8 newly installed, 0 to remove and 25 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 95.9 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libltdl7 amd64 2.4.2-1.7ubuntu1 [35.0 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libsystemd-journal0 amd64 204-5ubuntu20.19 [50.1 kB]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/universe aufs-tools amd64 1:3.2+20130722-1.1 [92.3 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main liberror-perl all 0.17-1.1 [21.1 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git-man all 1:1.9.1-1ubuntu0.3 [699 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.3 [2586 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cgroup-lite all 1.9 [3918 B]
Get:8 https://packages.docker.com/1.11/apt/repo/ ubuntu-trusty/main docker-engine amd64 1.11.2~cs3-0~trusty [14.4 MB]
Fetched 17.9 MB in 2s (6921 kB/s)
Selecting previously unselected package libltdl7:amd64.
(Reading database ... 61148 files and directories currently installed.)
Preparing to unpack .../libltdl7_2.4.2-1.7ubuntu1_amd64.deb ...
Unpacking libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Selecting previously unselected package libsystemd-journal0:amd64.
Preparing to unpack .../libsystemd-journal0_204-5ubuntu20.19_amd64.deb ...
Unpacking libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../aufs-tools_1%3a3.2+20130722-1.1_amd64.deb ...
Unpacking aufs-tools (1:3.2+20130722-1.1) ...
Selecting previously unselected package docker-engine.
Preparing to unpack .../docker-engine_1.11.2~cs3-0~trusty_amd64.deb ...
Unpacking docker-engine (1.11.2~cs3-0~trusty) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
Unpacking liberror-perl (0.17-1.1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a1.9.1-1ubuntu0.3_all.deb ...
Unpacking git-man (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.3_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.3) ...
Selecting previously unselected package cgroup-lite.
Preparing to unpack .../cgroup-lite_1.9_all.deb ...
Unpacking cgroup-lite (1.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libltdl7:amd64 (2.4.2-1.7ubuntu1) ...
Setting up libsystemd-journal0:amd64 (204-5ubuntu20.19) ...
Setting up aufs-tools (1:3.2+20130722-1.1) ...
Setting up docker-engine (1.11.2~cs3-0~trusty) ...
docker start/running, process 29173
Setting up liberror-perl (0.17-1.1) ...
Setting up git-man (1:1.9.1-1ubuntu0.3) ...
Setting up git (1:1.9.1-1ubuntu0.3) ...
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
+ sh -c docker version
Client:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2-cs3
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   c81a77d
 Built:        Wed Jun  8 01:19:12 2016
 OS/Arch:      linux/amd64

If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:

  sudo usermod -aG docker your-user

Remember that you will have to log out and back in for this to take effect!

+ sudo usermod -aG docker ubuntu
+ echo 'Install CFN-helper Package'
Install CFN-helper Package
+ apt-get -y install python-pip
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools python-setuptools-whl python-six-whl
  python-urllib3-whl python-wheel python3-pkg-resources
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib
  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf
  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg
  libquadmath0-dbg glibc-doc libstdc++-4.8-doc make-doc python-genshi
  python-lxml python3-setuptools
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev
  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0
  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-pip
  python-pip-whl python-requests-whl python-setuptools python-setuptools-whl
  python-six-whl python-urllib3-whl python-wheel python3-pkg-resources
0 upgraded, 50 newly installed, 0 to remove and 25 not upgraded.
Need to get 41.4 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libasan0 amd64 4.8.4-2ubuntu1~14.04.3 [63.1 kB]
Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1 amd64 4.8.4-2ubuntu1~14.04.3 [8636 B]
Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libgmp10 amd64 2:5.1.3+dfsg-1ubuntu1 [218 kB]
Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libisl10 amd64 0.12.2-1 [419 kB]
Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libcloog-isl4 amd64 0.18.2-1 [57.5 kB]
Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1 amd64 4.8.4-2ubuntu1~14.04.3 [23.1 kB]
Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1 amd64 4.8.4-2ubuntu1~14.04.3 [28.5 kB]
Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpfr4 amd64 3.1.2-1 [203 kB]
Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libquadmath0 amd64 4.8.4-2ubuntu1~14.04.3 [126 kB]
Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libtsan0 amd64 4.8.4-2ubuntu1~14.04.3 [94.9 kB]
Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libmpc3 amd64 1.0.1-1ubuntu1 [38.4 kB]
Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu14.1 [2081 kB]
Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc-dev-bin amd64 2.19-0ubuntu6.9 [69.0 kB]
Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-93.140 [771 kB]
Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libc6-dev amd64 2.19-0ubuntu6.9 [1910 kB]
Get:16 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [4595 kB]
Get:17 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main cpp amd64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:18 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1688 kB]
Get:19 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [5047 kB]
Get:20 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main gcc amd64 4:4.8.2-1ubuntu6 [5098 B]
Get:21 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libstdc++-4.8-dev amd64 4.8.4-2ubuntu1~14.04.3 [1053 kB]
Get:22 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main g++-4.8 amd64 4.8.4-2ubuntu1~14.04.3 [18.1 MB]
Get:23 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main g++ amd64 4:4.8.2-1ubuntu6 [1490 B]
Get:24 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main make amd64 3.81-8.2ubuntu3 [119 kB]
Get:25 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.7 [179 kB]
Get:26 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.7 [726 kB]
Get:27 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main build-essential amd64 11.6ubuntu6 [4838 B]
Get:28 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfakeroot amd64 1.20-3ubuntu2 [25.4 kB]
Get:29 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main fakeroot amd64 1.20-3ubuntu2 [55.0 kB]
Get:30 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:31 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-diff-xs-perl amd64 0.04-2build4 [12.6 kB]
Get:32 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:33 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main libfile-fcntllock-perl amd64 0.14-2build1 [15.9 kB]
Get:34 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
Get:35 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-pkg-resources all 3.3-1ubuntu2 [31.7 kB]
Get:36 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
Get:37 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama all 0.2.5-0.1ubuntu2 [18.4 kB]
Get:38 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
Get:39 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib all 0.1.8-1ubuntu1 [113 kB]
Get:40 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
Get:41 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib all 0.999-3~ubuntu1 [83.5 kB]
Get:42 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
Get:43 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1 [10.5 kB]
Get:44 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4 [64.0 kB]
Get:45 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.3 [227 kB]
Get:46 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
Get:47 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu4 [111 kB]
Get:48 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-setuptools all 3.3-1ubuntu2 [230 kB]
Get:49 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-pip all 1.5.4-1ubuntu4 [97.3 kB]
Get:50 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main python-wheel all 0.24.0-1~ubuntu1 [44.7 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 41.4 MB in 2s (20.7 MB/s)
Selecting previously unselected package libasan0:amd64.
(Reading database ... 62075 files and directories currently installed.)
Preparing to unpack .../libasan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_amd64.deb ...
Unpacking libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-1_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.2-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.2-1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.1_amd64.deb ...
Unpacking binutils (2.24-5ubuntu14.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.9) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_3.13.0-93.140_amd64.deb ...
Unpacking linux-libc-dev:amd64 (3.13.0-93.140) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.9_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_amd64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_amd64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.7_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.7) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.7_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_amd64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_amd64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_3.3-1ubuntu2_all.deb ...
Unpacking python3-pkg-resources (3.3-1ubuntu2) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama.
Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib.
Preparing to unpack .../python-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib.
Preparing to unpack .../python-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.3_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.3) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../python-pip_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip (1.5.4-1ubuntu4) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../python-wheel_0.24.0-1~ubuntu1_all.deb ...
Unpacking python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libasan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libatomic1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libgmp10:amd64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:amd64 (0.12.2-1) ...
Setting up libcloog-isl4:amd64 (0.18.2-1) ...
Setting up libgomp1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libitm1:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpfr4:amd64 (3.1.2-1) ...
Setting up libquadmath0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libtsan0:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libmpc3:amd64 (1.0.1-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.1) ...
Setting up libc-dev-bin (2.19-0ubuntu6.9) ...
Setting up linux-libc-dev:amd64 (3.13.0-93.140) ...
Setting up libc6-dev:amd64 (2.19-0ubuntu6.9) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.3) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libdpkg-perl (1.17.5ubuntu5.7) ...
Setting up dpkg-dev (1.17.5ubuntu5.7) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:amd64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python3-pkg-resources (3.3-1ubuntu2) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.3) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu4) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-pip (1.5.4-1ubuntu4) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
+ pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
Downloading/unpacking https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
  Running setup.py (path:/tmp/pip-RRHzGW-build/setup.py) egg_info for package from https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz

Downloading/unpacking python-daemon>=1.5.2,<2.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/python-daemon/setup.py) egg_info for package python-daemon

Downloading/unpacking pystache>=0.4.0 (from aws-cfn-bootstrap==1.4)
  Running setup.py (path:/tmp/pip_build_root/pystache/setup.py) egg_info for package pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/dist-packages (from aws-cfn-bootstrap==1.4)
Downloading/unpacking lockfile>=0.9 (from python-daemon>=1.5.2,<2.0->aws-cfn-bootstrap==1.4)
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Installing collected packages: python-daemon, pystache, aws-cfn-bootstrap, lockfile
  Running setup.py install for python-daemon

  Running setup.py install for pystache
    pystache: using: version '3.3' of <module 'setuptools' from '/usr/lib/python2.7/dist-packages/setuptools/__init__.pyc'>

    Installing pystache script to /usr/local/bin
    Installing pystache-test script to /usr/local/bin
  Running setup.py install for aws-cfn-bootstrap
    changing mode of build/scripts-2.7/cfn-init from 644 to 755
    changing mode of build/scripts-2.7/cfn-signal from 644 to 755
    changing mode of build/scripts-2.7/cfn-get-metadata from 644 to 755
    changing mode of build/scripts-2.7/cfn-hup from 644 to 755
    changing mode of build/scripts-2.7/cfn-elect-cmd-leader from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-result from 644 to 755
    changing mode of build/scripts-2.7/cfn-send-cmd-event from 644 to 755
    /usr/bin/python -O /tmp/tmp2wXkWj.py
    removing /tmp/tmp2wXkWj.py

    changing mode of /usr/local/bin/cfn-signal to 755
    changing mode of /usr/local/bin/cfn-send-cmd-result to 755
    changing mode of /usr/local/bin/cfn-hup to 755
    changing mode of /usr/local/bin/cfn-elect-cmd-leader to 755
    changing mode of /usr/local/bin/cfn-send-cmd-event to 755
    changing mode of /usr/local/bin/cfn-get-metadata to 755
    changing mode of /usr/local/bin/cfn-init to 755
Successfully installed python-daemon pystache aws-cfn-bootstrap lockfile
Cleaning up...
+ cp /usr/local/init/ubuntu/cfn-hup /etc/init.d/cfn-hup
+ chmod +x /etc/init.d/cfn-hup
+ update-rc.d cfn-hup defaults
 Adding system startup for /etc/init.d/cfn-hup ...
   /etc/rc0.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc1.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc6.d/K20cfn-hup -> ../init.d/cfn-hup
   /etc/rc2.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc3.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc4.d/S20cfn-hup -> ../init.d/cfn-hup
   /etc/rc5.d/S20cfn-hup -> ../init.d/cfn-hup
+ service cfn-hup start
 * Starting cfn-hup
   ...done.
++ curl http://169.254.169.254/latest/meta-data/local-ipv4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    13  100    13    0     0    581      0 --:--:-- --:--:-- --:--:--   590
+ export PRIVATE_IP=192.168.23.70
+ PRIVATE_IP=192.168.23.70
+ export UCP_URL=https://192.168.23.6
+ UCP_URL=https://192.168.23.6
+ export DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ DTRFQDN=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
+ export UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ UCPFQDN=ucp.ddc.nonproduction.ap-southeast-1.saltside.io
+ curl --insecure https://192.168.23.6/ca
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1842  100  1842    0     0  38877      0 --:--:-- --:--:-- --:--:-- 39191
++ awk -F= '{ print $2 }'
++ openssl x509 -in ca.pem -noout -sha256 -fingerprint
+ export UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ UCP_FINGERPRINT=D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
+ sudo -E docker run --rm -i --name ucp -e UCP_ADMIN_USER=admin -e UCP_ADMIN_PASSWORD=ddconaws -v /var/run/docker.sock:/var/run/docker.sock docker/ucp:1.1.1 join --url https://192.168.23.6 --fingerprint D0:9C:B0:12:23:16:F0:AA:D1:FC:B7:91:5E:EA:CC:4B:35:73:39:26:A0:18:B0:31:51:D7:1C:34:B2:EC:57:A6
Unable to find image 'docker/ucp:1.1.1' locally
1.1.1: Pulling from docker/ucp
d0ca440e8637: Pulling fs layer
61351977b3a5: Pulling fs layer
2885d5b10a43: Pulling fs layer
61351977b3a5: Verifying Checksum
61351977b3a5: Download complete
2885d5b10a43: Verifying Checksum
2885d5b10a43: Download complete
d0ca440e8637: Verifying Checksum
d0ca440e8637: Download complete
d0ca440e8637: Pull complete
61351977b3a5: Pull complete
2885d5b10a43: Pull complete
Digest: sha256:b4fc969bc5d7581e750123cb8f16393e388a101d7a2ef18297815cc6800d161e
Status: Downloaded newer image for docker/ucp:1.1.1
time="2016-08-11T04:12:20Z" level=info msg="Your engine version 1.11.2-cs3 is compatible"
time="2016-08-11T04:12:20Z" level=info msg="Pulling required images... (this may take a while)"
time="2016-08-11T04:13:52Z" level=warning msg="None of the hostnames we'll be using in the UCP certificates [dtr-replica-01 127.0.0.1 172.17.0.1 192.168.23.70] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases"
time="2016-08-11T04:13:52Z" level=info msg="This engine will join UCP and advertise itself with host address 192.168.23.70 - If this is incorrect, please specify an alternative address with the '--host-address' flag"
time="2016-08-11T04:13:52Z" level=info msg="Verifying your system is compatible with UCP"
time="2016-08-11T04:14:14Z" level=info msg="Starting local swarm containers"
time="2016-08-11T04:14:16Z" level=info msg="New configuration established.  Signalling the daemon to load it..."
time="2016-08-11T04:14:17Z" level=info msg="Successfully delivered signal to daemon"
+ sleep 30
+ sudo -E docker run --rm -i docker/dtr:2.0.1 install --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-01 --dtr-external-url dtr.ddc.nonproduction.ap-southeast-1.saltside.io:443 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry installation
INFO[0000] Validating UCP cert
INFO[0014] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0018] UCP cert validation successful
INFO[0036] Checking if the node is okay to install on
INFO[0037] Creating network: dtr-replica-01/dtr-br
INFO[0038] Connecting to network: dtr-replica-01/dtr-br
INFO[0038] Waiting for phase2 container to be known to the Docker daemon
INFO[0039] Creating network: dtr-ol
INFO[0039] Connecting to network: dtr-ol
INFO[0039] Waiting for phase2 container to be known to the Docker daemon
INFO[0041] Starting UCP connectivity test
INFO[0041] UCP connectivity test passed
INFO[0041] Setting up replica volumes...
INFO[0052] Creating initial CA certificates
INFO[0066] Waiting for etcd...
INFO[0075] Generated TLS certificate.                    domain=dtr.ddc.nonproduction.ap-southeast-1.saltside.io
INFO[0075] License config copied from UCP.
INFO[0075] Getting container configuration and starting containers...
INFO[0106] Recreating dtr-etcd-000000000001...
INFO[0111] Recreating dtr-rethinkdb-000000000001...
INFO[0126] Recreating dtr-registry-000000000001...
INFO[0148] Recreating dtr-api-000000000001...
INFO[0171] Recreating dtr-nginx-000000000001...
INFO[0203] Waiting for etcd...
INFO[0213] Verifying auth settings...
INFO[0213] Waiting for etcd...
INFO[0213] Waiting for DTR to start...
INFO[0264] Waiting for DTR to start...
INFO[0284] Waiting for DTR to start...
INFO[0304] Waiting for DTR to start...
INFO[0324] Waiting for DTR to start...
INFO[0344] Waiting for DTR to start...
INFO[0364] Waiting for DTR to start...
INFO[0384] Waiting for DTR to start...
INFO[0404] Waiting for DTR to start...
INFO[0424] Waiting for DTR to start...
INFO[0444] Waiting for DTR to start...
INFO[0464] Waiting for DTR to start...
INFO[0484] Waiting for DTR to start...
INFO[0504] Waiting for DTR to start...
INFO[0524] Waiting for DTR to start...
INFO[0544] Waiting for DTR to start...
INFO[0564] Waiting for DTR to start...
INFO[0584] Waiting for DTR to start...
INFO[0600] Waiting for DTR to start...
INFO[0620] Waiting for DTR to start...
INFO[0640] Waiting for DTR to start...
INFO[0660] Waiting for DTR to start...
INFO[0680] Waiting for DTR to start...
INFO[0700] Waiting for DTR to start...
INFO[0720] Waiting for DTR to start...
INFO[0740] Waiting for DTR to start...
INFO[0760] Waiting for DTR to start...
INFO[0780] Waiting for DTR to start...
INFO[0800] Waiting for DTR to start...
INFO[0820] Waiting for DTR to start...
WARN[0840] Couldn't confirm authentication works, but still completing installation: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
INFO[0841] Migrating database schema                     fromVersion=0 toVersion=4
INFO[0842] Migrated database from version 0 to 4
INFO[0842] Installation is complete
INFO[0842] Replica ID is set to: 000000000001
INFO[0842] You can use flag '--existing-replica-id 000000000001' when joining other replicas to your Docker Trusted Registry Cluster
+ checkcontroller
++ curl --insecure --silent --output /dev/null --write-out '%{http_code}' https://192.168.23.70/load_balancer_status
+ [[ 200 -eq 200 ]]
+ /usr/local/bin/cfn-signal -s true 'https://cloudformation-waitcondition-ap-southeast-1.s3-ap-southeast-1.amazonaws.com/arn%3Aaws%3Acloudformation%3Aap-southeast-1%3A487267539104%3Astack/docker-data-center/b7b63f20-5f77-11e6-8321-500c336e0c1e/WaitHandle02?AWSAccessKeyId=AKIAIZUMWDD466IYK63Q&Expires=1470974254&Signature=tyBrdTJtej4YuXZpZemQhm8T0f8%3D'
/usr/local/lib/python2.7/dist-packages/cfnbootstrap/packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
CloudFormation signaled successfully with SUCCESS.
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 04:29:58 +0000. Datasource DataSourceEc2.  Up 1280.59 seconds
@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 11, 2016

@bchav I think the pre-defined 15 minute time outs are too aggressive. It seems like operations in ap-southeast-1 are taking ~20 minutes. I suggest doubling it to 30 minutes. Here's an example of the issue where facing.

ddc_cf_debugging

@bchav I think the pre-defined 15 minute time outs are too aggressive. It seems like operations in ap-southeast-1 are taking ~20 minutes. I suggest doubling it to 30 minutes. Here's an example of the issue where facing.

ddc_cf_debugging

ahawkins added a commit to ahawkins/quickstart-docker that referenced this issue Aug 11, 2016

Increase timeouts to 30 minutes (Close #2)
Bootstrap, configure, and install times can vary widely between regions. They also rely on external networks for pulling docker images and installing packages. 15 minutes worked fine in eu-west-1 but reliably fails in ap-southeast-1 (installs take ~20 mintues). 30 minutes is generous and should cover all cases. If things complete faster then that then great. Now they have some time.
@ahawkins

This comment has been minimized.

Show comment
Hide comment
@ahawkins

ahawkins Aug 11, 2016

Got a big further increasing the timeout to 1800 seconds on all wait conditions. Now past one wait condition (DTRreplica01). Now DTRreplica02 fails. Here's a log tail:

+ sudo -E docker run --rm -i docker/dtr:2.0.1 join --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-02 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000002 --existing-replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry replica join
INFO[0000] Validating UCP cert
INFO[0019] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0017] UCP cert validation successful
INFO[0048] Validating UCP cert
INFO[0057] UCP cert validation successful
INFO[0075] Checking if the node is okay to install on
INFO[0076] Starting overlay network test
INFO[0088] Overlay networking test passed.
INFO[0088] Creating network: dtr-replica-02/dtr-br
INFO[0088] Connecting to network: dtr-replica-02/dtr-br
INFO[0088] Waiting for phase2 container to be known to the Docker daemon
INFO[0091] Connecting to network: dtr-ol
INFO[0091] Waiting for phase2 container to be known to the Docker daemon
INFO[0092] Starting UCP connectivity test
INFO[0092] UCP connectivity test passed
INFO[0092] Setting up replica volumes...
INFO[0103] Connecting to etcd...
INFO[0114] Waiting for etcd...
INFO[0114] Waiting for etcd...
INFO[0115] Getting container configuration and starting containers...
INFO[0137] Recreating dtr-etcd-000000000002...
INFO[0145] Recreating dtr-rethinkdb-000000000002...
INFO[0156] Recreating dtr-registry-000000000002...
INFO[0173] Recreating dtr-api-000000000002...
INFO[0188] Recreating dtr-nginx-000000000002...
INFO[0205] Waiting for etcd...
INFO[0216] Verifying auth settings...
INFO[0216] Waiting for etcd...
INFO[0216] Waiting for DTR to start...
INFO[0246] Waiting for DTR to start...
INFO[0256] Waiting for DTR to start...
INFO[0266] Waiting for DTR to start...
INFO[0276] Waiting for DTR to start...
INFO[0286] Waiting for DTR to start...
INFO[0296] Waiting for DTR to start...
INFO[0306] Waiting for DTR to start...
INFO[0336] Waiting for DTR to start...
INFO[0346] Waiting for DTR to start...
INFO[0357] Waiting for DTR to start...
INFO[0367] Waiting for DTR to start...
INFO[0377] Waiting for DTR to start...
INFO[0387] Waiting for DTR to start...
INFO[0397] Waiting for DTR to start...
INFO[0407] Waiting for DTR to start...
INFO[0417] Waiting for DTR to start...
INFO[0427] Waiting for DTR to start...
INFO[0437] Waiting for DTR to start...
INFO[0447] Waiting for DTR to start...
INFO[0457] Waiting for DTR to start...
INFO[0467] Waiting for DTR to start...
INFO[0477] Waiting for DTR to start...
INFO[0487] Waiting for DTR to start...
INFO[0497] Waiting for DTR to start...
INFO[0508] Waiting for DTR to start...
INFO[0518] Waiting for DTR to start...
INFO[0528] Waiting for DTR to start...
INFO[0538] Waiting for DTR to start...
INFO[0548] Waiting for DTR to start...
ERRO[0558] Couldn't get ha config: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
FATA[0558] Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
FATA[0604] Phase 2 returned non-zero status: 1
2016-08-11 10:41:57,204 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-08-11 10:41:57,252 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-08-11 10:41:57,252 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 10:41:57 +0000. Datasource DataSourceEc2.  Up 1010.62 seconds

Got a big further increasing the timeout to 1800 seconds on all wait conditions. Now past one wait condition (DTRreplica01). Now DTRreplica02 fails. Here's a log tail:

+ sudo -E docker run --rm -i docker/dtr:2.0.1 join --ucp-url https://ucp.ddc.nonproduction.ap-southeast-1.saltside.io --ucp-node dtr-replica-02 --ucp-username admin --ucp-password ddconaws --ucp-insecure-tls --replica-id 000000000002 --existing-replica-id 000000000001
Unable to find image 'docker/dtr:2.0.1' locally
2.0.1: Pulling from docker/dtr
d0ca440e8637: Already exists
3c7d43af99af: Pulling fs layer
eb5b70e066ca: Pulling fs layer
3c7d43af99af: Verifying Checksum
3c7d43af99af: Download complete
eb5b70e066ca: Verifying Checksum
eb5b70e066ca: Download complete
3c7d43af99af: Pull complete
eb5b70e066ca: Pull complete
Digest: sha256:f8859b309b6842f4f5775e4eec67681c2afee37e80a1f38d897a52a6f3ac95e1
Status: Downloaded newer image for docker/dtr:2.0.1
INFO[0000] Beginning Docker Trusted Registry replica join
INFO[0000] Validating UCP cert
INFO[0019] UCP cert validation successful
INFO[0000] Validating UCP cert
INFO[0017] UCP cert validation successful
INFO[0048] Validating UCP cert
INFO[0057] UCP cert validation successful
INFO[0075] Checking if the node is okay to install on
INFO[0076] Starting overlay network test
INFO[0088] Overlay networking test passed.
INFO[0088] Creating network: dtr-replica-02/dtr-br
INFO[0088] Connecting to network: dtr-replica-02/dtr-br
INFO[0088] Waiting for phase2 container to be known to the Docker daemon
INFO[0091] Connecting to network: dtr-ol
INFO[0091] Waiting for phase2 container to be known to the Docker daemon
INFO[0092] Starting UCP connectivity test
INFO[0092] UCP connectivity test passed
INFO[0092] Setting up replica volumes...
INFO[0103] Connecting to etcd...
INFO[0114] Waiting for etcd...
INFO[0114] Waiting for etcd...
INFO[0115] Getting container configuration and starting containers...
INFO[0137] Recreating dtr-etcd-000000000002...
INFO[0145] Recreating dtr-rethinkdb-000000000002...
INFO[0156] Recreating dtr-registry-000000000002...
INFO[0173] Recreating dtr-api-000000000002...
INFO[0188] Recreating dtr-nginx-000000000002...
INFO[0205] Waiting for etcd...
INFO[0216] Verifying auth settings...
INFO[0216] Waiting for etcd...
INFO[0216] Waiting for DTR to start...
INFO[0246] Waiting for DTR to start...
INFO[0256] Waiting for DTR to start...
INFO[0266] Waiting for DTR to start...
INFO[0276] Waiting for DTR to start...
INFO[0286] Waiting for DTR to start...
INFO[0296] Waiting for DTR to start...
INFO[0306] Waiting for DTR to start...
INFO[0336] Waiting for DTR to start...
INFO[0346] Waiting for DTR to start...
INFO[0357] Waiting for DTR to start...
INFO[0367] Waiting for DTR to start...
INFO[0377] Waiting for DTR to start...
INFO[0387] Waiting for DTR to start...
INFO[0397] Waiting for DTR to start...
INFO[0407] Waiting for DTR to start...
INFO[0417] Waiting for DTR to start...
INFO[0427] Waiting for DTR to start...
INFO[0437] Waiting for DTR to start...
INFO[0447] Waiting for DTR to start...
INFO[0457] Waiting for DTR to start...
INFO[0467] Waiting for DTR to start...
INFO[0477] Waiting for DTR to start...
INFO[0487] Waiting for DTR to start...
INFO[0497] Waiting for DTR to start...
INFO[0508] Waiting for DTR to start...
INFO[0518] Waiting for DTR to start...
INFO[0528] Waiting for DTR to start...
INFO[0538] Waiting for DTR to start...
INFO[0548] Waiting for DTR to start...
ERRO[0558] Couldn't get ha config: Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
FATA[0558] Failed to wait for dtr to come back up: Polling failed with 30 attempts 5s apart: Failed to connect to DTR: Get /api/v0/openid/begin: redirect
FATA[0604] Phase 2 returned non-zero status: 1
2016-08-11 10:41:57,204 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
2016-08-11 10:41:57,252 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-08-11 10:41:57,252 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.5 finished at Thu, 11 Aug 2016 10:41:57 +0000. Datasource DataSourceEc2.  Up 1010.62 seconds
@nicolaka

This comment has been minimized.

Show comment
Hide comment
@nicolaka

nicolaka Aug 12, 2016

Collaborator

@ahawkins are you still seeing this issue?

Collaborator

nicolaka commented Aug 12, 2016

@ahawkins are you still seeing this issue?

@avattathil avattathil closed this Apr 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment