Page 1 of 1

aws ec2 xen hvm dracut centos 7 latest

Posted: 2018/09/10 12:00:20
by ec2geek007
Centos Gurus, pls bear with me.
Looks like something is fundamentally broken, or I am really dumb when it comes to centos understanding. Lets assume the latter :)

No matter how I recreate centos 7 latest -- vmdk s and import into aws, I run into the the following.
I researched a bit and seems red-hat had dropped xen support in the latest kernel builds (kernel-xen), I dont know, but I am having tough time in manually tweaking every vm copy I create and test until it runs on aws ec2 (I usually choose hvm).
Any better way to troubleshoot and recreate base images from my vbox? How do I add xen drivers to latest centos 7.? (heard of centos plus kernels), but is that a long term solution?

Unfortunately AWS doesnt provide console to work with dracut directly. As such by the time I stop and detach the disks, the
/run/initramfs/rdsosreport.txt" is gone. or am I missing something? Thanks a million in advance!!!

Some references
https://www.cloudvps.com/helpcenter/kno ... el-updates
http://blog.networkpresence.co/?p=8834

Here is the latest dump starting at dracut
=============================================================================
Welcome to [0;34mCentOS Linux 7 (Core) dracut-033-535.el7_5.1 (Initramfs)[0m!

[ 2.081518] systemd[1]: Set hostname to <xyz>.
[ 2.104590] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.105805] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.107052] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.108246] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.109866] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.111141] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.112534] random: systemd: uninitialized urandom read (16 bytes read)
[[32m OK [0m] Created slice Root Slice.
[ 2.118659] systemd[1]: Created slice Root Slice.
[ 2.119522] systemd[1]: Starting Root Slice.
[[32m OK [0m] Listening on udev Control Socket.
[ 2.122346] systemd[1]: Listening on udev Control Socket.
[ 2.123312] systemd[1]: Starting udev Control Socket.
[[32m OK [0m] Listening on udev Kernel Socket.
[ 2.126196] systemd[1]: Listening on udev Kernel Socket.
[ 2.127137] systemd[1]: Starting udev Kernel Socket.
[[32m OK [0m] Reached target Timers.
[ 2.129836] systemd[1]: Reached target Timers.
[ 2.130637] systemd[1]: Starting Timers.
[[32m OK [0m] Reached target Swap.
[ 2.133109] systemd[1]: Reached target Swap.
[ 2.133875] systemd[1]: Starting Swap.
[[32m OK [0m] Listening on Journal Socket.
[ 2.136633] systemd[1]: Listening on Journal Socket.
[ 2.137525] systemd[1]: Starting Journal Socket.
[[32m OK [0m] Created slice System Slice.
[ 2.140319] systemd[1]: Created slice System Slice.
[ 2.141203] systemd[1]: Starting System Slice.
[ 2.142369] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 2.145560] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[[32m OK [0m] Reached target Slices.
[ 2.150424] systemd[1]: Reached target Slices.
[ 2.150434] systemd[1]: Starting Slices.
[ 2.150881] systemd[1]: Starting Journal Service...
Starting Journal Service...
[[32m OK [0m] Reached target Sockets.
[ 2.485178] systemd[1]: Reached target Sockets.
[ 2.486044] systemd[1]: Starting Sockets.
[ 2.487348] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 2.492021] systemd[1]: Starting dracut cmdline hook...
Starting dracut cmdline hook...
[[32m OK [0m] Reached target Local File Systems.
[ 2.496752] systemd[1]: Reached target Local File Systems.
[ 2.497770] systemd[1]: Starting Local File Systems.
[[32m OK [0m] Started Journal Service.
[ 2.501279] systemd[1]: Started Journal Service.
[[32m OK [0m] Started Apply Kernel Variables.
[[32m OK [0m] Started Create list of required sta...ce nodes for the current kernel.
Starting Create Static Device Nodes in /dev...
[[32m OK [0m] Started Create Static Device Nodes in /dev.
[ 2.524454] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[[32m OK [0m] Started Setup Virtual Console.
[[32m OK [0m] Started dracut cmdline hook.
Starting dracut pre-udev hook...
[ 2.632087] device-mapper: uevent: version 1.0.3
[ 2.633028] device-mapper: ioctl: 4.37.1-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[[32m OK [0m] Started dracut pre-udev hook.
Starting udev Kernel Device Manager...
[[32m OK [0m] Started udev Kernel Device Manager.
Starting udev Coldplug all Devices...
Mounting Configuration File System...
[[32m OK [0m] Started udev Coldplug all Devices.
Starting dracut initqueue hook...
Starting Show Plymouth Boot Screen...
[[32m OK [0m] Mounted Configuration File System.
[[32m OK [0m] Reached target System Initialization.
[[32m OK [0m] Started Show Plymouth Boot Screen.

[[32m OK [0m] Reached target Paths.

[[32m OK [0m] Reached target Basic System.

%G[ 2.733885] ena: Elastic Network Adapter (ENA) v1.2.0k
[ 2.740692] ena 0000:00:05.0: Elastic Network Adapter (ENA) v1.2.0k
[ 2.841019] ena: ena device version: 0.10
[ 2.841020] ena: ena controller version: 0.0.1 implementation version 1
[ 3.548045] ena 0000:00:05.0: creating 2 io queues. queue size: 1024
[ 3.550844] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem febf4000, mac addr 12:d3:8f:24:9d:8c Queues 2
[ 42.748576] random: fast init done
[ 125.940545] dracut-initqueue[265]: Warning: dracut-initqueue timeout - starting timeout scripts

[ 181.476654] random: crng init done
[ 181.740788] dracut-initqueue[265]: Warning: dracut-initqueue timeout - starting timeout scripts

[ 191.168704] dracut-initqueue[265]: Warning: Could not boot.

[[32m OK [0m] Started Show Plymouth Boot Screen.

[[32m OK [0m] Reached target Paths.

[[32m OK [0m] Reached target Basic System.

%G[ 125.940545] dracut-initqueue[265]: Warning: dracut-initqueue timeout - starting timeout scripts

[ 191.168704] dracut-initqueue[265]: Warning: Could not boot.

[ 191.471046] dracut-initqueue[265]: Warning: /dev/centos/root does not exist
[ 191.471321] dracut-initqueue[265]: Warning: /dev/centos/swap does not exist
[ 191.471488] dracut-initqueue[265]: Warning: /dev/mapper/centos-root does not exist
Warning: /dev/centos/root does not exist
Warning: /dev/centos/swap does not exist
Warning: /dev/mapper/centos-root does not exist

Generating "/run/initramfs/rdsosreport.txt"


Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.