Getting "dracut: FATAL: No or empty root= argument" error while booting the Foreman discovery image

Hi, guys!

I've tried all of the versions of discovery image (TCL-based) and none of
the works for me.
The latest one (foreman-discovery-image-3.1.0-0.999.201405151833.el6) just
like the ones before give me this:

<snip>
Chelsio T4 iSCSI Driver cxgb4i v0.9.1 (Aug. 2010)
iscsi: registered transport (cxgb4i)
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: configuration #1 chosen from 1 choice
hub 2-1:1.0: USB hub found
NET: Registered protocol family 10
hub 2-1:1.0: 8 ports detected
lo: Disabled Privacy Extensions
cnic: Broadcom NetXtreme II CNIC Driver cnic v2.5.16 (Dec 05, 2012)
Broadcom NetXtreme II iSCSI Driver bnx2i v2.7.6.2 (Jun 06, 2013)
iscsi: registered transport (bnx2i)
iscsi: registered transport (be2iscsi)
In beiscsi_module_init, tt=ffffffffa01b7e80
dracut: FATAL: No or empty root= argument
dracut: Refusing to continue

dracut Warning: Signal caught!
dracut Warning: dracut: FATAL: No or empty root= argument
dracut Warning: dracut: Refusing to continue
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.32-431.17.1.el6.x86_64 #1
Call Trace:
[<ffffffff815274ef>] ? panic+0xa7/0x16f
[<ffffffff81077292>] ? do_exit+0x862/0x870
[<ffffffff8118a525>] ? fput+0x25/0x30
[<ffffffff810772f8>] ? do_group_exit+0x58/0xd0
[<ffffffff81077387>] ? sys_exit_group+0x17/0x20
[<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b

I used the pxeconfig from git -
https://github.com/theforeman/foreman_discovery/blob/develop/README.tcl_image.md#pxe-config

but looks like something is missing (like root=<something> :slight_smile:

Anyone else ran into that? I tried different system (Dell, HP) and
different model and it does not matter, I get the same results as above.
Thanks!

Hello,

> The latest one (foreman-discovery-image-3.1.0-0.999.201405151833.el6) just

first of all, TCL-based image has been deprecated. The one above is
oVirt Node based new one. It's Red Hat / Fedora inside. This one is
currently maintained.

> dracut: FATAL: No or empty root= argument
> dracut: Refusing to continue
>
> dracut Warning: Signal caught!
> dracut Warning: dracut: FATAL: No or empty root= argument
> dracut Warning: dracut: Refusing to continue
> Kernel panic - not syncing: Attempted to kill init!
> Pid: 1, comm: init Not tainted 2.6.32-431.17.1.el6.x86_64 #1
> Call Trace:
> [<ffffffff815274ef>] ? panic+0xa7/0x16f
> [<ffffffff81077292>] ? do_exit+0x862/0x870
> [<ffffffff8118a525>] ? fput+0x25/0x30
> [<ffffffff810772f8>] ? do_group_exit+0x58/0xd0
> [<ffffffff81077387>] ? sys_exit_group+0x17/0x20
> [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b

Two possible root causes. Check you have the kernel command line right.
It has changed a lot recently and it's very different from what was
required for TCL (old) images:

https://github.com/theforeman/ovirt-node-plugin-foreman#set-foreman

Second - make sure you have at least 900 MB memory when running oVirt
Node image. It needs slightly more resources, it's in our TODO to
minimize it more (there is an upstream bug in oVirt we need to get
sorted first).

> but looks like something is missing (like root=<something> :slight_smile:

Check the APPEND line according to our docs.

··· -- Later,

Lukas “lzap” Zapletal
irc: lzap #theforeman