Closed rajesh-dcis closed 5 years ago
can you post the instance console output as described here https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output
Below is the console output.
[22;1H The selected entry will be started automatically in 1s. [4;79H[22;1H The selected entry will be started automatically in 0s. [4;79H[?25h[H[J[1;1H[H[J[1;1H[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.0-693.5.2.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) ) #1 SMP Fri Oct 20 20:32:50 UTC 2017 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.5.2.el7.x86_64 root=UUID=6f15c206-f516-4ee8-a4b7-89ad880647db ro console=tty0 console=ttyS0,115200n8 crashkernel=auto console=ttyS0,115200 LANG=en_US.UTF-8 [ 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-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.7 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] e820: last_pfn = 0x40000 max_arch_pfn = 0x400000000 [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] found SMP MP-table at [mem 0x000fbc50-0x000fbc5f] mapped at [ffff8800000fbc50] [ 0.000000] RAMDISK: [mem 0x332a5000-0x3594afff] [ 0.000000] Early table checksum verification disabled [ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen) [ 0.000000] ACPI: XSDT 00000000fc00e2a0 00054 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: FACP 00000000fc00df60 000F4 (v04 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: DSDT 00000000fc0021c0 0BD19 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] ACPI: FACS 00000000fc002180 00040 [ 0.000000] ACPI: APIC 00000000fc00e060 000D8 (v02 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: HPET 00000000fc00e1b0 00038 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: WAET 00000000fc00e1f0 00028 (v01 Xen HVM 00000000 HVML 00000000) [ 0.000000] ACPI: SSDT 00000000fc00e220 00031 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] ACPI: SSDT 00000000fc00e260 00031 (v02 Xen HVM 00000000 INTL 20090123) [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x3ffd9000-0x3fffffff] [ 0.000000] crashkernel=auto resulted in zero bytes of reserved memory. [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00001000-0x00ffffff] [ 0.000000] DMA32 [mem 0x01000000-0xffffffff] [ 0.000000] Normal empty [ 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-0x3fffffff] [ 0.000000] Initmem setup node 0 [mem 0x00001000-0x3fffffff] [ 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[0x00] disabled) [ 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, 14 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] e820: [mem 0x40000000-0xfbffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on Xen HVM [ 0.000000] setup_percpu: NR_CPUS:5120 nr_cpumask_bits:15 nr_cpu_ids:15 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 33 pages/cpu @ffff88003e200000 s97048 r8192 d29928 u262144 [ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes) [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 257928 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.5.2.el7.x86_64 root=UUID=6f15c206-f516-4ee8-a4b7-89ad880647db ro console=tty0 console=ttyS0,115200n8 crashkernel=auto console=ttyS0,115200 LANG=en_US.UTF-8 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340 using standard form [ 0.000000] Memory: 973396k/1048576k available (6886k kernel code, 396k absent, 74784k reserved, 4545k data, 1764k init) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=5120 to nr_cpu_ids=15. [ 0.000000] NR_IRQS:327936 nr_irqs:952 0 [ 0.000000] xen:events: Xen HVM callback vector for event delivery is enabled [ 0.000000] Console: colour VGA+ 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 0.000000] console [ttyS0] enabled [ 0.000000] allocated 4194304 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 2399.954 MHz processor [ 0.025000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.16 BogoMIPS (lpj=2400082) [ 0.033005] pid_max: default: 32768 minimum: 301 [ 0.037048] Security Framework initialized [ 0.041010] SELinux: Initializing. [ 0.045026] Yama: becoming mindful. [ 0.048115] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.054195] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.061098] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.067011] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.073194] Initializing cgroup subsys memory [ 0.077011] Initializing cgroup subsys devices [ 0.081005] Initializing cgroup subsys freezer [ 0.085004] Initializing cgroup subsys net_cls [ 0.089005] Initializing cgroup subsys blkio [ 0.093005] Initializing cgroup subsys perf_event [ 0.097008] Initializing cgroup subsys hugetlb [ 0.103005] Initializing cgroup subsys pids [ 0.107004] Initializing cgroup subsys net_prio [ 0.111073] CPU: Physical Processor ID: 0 [ 0.116224] mce: CPU supports 2 MCE banks [ 0.121026] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.126004] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0 [ 0.131004] tlb_flushall_shift: 6 [ 0.148013] ACPI: Core revision 20130517 [ 0.157493] ACPI: All ACPI Tables successfully acquired [ 0.163005] ftrace: allocating 26586 entries in 104 pages [ 0.194103] smpboot: Max logical packages: 15 [ 0.201669] IRQ remapping doesn't support X2APIC mode, disable x2apic. [ 0.208004] Switched APIC routing to physical flat. [ 0.216158] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 [ 0.231639] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz (fam: 06, model: 3f, stepping: 02) [ 0.243020] installing Xen timer for CPU 0 [ 0.249106] cpu 0 spinlock event irq 53 [ 0.250017] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 0.254203] Brought up 1 CPUs [ 0.255010] smpboot: Total of 1 processors activated (4800.16 BogoMIPS) [ 0.256005] random: fast init done [ 0.257418] NMI watchdog: disabled (cpu0): hardware events not enabled [ 0.258009] NMI watchdog: Shutting down hard lockup detector on all cpus [ 0.259252] devtmpfs: initialized [ 0.261428] EVM: security.selinux [ 0.262021] EVM: security.ima [ 0.263021] EVM: security.capability [ 0.264749] atomic64 test passed for x86-64 platform with CX8 and with SSE [ 0.265013] pinctrl core: initialized pinctrl subsystem [ 0.266065] RTC time: 10:28:01, date: 08/30/18 [ 0.267115] NET: Registered protocol family 16 [ 0.268211] ACPI: bus type PCI registered [ 0.269007] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 0.270424] PCI: Using configuration type 1 for base access [ 0.271843] ACPI: Added _OSI(Module Device) [ 0.272007] ACPI: Added _OSI(Processor Device) [ 0.273005] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.274010] ACPI: Added _OSI(Processor Aggregator Device) [ 0.278994] ACPI: Interpreter enabled [ 0.279022] ACPI: (supports S0 S3 S4 S5) [ 0.280005] ACPI: Using IOAPIC for interrupt routing [ 0.281046] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.369943] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.370012] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 0.371012] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 0.372106] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 0.373819] acpiphp: Slot [0] registered [ 0.375146] acpiphp: Slot [3] registered [ 0.376430] acpiphp: Slot [4] registered [ 0.377480] acpiphp: Slot [5] registered [ 0.378444] acpiphp: Slot [6] registered [ 0.379455] acpiphp: Slot [7] registered [ 0.380497] acpiphp: Slot [8] registered [ 0.381505] acpiphp: Slot [9] registered [ 0.382448] acpiphp: Slot [10] registered [ 0.383395] acpiphp: Slot [11] registered [ 0.384479] acpiphp: Slot [12] registered [ 0.385392] acpiphp: Slot [13] registered [ 0.386458] acpiphp: Slot [14] registered [ 0.387515] acpiphp: Slot [15] registered [ 0.388435] acpiphp: Slot [16] registered [ 0.389479] acpiphp: Slot [17] registered [ 0.390508] acpiphp: Slot [18] registered [ 0.391505] acpiphp: Slot [19] registered [ 0.392516] acpiphp: Slot [20] registered [ 0.393425] acpiphp: Slot [21] registered [ 0.394436] acpiphp: Slot [22] registered [ 0.395446] acpiphp: Slot [23] registered [ 0.396487] acpiphp: Slot [24] registered [ 0.397442] acpiphp: Slot [25] registered [ 0.398390] acpiphp: Slot [26] registered [ 0.399399] acpiphp: Slot [27] registered [ 0.400464] acpiphp: Slot [28] registered [ 0.401392] acpiphp: Slot [29] registered [ 0.402452] acpiphp: Slot [30] registered [ 0.403448] acpiphp: Slot [31] registered [ 0.404460] PCI host bridge to bus 0000:00 [ 0.405010] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.406009] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.407006] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.408008] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.409008] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfbffffff window] [ 0.418226] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.419008] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.420008] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.421006] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.423000] Found PM-Timer Bug on the chipset. Due to workarounds for a bug, [ 0.423000] this clock source is slow. Consider trying other clock sources [ 0.424985] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 0.436408] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 10 11) [ 0.441319] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 10 11) [ 0.445361] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 11) [ 0.449290] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 11) [ 0.480844] ACPI: Enabled 2 GPEs in block 00 to 0F [ 0.481083] xen:balloon: Initialising balloon driver [ 0.483041] xen_balloon: Initialising balloon driver [ 0.484155] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.485025] vgaarb: loaded [ 0.486006] vgaarb: bridge control possible 0000:00:02.0 [ 0.487131] SCSI subsystem initialized [ 0.488067] ACPI: bus type USB registered [ 0.489031] usbcore: registered new interface driver usbfs [ 0.490019] usbcore: registered new interface driver hub [ 0.491026] usbcore: registered new device driver usb [ 0.492127] PCI: Using ACPI for IRQ routing [ 0.493873] NetLabel: Initializing [ 0.494006] NetLabel: domain hash size = 128 [ 0.495006] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.496025] NetLabel: unlabeled traffic allowed by default [ 0.497056] HPET: 3 timers in total, 0 timers will be used for per-cpu timer [ 0.498027] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 [ 0.502005] hpet0: 3 comparators, 64-bit 62.500000 MHz counter [ 0.505000] amd_nb: Cannot enumerate AMD northbridges [ 0.505023] Switched to clocksource xen [ 0.519146] pnp: PnP ACPI init [ 0.523129] ACPI: bus type PNP registered [ 0.527620] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved [ 0.534993] system 00:01: [io 0x08a0-0x08a3] has been reserved [ 0.541101] system 00:01: [io 0x0cc0-0x0ccf] has been reserved [ 0.547580] system 00:01: [io 0x04d0-0x04d1] has been reserved [ 0.554021] system 00:07: [io 0x10c0-0x1141] has been reserved [ 0.579797] system 00:07: [io 0xb044-0xb047] has been reserved [ 0.612450] pnp: PnP ACPI: found 8 devices [ 0.629922] ACPI: bus type PNP unregistered [ 0.641723] NET: Registered protocol family 2 [ 0.649850] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.659434] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 0.668349] TCP: Hash tables configured (established 8192 bind 8192) [ 0.677260] TCP: reno registered [ 0.682174] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.690425] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.699007] NET: Registered protocol family 1 [ 0.704616] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.712367] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.720038] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.728101] Unpacking initramfs... [ 1.121520] Freeing initrd memory: 39576k freed [ 1.135615] RAPL PMU: API unit is 2^-32 Joules, 4 fixed counters, 655360 ms ovfl timer [ 1.157025] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 1.163899] RAPL PMU: hw unit of domain package 2^-14 Joules [ 1.171462] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 1.178035] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 1.186552] sha1_ssse3: Using AVX optimized SHA-1 implementation [ 1.193608] sha256_ssse3: Using AVX2 optimized SHA-256 implementation [ 1.201796] futex hash table entries: 4096 (order: 6, 262144 bytes) [ 1.208876] Initialise system trusted keyring [ 1.213782] audit: initializing netlink socket (disabled) [ 1.219642] type=2000 audit(1535624882.442:1): initialized [ 1.263045] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 1.273769] zpool: loaded [ 1.278486] zbud: loaded [ 1.282056] VFS: Disk quotas dquot_6.5.2 [ 1.286660] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.295309] msgmni has been set to 1978 [ 1.300666] Key type big_key registered [ 1.310217] NET: Registered protocol family 38 [ 1.320734] Key type asymmetric registered [ 1.325653] Asymmetric key parser 'x509' registered [ 1.330788] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 1.338915] io scheduler noop registered [ 1.342926] io scheduler deadline registered (default) [ 1.347855] io scheduler cfq registered [ 1.351758] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.356830] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.364659] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 1.372994] ACPI: Power Button [PWRF] [ 1.376839] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 1.383997] ACPI: Sleep Button [SLPF] [ 1.387928] GHES: HEST is not enabled! [ 1.392268] xen:grant_table: Grant tables using version 1 layout [ 1.399477] Grant table initialized [ 1.403200] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22! [ 1.408387] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.443976] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 1.451235] Non-volatile memory driver v1.3 [ 1.456752] Linux agpgart interface v0.103 [ 1.461974] crash memory driver: version 1.1 [ 1.466122] rdac: device handler registered [ 1.470334] hp_sw: device handler registered [ 1.474635] emc: device handler registered [ 1.478829] alua: device handler registered [ 1.483122] libphy: Fixed MDIO Bus: probed [ 1.488526] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.496189] ehci-pci: EHCI PCI platform driver [ 1.502064] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.509283] ohci-pci: OHCI PCI platform driver [ 1.515148] uhci_hcd: USB Universal Host Controller Interface driver [ 1.522643] usbcore: registered new interface driver usbserial [ 1.529575] usbcore: registered new interface driver usbserial_generic [ 1.537059] usbserial: USB Serial support registered for generic [ 1.544254] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 [ 1.558475] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.564762] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.571197] mousedev: PS/2 mouse device common for all mice [ 1.579290] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 1.589843] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0 [ 1.597250] rtc_cmos 00:02: alarms up to one day, 114 bytes nvram, hpet irqs [ 1.615721] cpuidle: using governor menu [ 1.621023] hidraw: raw HID events driver (C) Jiri Kosina [ 1.627781] usbcore: registered new interface driver usbhid [ 1.635325] usbhid: USB HID core driver [ 1.640606] drop_monitor: Initializing network drop monitor service [ 1.648023] TCP: cubic registered [ 1.652666] Initializing XFRM netlink socket [ 1.658594] NET: Registered protocol family 10 [ 1.663356] NET: Registered protocol family 17 [ 1.667919] intel_rdt: Intel RDT L3 allocation detected [ 1.672885] microcode: CPU0 sig=0x306f2, pf=0x1, revision=0x3c [ 1.678082] microcode: Microcode Update Driver: v2.01 tigran@aivazian.fsnet.co.uk, Peter Oruba [ 1.686445] Loading compiled-in X.509 certificates [ 1.692714] Loaded X.509 cert 'CentOS Linux kpatch signing key: ea0413152cde1d98ebdca3fe6f0230904c9ef717' [ 1.704149] Loaded X.509 cert 'CentOS Linux Driver update signing key: 7f421ee0ab69461574bb358861dbe77762a4201b' [ 1.718443] Loaded X.509 cert 'CentOS Linux kernel signing key: c757a9fbbd0d82c9e54052029a0908d17cf1adc7' [ 1.730716] registered taskstats version 1 [ 1.737742] Key type trusted registered [ 1.744215] Key type encrypted registered [ 1.753240] IMA: No TPM chip found, activating TPM-bypass! [ 1.760391] xenbus_probe_frontend: Device with no driver: device/vbd/768 [ 1.767786] xenbus_probe_frontend: Device with no driver: device/vif/0 [ 1.774922] Magic number: 14:253:478 [ 1.778783] rtc rtc0: hash matches [ 1.782722] rtc_cmos 00:02: setting system clock to 2018-08-30 10:28:03 UTC (1535624883) [ 1.793576] Freeing unused kernel memory: 1764k freed [ 1.802243] systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 1.819968] systemd[1]: Detected virtualization xen. [ 1.824729] systemd[1]: Detected architecture x86-64. [ 1.829476] systemd[1]: Running in initial RAM disk.
Welcome to [0;34mCentOS Linux 7 (Core) dracut-033-502.el7 (Initramfs)[0m!
[ 1.839174] systemd[1]: No hostname configured.
[ 1.843719] systemd[1]: Set hostname to
[[32m OK [0m] Reached target Basic System.[ 2.528859] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
Starting dracut initqueue hook...
[ 2.565876] scsi host0: ata_piix [ 2.570034] xvda: xvda1 [ 2.574373] scsi host1: ata_piix [ 2.579244] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14 [ 2.586277] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15 [[32m OK [0m] Found device /dev/disk/by-uuid/6f15c206-f516-4ee8-a4b7-89ad880647db. [[32m OK [0m] Started dracut initqueue hook. [[32m OK [0m] Reached target Remote File Systems (Pre). [[32m OK [0m] Reached target Remote File Systems. Starting File System Check on /dev/...6-f516-4ee8-a4b7-89ad880647db... [[32m OK [0m] Started File System Check on /dev/d...206-f516-4ee8-a4b7-89ad880647db. Mounting /sysroot... [ 2.960862] SGI XFS with ACLs, security attributes, no debug enabled [ 2.968784] XFS (xvda1): Mounting V5 Filesystem [ 3.051544] XFS (xvda1): Ending clean mount [[32m OK [0m] Mounted /sysroot. [[32m OK [0m] Reached target Initrd Root File System. Starting Reload Configuration from the Real Root... [[32m OK [0m] Started Reload Configuration from the Real Root. [[32m OK [0m] Reached target Initrd File Systems. [[32m OK [0m] Reached target Initrd Default Target. Starting dracut pre-pivot and cleanup hook... [[32m OK [0m] Started dracut pre-pivot and cleanup hook. Starting Cleaning Up and Shutting Down Daemons... [[32m OK [0m] Stopped target Timers. [[32m OK [0m] Stopped Cleaning Up and Shutting Down Daemons. [[32m OK [0m] Stopped dracut pre-pivot and cleanup hook. Stopping dracut pre-pivot and cleanup hook... [[32m OK [0m] Stopped target Remote File Systems. [[32m OK [0m] Stopped target Remote File Systems (Pre). [[32m OK [0m] Stopped dracut initqueue hook. Stopping dracut initqueue hook... [[32m OK [0m] Stopped target Initrd Default Target. [[32m OK [0m] Stopped target Basic System. [[32m OK [0m] Stopped target System Initialization. [[32m OK [0m] Stopped target Swap. [[32m OK [0m] Stopped udev Coldplug all Devices. Stopping udev Coldplug all Devices... [[32m OK [0m] Stopped dracut pre-trigger hook. Stopping dracut pre-trigger hook... Stopping udev Kernel Device Manager... [[32m OK [0m] Stopped target Local File Systems. [[32m OK [0m] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [[32m OK [0m] Stopped target Slices. [[32m OK [0m] Stopped target Paths. [[32m OK [0m] Stopped target Sockets. [[32m OK [0m] Stopped udev Kernel Device Manager. [[32m OK [0m] Stopped dracut pre-udev hook. Stopping dracut pre-udev hook... [[32m OK [0m] Stopped dracut cmdline hook. Stopping dracut cmdline hook... [[32m OK [0m] Stopped Create Static Device Nodes in /dev. Stopping Create Static Device Nodes in /dev... [[32m OK [0m] Stopped Create list of required sta...ce nodes for the current kernel. Stopping Create list of required st... nodes for the current kernel... [[32m OK [0m] Closed udev Control Socket. [[32m OK [0m] Closed udev Kernel Socket. Starting Cleanup udevd DB... [[32m OK [0m] Started Cleanup udevd DB. [[32m OK [0m] Reached target Switch Root. Starting Switch Root... [ 3.492535] systemd-journald[90]: Received SIGTERM from PID 1 (systemd). [ 3.580774] random: crng init done [ 4.010089] type=1404 audit(1535624885.727:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 [ 4.327753] type=1403 audit(1535624886.044:3): policy loaded auid=4294967295 ses=4294967295 [ 4.342355] systemd[1]: Successfully loaded SELinux policy in 352.132ms. [ 4.833612] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.838713] systemd[1]: Inserted module 'ip_tables' [ 4.858578] systemd[1]: Relabelled /dev and /run in 12.125ms.
Welcome to [0;31mCentOS Linux 7 (Core)[0m!
[[32m OK [0m] Stopped Switch Root. [[32m OK [0m] Stopped Journal Service. Starting Journal Service... Mounting Debug File System... [[32m OK [0m] Listening on /dev/initctl Compatibility Named Pipe. [[32m OK [0m] Created slice User and Session Slice. [[32m OK [0m] Created slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [[32m OK [0m] Listening on udev Kernel Socket. [[32m OK [0m] Created slice system-serial\x2dgetty.slice. [[32m OK [0m] Created slice system-getty.slice. Mounting NFSD configuration filesystem... [[32m OK [0m] Reached target Swap. [[32m OK [0m] Set up automount Arbitrary Executab...ats File System Automount Point. [[32m OK [0m] Reached target Slices. [[32m OK [0m] Stopped File System Check on Root Device. Stopping File System Check on Root Device... Starting Setup Virtual Console... [[32m OK [0m] Listening on udev Control Socket. Mounting POSIX Message Queue File System... [[32m OK [0m] Reached target Encrypted Volumes. [[32m OK [0m] Listening on Delayed Shutdown Socket. Starting Create list of required st... nodes for the current kernel... Starting Apply Kernel Variables... Starting Remount Root and Kernel File Systems... [[32m OK [0m] Stopped target Switch Root. [[32m OK [0m] Stopped target Initrd Root File System. [[32m OK [0m] Stopped target Initrd File Systems. Mounting Huge Pages File System... [[32m OK [0m] Mounted Debug File System. [[32m OK [0m] Mounted POSIX Message Queue File System. [[32m OK [0m] Mounted Huge Pages File System. [[32m OK [0m] Started Journal Service. [[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel. [[32m OK [0m] Started Apply Kernel Variables. [[32m OK [0m] Started Remount Root and Kernel File Systems. Starting Rebuild Hardware Database... Starting Initial cloud-init job (pre-networking)... Starting Configure read-only root support... Starting Load/Save Random Seed... Starting Create Static Device Nodes in /dev... Starting Flush Journal to Persistent Storage... [[32m OK [0m] Started Setup Virtual Console. [[32m OK [0m] Started Load/Save Random Seed. [ 6.128244] systemd-journald[356]: Received request to flush runtime journal from PID 1 [[32m OK [0m] Started Flush Journal to Persistent Storage. [[32m OK [0m] Started Configure read-only root support. [[32m OK [0m] Started Create Static Device Nodes in /dev. [[32m OK [0m] Reached target Local File Systems (Pre). Starting udev Kernel Device Manager... [[32m OK [0m] Reached target Local File Systems. Starting Import network configuration from initramfs... Starting Migrate local SELinux poli...tructure to the new structure... Starting Preprocess NFS configuration... Starting Rebuild Journal Catalog... [[32m OK [0m] Started Migrate local SELinux polic... structure to the new structure.[ 6.353183] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[[32m OK [0m] Started Preprocess NFS configuration. [[32m OK [0m] Started Rebuild Journal Catalog. [[32m OK [0m] Mounted NFSD configuration filesystem. [[32m OK [0m] Started Import network configuration from initramfs. [[32m OK [0m] Started udev Kernel Device Manager. Starting Create Volatile Files and Directories... [[32m OK [0m] Started Create Volatile Files and Directories. Starting Security Auditing Service... [ 6.717223] type=1305 audit(1535624888.434:4): audit_pid=431 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1 [[32m OK [0m] Started Rebuild Hardware Database. Starting Update is Completed... Starting udev Coldplug all Devices... [[32m OK [0m] Started Update is Completed. [[32m OK [0m] Started udev Coldplug all Devices. [[32m OK [0m] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [[32m OK [0m] Started Update UTMP about System Boot/Shutdown. [ 7.195819] input: PC Speaker as /devices/platform/pcspkr/input/input4 [[32m OK [0m] Found device /dev/ttyS0. [ 7.233993] piix4_smbus 0000:00:01.3: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr [ 7.307838] ppdev: user-space parallel port driver [ 7.436118] AES CTR mode by8 optimization enabled [ 7.451717] [drm] Initialized [ 7.466584] Error: Driver 'pcspkr' is already registered, aborting... [ 7.506285] alg: No test for gcm-aes-aesni (driver-gcm-aes-aesni) [ 7.530458] [TTM] Zone kernel: Available graphics memory: 507368 kiB [ 7.538762] [TTM] Initializing pool allocator [ 7.548479] [TTM] Initializing DMA pool allocator [ 7.556672] [drm] fb mappable at 0xF0000000 [ 7.562011] [drm] vram aper at 0xF0000000 [ 7.567187] [drm] size 33554432 [ 7.571258] [drm] fb depth is 24 [ 7.575673] [drm] pitch is 3072 [ 7.581111] fbcon: cirrusdrmfb (fb0) is primary device [ 7.637078] alg: No test for crc32 (crc32-pclmul) [ 7.675273] Console: switching to colour frame buffer device 128x48 [ 7.769045] cirrus 0000:00:02.0: fb0: cirrusdrmfb frame buffer device [ 7.775568] [drm] Initialized cirrus 1.0.0 20110418 for 0000:00:02.0 on minor 0 [ 7.830677] intel_rapl: Found RAPL domain package [ 7.830688] intel_rapl: Found RAPL domain dram [ 7.830689] intel_rapl: DRAM domain energy unit 15300pj [ 7.921061] EDAC MC: Ver: 3.0.0 [ 7.932743] EDAC sbridge: Ver: 1.1.1 [ 9.073345] cloud-init[379]: Cloud-init v. 0.7.9 running 'init-local' at Thu, 30 Aug 2018 10:28:10 +0000. Up 9.00 seconds. [[32m OK [0m] Started Initial cloud-init job (pre-networking). [[32m OK [0m] Reached target Network (Pre). [[32m OK [0m] Reached target System Initialization. [[32m OK [0m] Reached target Timers. [[32m OK [0m] Listening on D-Bus System Message Bus Socket. [[32m OK [0m] Reached target Paths. [[32m OK [0m] Listening on RPCbind Server Activation Socket. [[32m OK [0m] Reached target Sockets. [[32m OK [0m] Reached target Basic System. [[32m OK [0m] Started irqbalance daemon. Starting irqbalance daemon... Starting LSB: Bring up/down networking... Starting GSSAPI Proxy Daemon... Starting NTP client/server... [[32m OK [0m] Started D-Bus System Message Bus. Starting D-Bus System Message Bus... Starting Dump dmesg to /var/log/dmesg... Starting Authorization Manager... Starting Login Service... Starting System Logging Service... [[32m OK [0m] Started GSSAPI Proxy Daemon. [[32m OK [0m] Started Dump dmesg to /var/log/dmesg. [[32m OK [0m] Reached target NFS client services. [[32m OK [0m] Reached target Remote File Systems (Pre). [[32m OK [0m] Reached target Remote File Systems. [[32m OK [0m] Started NTP client/server. [[32m OK [0m] Started System Logging Service. [[32m OK [0m] Started Login Service. [[32m OK [0m] Started Authorization Manager. [[32m OK [0m] Started LSB: Bring up/down networking. [[32m OK [0m] Reached target Network. Starting Dynamic System Tuning Daemon... Starting Postfix Mail Transport Agent... Starting Initial cloud-init job (metadata service crawler)... [ 13.289484] cloud-init[837]: Cloud-init v. 0.7.9 running 'init' at Thu, 30 Aug 2018 10:28:14 +0000. Up 13.26 seconds. [ 13.351135] cloud-init[837]: ci-info: +++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++ [ 13.386098] cloud-init[837]: ci-info: +--------+------+---------------+---------------+-------+-------------------+ [ 13.410347] cloud-init[837]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 13.432093] cloud-init[837]: ci-info: +--------+------+---------------+---------------+-------+-------------------+ [ 13.456102] cloud-init[837]: ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | [ 13.474726] cloud-init[837]: ci-info: | lo: | True | . | . | d | . | [ 13.493446] cloud-init[837]: ci-info: | eth0: | True | 10.121.82.192 | 255.255.255.0 | . | 02:b0:d7:79:e9:f4 | [ 13.513354] cloud-init[837]: ci-info: | eth0: | True | . | . | d | 02:b0:d7:79:e9:f4 | [ 13.531120] cloud-init[837]: ci-info: +--------+------+---------------+---------------+-------+-------------------+ [ 13.554592] cloud-init[837]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++ [ 13.578977] cloud-init[837]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 13.595011] cloud-init[837]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 13.608752] cloud-init[837]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [ 13.622906] cloud-init[837]: ci-info: | 0 | 0.0.0.0 | 10.121.82.1 | 0.0.0.0 | eth0 | UG | [ 13.633518] cloud-init[837]: ci-info: | 1 | 10.121.82.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | [ 13.646755] cloud-init[837]: ci-info: +-------+-------------+-------------+---------------+-----------+-------+ [[32m OK [0m] Started Dynamic System Tuning Daemon. [[32m OK [0m] Started Postfix Mail Transport Agent. Starting Hostname Service... [[32m OK [0m] Started Hostname Service. [[32m OK [0m] Started Initial cloud-init job (metadata service crawler). Starting OpenSSH Server Key Generation... [[32m OK [0m] Reached target Network is Online. Starting Notify NFS peers of a restart... Starting Crash recovery kernel arming... Starting Permit User Sessions... [[32m OK [0m] Reached target Cloud-config availability. Starting Apply the settings specified in cloud-config... [[32m OK [0m] Started Notify NFS peers of a restart. [[32m OK [0m] Started Permit User Sessions. [[32m OK [0m] Started Getty on tty1. Starting Getty on tty1... [[32m OK [0m] Started Command Scheduler. Starting Command Scheduler... [[32m OK [0m] Started Serial Getty on ttyS0. Starting Serial Getty on ttyS0... [[32m OK [0m] Reached target Login Prompts. [[1;31mFAILED[0m] Failed to start Crash recovery kernel arming. See 'systemctl status kdump.service' for details. [ 15.758425] cloud-init[1007]: Cloud-init v. 0.7.9 running 'modules:config' at Thu, 30 Aug 2018 10:28:17 +0000. Up 15.61 seconds. [[32m OK [0m] Started OpenSSH Server Key Generation. Starting OpenSSH server daemon... [[32m OK [0m] Started OpenSSH server daemon. Stopping OpenSSH server daemon... [[32m OK [0m] Stopped OpenSSH server daemon. [[32m OK [0m] Stopped OpenSSH Server Key Generation. Stopping OpenSSH Server Key Generation... Starting OpenSSH server daemon... [[32m OK [0m] Started OpenSSH server daemon. [[32m OK [0m] Started Apply the settings specified in cloud-config. Starting Execute cloud user/final scripts... [ 16.219079] cloud-init[1057]: Cloud-init v. 0.7.9 running 'modules:final' at Thu, 30 Aug 2018 10:28:17 +0000. Up 16.17 seconds. [ 16.392646] cloud-init[1057]: + export REGION=us-west-2 [ 16.397297] cloud-init[1057]: + REGION=us-west-2 [ 16.401836] cloud-init[1057]: + export STACKNAME=Iam-cluster [ 16.406682] cloud-init[1057]: + STACKNAME=Iam-cluster [ 16.411083] cloud-init[1057]: + trap '/bin/cfn-signal -e 1 --stack=${STACKNAME} --region=${REGION} --resource=Instance' ERR [ 16.419756] cloud-init[1057]: + mkdir aws-cfn-bootstrap-latest [ 16.424110] cloud-init[1057]: + tar xz -C aws-cfn-bootstrap-latest --strip-components 1 [ 16.429697] cloud-init[1057]: + curl -s -m 60 https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz [ 18.147224] cloud-init[1057]: + easy_install aws-cfn-bootstrap-latest [ 18.490128] cloud-init[1057]: Processing aws-cfn-bootstrap-latest [ 18.494827] cloud-init[1057]: Writing /aws-cfn-bootstrap-latest/setup.cfg [ 18.499175] cloud-init[1057]: Running setup.py -q bdist_egg --dist-dir /aws-cfn-bootstrap-latest/egg-dist-tmp-iXUUtm [ 19.080112] cloud-init[1057]: zip_safe flag not set; analyzing archive contents... [ 19.096165] cloud-init[1057]: cfnbootstrap.packages.requests.certs: module references file [ 19.114097] cloud-init[1057]: cfnbootstrap.packages.requests.certs: module references file [ 19.812439] cloud-init[1057]: Adding aws-cfn-bootstrap 1.4 to easy-install.pth file [ 19.817796] cloud-init[1057]: Installing cfn-init script to /usr/bin [ 19.832089] cloud-init[1057]: Installing cfn-signal script to /usr/bin [ 19.837409] cloud-init[1057]: Installing cfn-get-metadata script to /usr/bin [ 19.847618] cloud-init[1057]: Installing cfn-hup script to /usr/bin [ 19.851719] cloud-init[1057]: Installing cfn-elect-cmd-leader script to /usr/bin [ 19.856139] cloud-init[1057]: Installing cfn-send-cmd-result script to /usr/bin [ 19.860875] cloud-init[1057]: Installing cfn-send-cmd-event script to /usr/bin [ 19.865461] cloud-init[1057]: Installed /usr/lib/python2.7/site-packages/aws_cfn_bootstrap-1.4-py2.7.egg [ 19.871832] cloud-init[1057]: Processing dependencies for aws-cfn-bootstrap==1.4 [ 19.876336] cloud-init[1057]: Searching for pystache>=0.4.0 [ 19.880066] cloud-init[1057]: Reading https://pypi.python.org/simple/pystache/ [ 19.978122] cloud-init[1057]: Best match: pystache 0.5.4 [ 19.981959] cloud-init[1057]: Downloading https://files.pythonhosted.org/packages/d6/fd/eb8c212053addd941cc90baac307c00ac246ac3fce7166b86434c6eae963/pystache-0.5.4.tar.gz#sha256=f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a [ 20.086134] cloud-init[1057]: Processing pystache-0.5.4.tar.gz [ 20.112099] cloud-init[1057]: Writing /tmp/easy_install-RGPxqI/pystache-0.5.4/setup.cfg [ 20.117640] cloud-init[1057]: Running pystache-0.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-RGPxqI/pystache-0.5.4/egg-dist-tmp-IXFA01 [ 20.136123] cloud-init[1057]: pystache: using: version '0.9.8' of <module 'setuptools' from '/usr/lib/python2.7/site-packages/setuptools/init.pyc'> [ 20.259221] cloud-init[1057]: zip_safe flag not set; analyzing archive contents... [ 20.263771] cloud-init[1057]: pystache.locator: module references file [ 20.278091] cloud-init[1057]: pystache.tests.common: module references file [ 20.398138] cloud-init[1057]: Adding pystache 0.5.4 to easy-install.pth file [ 20.402167] cloud-init[1057]: Installing pystache script to /usr/bin [ 20.405892] cloud-init[1057]: Installing pystache-test script to /usr/bin [ 20.409700] cloud-init[1057]: Installed /usr/lib/python2.7/site-packages/pystache-0.5.4-py2.7.egg [ 20.422716] cloud-init[1057]: Searching for python-daemon>=1.5.2,<2.0 [ 20.426245] cloud-init[1057]: Reading https://pypi.python.org/simple/python-daemon/ [ 20.539870] cloud-init[1057]: Best match: python-daemon 1.6.1 [ 20.543200] cloud-init[1057]: Downloading https://files.pythonhosted.org/packages/b8/e2/bd862c723451121f41cf53d87a9f2c69eeb97358fb4477b929878804b8a3/python-daemon-1.6.1.tar.gz#sha256=99f886bbf0bfd6e144a06c59fe371e195a89aab93beb49979e6f10c3a271b077 [ 20.616120] cloud-init[1057]: Processing python-daemon-1.6.1.tar.gz [ 20.630095] cloud-init[1057]: Writing /tmp/easy_install-iJG1lX/python-daemon-1.6.1/setup.cfg [ 20.634617] cloud-init[1057]: Running python-daemon-1.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iJG1lX/python-daemon-1.6.1/egg-dist-tmp-VfjvAh [ 20.687118] cloud-init[1057]: Adding python-daemon 1.6.1 to easy-install.pth file [ 20.690998] cloud-init[1057]: Installed /usr/lib/python2.7/site-packages/python_daemon-1.6.1-py2.7.egg [ 20.695150] cloud-init[1057]: Searching for lockfile>=0.9 [ 20.698041] cloud-init[1057]: Reading https://pypi.python.org/simple/lockfile/ [ 20.796241] cloud-init[1057]: Best match: lockfile 0.12.2 [ 20.799461] cloud-init[1057]: Downloading https://files.pythonhosted.org/packages/17/47/72cb04a58a35ec495f96984dddb48232b551aafb95bde614605b754fe6f7/lockfile-0.12.2.tar.gz#sha256=6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799 [ 20.859224] cloud-init[1057]: Processing lockfile-0.12.2.tar.gz [ 20.867894] cloud-init[1057]: Writing /tmp/easy_install-_PwLA6/lockfile-0.12.2/setup.cfg [ 20.872327] cloud-init[1057]: Running lockfile-0.12.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_PwLA6/lockfile-0.12.2/egg-dist-tmp-NWkMeW [ 20.913103] cloud-init[1057]: Searching for pbr>=1.8 [ 20.915945] cloud-init[1057]: Reading https://pypi.python.org/simple/pbr/ [ 21.071120] cloud-init[1057]: Best match: pbr 4.2.0 [ 21.073873] cloud-init[1057]: Downloading https://files.pythonhosted.org/packages/c8/c3/935b102539529ea9e6dcf3e8b899583095a018b09f29855ab754a2012513/pbr-4.2.0.tar.gz#sha256=1b8be50d938c9bb75d0eaf7eda111eec1bf6dc88a62a6412e33bf077457e0f45 [ 21.153138] cloud-init[1057]: Processing pbr-4.2.0.tar.gz [ 21.200111] cloud-init[1057]: Writing /tmp/easy_install-_PwLA6/lockfile-0.12.2/temp/easy_install-irgxJh/pbr-4.2.0/setup.cfg [ 21.205000] cloud-init[1057]: Running pbr-4.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_PwLA6/lockfile-0.12.2/temp/easy_install-irgxJh/pbr-4.2.0/egg-dist-tmp-E6hid9
CentOS Linux 7 (Core) Kernel 3.10.0-693.5.2.el7.x86_64 on an x86_64
ip-10-121-82-192 login: [ 21.287128] cloud-init[1057]: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
[ 21.295534] cloud-init[1057]: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
[ 21.500142] cloud-init[1057]: Installed /tmp/easy_install-_PwLA6/lockfile-0.12.2/pbr-4.2.0-py2.7.egg [ 21.994121] cloud-init[1057]: Adding lockfile 0.12.2 to easy-install.pth file [ 21.997687] cloud-init[1057]: Installed /usr/lib/python2.7/site-packages/lockfile-0.12.2-py2.7.egg [ 22.004322] cloud-init[1057]: Finished processing dependencies for aws-cfn-bootstrap==1.4 [ 22.019073] cloud-init[1057]: + /bin/cfn-init --verbose --stack=Iam-cluster --region=us-west-2 --resource=Instance [ 72.587562] cloud-init[1057]: Error occurred during build: Command a_install failed [ 72.602679] cloud-init[1057]: ++ /bin/cfn-signal -e 1 --stack=Iam-cluster --region=us-west-2 --resource=Instance [ 73.339588] cloud-init[1057]: 2018-08-30 10:29:15,056 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1] [ 73.351337] cloud-init[1057]: 2018-08-30 10:29:15,068 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts) [ 73.357784] cloud-init[1057]: 2018-08-30 10:29:15,068 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed ci-info: +++++++Authorized keys from /home/centos/.ssh/authorized_keys for user centos++++++++ ci-info: +---------+-------------------------------------------------+---------+-------------+ ci-info: | Keytype | Fingerprint (md5) | Options | Comment | ci-info: +---------+-------------------------------------------------+---------+-------------+ ci-info: | ssh-rsa | e1:16:94:ed:12:98:97:ff:46:3d:96:9c:eb:63:65:f8 | - | devops-test | ci-info: +---------+-------------------------------------------------+---------+-------------+ ec2: ec2: ############################################################# ec2: -----BEGIN SSH HOST KEY FINGERPRINTS----- ec2: 256 SHA256:DsJO6W9z4xcwt3qu/4KHljaqnJYsik4csvYYv+4uZD4 no comment (ECDSA) ec2: 256 SHA256:lSP+YE/Qcq5PFYHnHzVuK3aLqa5Gp4D1ggycVk8M13A no comment (ED25519) ec2: 2048 SHA256:xMYdecBF2K8eI6lUpOu+1nhmqSAQUvK7rAd6Gias8Wc no comment (RSA) ec2: -----END SSH HOST KEY FINGERPRINTS----- ec2: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDOCpZS4PSt3QC5RJPkdc/TOJT/QEnbEExqhajL1sik08MzBFAO9bD1WSKu1vBzA9NPlEVAUVm3xs/Imc2FkyDM= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKWdVMLAK73ipmRwV4vClqDQfIEqWclX8+rT8EQ7NIFn ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzkp1fYTf5Y2TirU79i7zfYCe523jXNURMgIakxoefBvrqI/ssIph/k195G5qjqTxU8Z2V78+BM9SUl5hpUpH7TEShcurujXeSegVt/MiS5SuIbZ1eA/G4V3Mv8wZIQCK3s+cSP+vnT/Icdfqu7kC6/AVzsAXyc08w1AZThp64dny16d4WI9l7pNdY7ZC9n46kJmAfgnEdHDzN5vE0k3oZPL2yA1j5DnIDC9cGsKPBH3HgeEpKFvPhn+J7N/Tcl+niZ7CZ+gXQCKxM9KctMZyOeKYXRhOD/5e8mnhOgJXOr2EsaU5Vf+69O9CIEXKJznS5bxLx3mg29v5aiNWoox81 -----END SSH HOST KEY KEYS----- [ 73.510106] cloud-init[1057]: Cloud-init v. 0.7.9 finished at Thu, 30 Aug 2018 10:29:15 +0000. Datasource DataSourceEc2. Up 73.49 seconds [[32m OK [0m] Stopped Dump dmesg to /var/log/dmesg. Stopping Dump dmesg to /var/log/dmesg... Unmounting RPC Pipe File System... [[32m OK [0m] Stopped target Multi-User System. Stopping System Logging Service... Stopping Postfix Mail Transport Agent... [[32m OK [0m] Stopped Apply the settings specified in cloud-config. Stopping Apply the settings specified in cloud-config... [[32m OK [0m] Stopped target Cloud-config availability. [[32m OK [0m] Stopped target Login Prompts. Stopping OpenSSH server daemon... [[32m OK [0m] Stopped target Timers. Stopping Serial Getty on ttyS0... [[32m OK [0m] Reached target Unmount All Filesystems. Stopping Login Service... Stopping Getty on tty1... Stopping D-Bus System Message Bus... Stopping Command Scheduler... Stopping Dynamic System Tuning Daemon... Stopping NTP client/server... [[32m OK [0m] Stopped target Network is Online. Stopping Authorization Manager... [[32m OK [0m] Stopped D-Bus System Message Bus. [[32m OK [0m] Stopped NTP client/server. [[32m OK [0m] Stopped Authorization Manager. [[32m OK [0m] Stopped Login Service. [[32m OK [0m] Stopped System Logging Service. [[32m OK [0m] Stopped Dynamic System Tuning Daemon. [[32m OK [0m] Stopped Getty on tty1. [[32m OK [0m] Stopped Command Scheduler. [[32m OK [0m] Stopped Serial Getty on ttyS0. [[32m OK [0m] Stopped OpenSSH server daemon. [[32m OK [0m] Unmounted RPC Pipe File System. [[32m OK [0m] Removed slice system-serial\x2dgetty.slice. Stopping Permit User Sessions... [[32m OK [0m] Removed slice system-getty.slice. [[32m OK [0m] Stopped Permit User Sessions. [[32m OK [0m] Stopped Initial cloud-init job (metadata service crawler). Stopping Initial cloud-init job (metadata service crawler)... [[32m OK [0m] Stopped target Remote File Systems. [[32m OK [0m] Stopped target Remote File Systems (Pre). [[32m OK [0m] Stopped target NFS client services. Stopping GSSAPI Proxy Daemon... [[32m OK [0m] Stopped GSSAPI Proxy Daemon. [[32m OK [0m] Stopped Postfix Mail Transport Agent. [[32m OK [0m] Stopped target Network. Stopping LSB: Bring up/down networking... [[32m OK [0m] Stopped LSB: Bring up/down networking. [[32m OK [0m] Stopped target Network (Pre). [[32m OK [0m] Stopped target Basic System. [[32m OK [0m] Stopped target Sockets. [[32m OK [0m] Closed RPCbind Server Activation Socket. [[32m OK [0m] Closed D-Bus System Message Bus Socket. [[32m OK [0m] Stopped target Paths. [[32m OK [0m] Stopped target System Initialization. [[32m OK [0m] Stopped target Swap. [[32m OK [0m] Stopped Initial cloud-init job (pre-networking). Stopping Initial cloud-init job (pre-networking)... Stopping Update UTMP about System Boot/Shutdown... [[32m OK [0m] Stopped Apply Kernel Variables. Stopping Apply Kernel Variables... [[32m OK [0m] Stopped Setup Virtual Console. Stopping Setup Virtual Console... [[32m OK [0m] Stopped Migrate local SELinux polic... structure to the new structure. Stopping Migrate local SELinux poli...tructure to the new structure... [[32m OK [0m] Removed slice system-selinux\x2dpol...grate\x2dlocal\x2dchanges.slice. [[32m OK [0m] Stopped target Encrypted Volumes. Stopping Load/Save Random Seed... [[32m OK [0m] Stopped Update is Completed. Stopping Update is Completed... [[32m OK [0m] Stopped Rebuild Hardware Database. Stopping Rebuild Hardware Database... [[32m OK [0m] Stopped Rebuild Journal Catalog. Stopping Rebuild Journal Catalog... [[32m OK [0m] Stopped target Slices. [[32m OK [0m] Removed slice User and Session Slice. [[32m OK [0m] Stopped Update UTMP about System Boot/Shutdown. [[32m OK [0m] Stopped Load/Save Random Seed. Stopping Security Auditing Service... [ 96.845021] type=1305 audit(1535624978.559:95): audit_pid=0 old=431 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1 [[32m OK [0m] Stopped Security Auditing Service. [ 96.858289] type=1131 audit(1535624978.574:96): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [[32m OK [0m] Stopped Create Volatile Files and Directories. [ 96.878464] type=1131 audit(1535624978.594:97): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Stopping Create Volatile Files and Directories... [[32m OK [0m] Stopped Import network configuration from initramfs. [ 96.903103] type=1131 audit(1535624978.619:98): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rhel-import-state comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Stopping Import network configuration from initramfs... [[32m OK [0m] Stopped target Local File Systems. Unmounting Configuration File System... [[32m OK [0m] Stopped Configure read-only root support. [ 96.940438] type=1131 audit(1535624978.656:99): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=rhel-readonly comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Stopping Configure read-only root support... [[32m OK [0m] Stopped target Local File Systems (Pre). [[32m OK [0m] Stopped Remount Root and Kernel File Systems. [ 96.969359] type=1131 audit(1535624978.685:100): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-remount-fs comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Stopping Remount Root and Kernel File Systems... [[32m OK [0m] Stopped Create Static Device Nodes in /dev. [ 96.992986] type=1131 audit(1535624978.708:101): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Stopping Create Static Device Nodes in /dev... [[32m OK [0m] Reached target Shutdown. [ 97.058313] systemd-shutdown[1]: Sending SIGTERM to remaining processes... [ 97.066648] systemd-journald[356]: Received SIGTERM from PID 1 (systemd-shutdow). [ 97.073602] systemd-shutdown[1]: Sending SIGKILL to remaining processes... [ 97.079414] systemd-shutdown[1]: Unmounting file systems. [ 97.113325] systemd-shutdown[1]: All filesystems unmounted. [ 97.116925] systemd-shutdown[1]: Deactivating swaps. [ 97.119949] systemd-shutdown[1]: All swaps deactivated. [ 97.123191] systemd-shutdown[1]: Detaching loop devices. [ 97.128397] systemd-shutdown[1]: All loop devices detached. [ 97.131732] systemd-shutdown[1]: Detaching DM devices. [ 97.134877] systemd-shutdown[1]: All DM devices detached. [ 97.138835] systemd-shutdown[1]: Powering off. [ 97.221820] ACPI: Preparing to enter system sleep state S5 [ 97.225776] Power down
The error is here:
[ 72.587562] cloud-init[1057]: Error occurred during build: Command a_install failed
Can you share a screenshot of the parameters you configured for the stack? You can drag and drop an image into the GitHub comment text to upload it.
@michaelwittig Do you required the complete stack file ?. I have also attached the screen shot of the parameters.
Below is our stackfile template.
AWSTemplateFormatVersion: '2010-09-09' Description: 'AWS EC2 SSH access with IAM showcase' Parameters: VPC: Type: 'AWS::EC2::VPC::Id' Description: 'The VPC the EC2 instance is launched into.' Subnet: Type: 'AWS::EC2::Subnet::Id' Description: 'The subnet the EC2 instance is launched into.' Mappings: RegionMap: 'ap-south-1': AMI: 'ami-cacbbea5' 'eu-west-1': AMI: 'ami-d41d58a7' 'ap-northeast-2': AMI: 'ami-a04297ce' 'ap-northeast-1': AMI: 'ami-1a15c77b' 'sa-east-1': AMI: 'ami-b777e4db' 'ap-southeast-1': AMI: 'ami-7243e611' 'ap-southeast-2': AMI: 'ami-55d4e436' 'eu-central-1': AMI: 'ami-0044b96f' 'us-east-1': AMI: 'ami-c481fad3' 'us-east-2': AMI: 'ami-71ca9114' 'us-west-1': AMI: 'ami-de347abe' 'us-west-2': AMI: 'ami-b04e92d0' Resources: SecurityGroup: Type: 'AWS::EC2::SecurityGroup' Properties: GroupDescription: ssh VpcId: !Ref VPC SecurityGroupIngress:
PolicyName: iam PolicyDocument: Version: '2012-10-17' Statement:
Effect: Allow Action:
'iam:GetSSHPublicKey' Resource: !Sub 'arn:aws:iam::****' Instance: Type: AWS::EC2::Instance Metadata: 'AWS::CloudFormation::Init': config: files: '/opt/authorized_keys_command.sh': content: |
if [ -z "$1" ]; then
exit 1
fi
SaveUserName="$1"
SaveUserName=${SaveUserName//"+"/".plus."}
SaveUserName=${SaveUserName//"="/".equal."}
SaveUserName=${SaveUserName//","/".comma."}
SaveUserName=${SaveUserName//"@"/".at."}
aws iam list-ssh-public-keys --user-name "$SaveUserName" --query "SSHPublicKeys[?Status == 'Active'].[SSHPublicKeyId]" --output text | while read KeyId; do
aws iam get-ssh-public-key --user-name "$SaveUserName" --ssh-public-key-id "$KeyId" --encoding SSH --query "SSHPublicKey.SSHPublicKeyBody" --output text
done
mode: '000755' owner: root group: root '/opt/import_users.sh': content: |
aws iam list-users --query "Users[].[UserName]" --output text | while read User; do
SaveUserName="$User"
SaveUserName=${SaveUserName//"+"/".plus."}
SaveUserName=${SaveUserName//"="/".equal."}
SaveUserName=${SaveUserName//","/".comma."}
SaveUserName=${SaveUserName//"@"/".at."}
if id -u "$SaveUserName" >/dev/null 2>&1; then
echo "$SaveUserName exists"
else
#sudo will read each file in /etc/sudoers.d, skipping file names that end in ?~? or contain a ?.? character to avoid causing problems with package manager or editor temporary/backup files.
SaveUserFileName=$(echo "$SaveUserName" | tr "." " ")
/usr/sbin/adduser "$SaveUserName"
echo "$SaveUserName ALL=(ALL) NOPASSWD:ALL" > "/etc/sudoers.d/$SaveUserFileName"
fi
done
mode: '000755' owner: root group: root '/etc/cron.d/import_users': content: | /10 * root /opt/import_users.sh mode: '000644' owner: root group: root '/etc/cfn/cfn-hup.conf': content: !Sub | [main] stack=${AWS::StackId} region=${AWS::Region} interval=1 mode: '000400' owner: root group: root '/etc/cfn/hooks.d/cfn-auto-reloader.conf': content: !Sub | [cfn-auto-reloader-hook] triggers=post.update path=Resources.Instance.Metadata.AWS::CloudFormation::Init action=/opt/aws/bin/cfn-init --verbose --stack=${AWS::StackName} --region=${AWS::Region} --resource=Instance runas=root commands: a_configure_sshd_command: command: "sed -i 's:#AuthorizedKeysCommand none:AuthorizedKeysCommand /opt/authorized_keys_command.sh:g' /etc/ssh/sshd_config" b_configure_sshd_commanduser: command: "sed -i 's:#AuthorizedKeysCommandUser nobody:AuthorizedKeysCommandUser nobody:g' /etc/ssh/sshd_config" c_import_users: command: './import_users.sh' cwd: '/opt' services: sysvinit: 'cfn-hup': enabled: true ensureRunning: true files:
/opt/aws/bin/cfn-init --verbose --stack=${AWS::StackName} --region=${AWS::Region} --resource=Instance
/opt/aws/bin/cfn-signal --exit-code=$? --stack=${AWS::StackName} --region=${AWS::Region} --resource=Instance
Tags:
@michaelwittig Did you get a chance to look at code ?
Metadata:
aws --version
and enter value here)We are constantly having issues while trying create the stack with showcase.yaml. This occurs during the type "AWS::EC2::Instance".
Following is the error .
Received FAILURE signal with UniqueId i-01e6dac90b91334d2
Please advice us on this.