Problem with ksdevice when installing OS: (In SoftLayer environment)
anaconda installer init version 13.21.215 starting
mounting /proc filesystem... done
creating /dev filesystem... done
starting udev...done
mounting /dev/pts (unix98 pty) filesystem... done
mounting /sys filesystem... done
anaconda installer init version 13.21.215 using a serial console
trying to remount root filesystem read write... done
mounting /tmp as tmpfs... done
running install...
running /sbin/loader
detecting hardware...
waiting for hardware to initialize...
detecting hardware...
waiting for hardware to initialize...
No way to determine which NIC to use, and cannot prompt in cmdline
mode. Halting.
Please use the ksdevice= parameter to specify the device name (e.g., eth0)
or the MAC address of the NIC to use for installation.
Loader exited unexpectedly! Backtrace:
/sbin/loader[0x409d93]
/lib64/libc.so.6(exit+0xe2)[0x7f761ab3fe22]
/sbin/loader[0x41d74a]
/sbin/loader[0x421277]
/sbin/loader[0x41bcef]
/sbin/loader[0x41405b]
/sbin/loader[0x40cdad]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f761ab28d1d]
/sbin/loader[0x407a69]
install exited abnormally [1/1]
The system will be rebooted when you press Ctrl-C or Ctrl-Alt-Delete.
here's kcmdlinekcmdline=quiet repo=http://10.109.246.178:80/install/rhels6.5/x86_64 ks=http://10.109.246.178:80/install/autoinst/uswdc01hyp00054ianraksdevice=0c:c4:7a:1f:00:f0 ip=10.109.223.82 netmask=255.255.255.240 gateway=10.109.223.81 hostname=uswdc01hyp00054ianra dns=10.109.246.178 cmdline console=tty0 console=ttyS1,115200
Running xCAT 2.8.4
Version 2.8.4 (git commit ded873f998a889c91a169d3f870efdbebfb66243, built Thu May 29 23:32:02 EDT 2014)
Does an upgrade fix this?
This error usually indicates the wrong installnic/primarynic, but according to the kcmdline parameter, the ksdevice is set correctly, could you check what the installnic/primarynic are set to?
I saw there was no space ahead the 'ksdevice' keyword in 'ks=http://10.109.246.178:80/install/autoinst/uswdc01hyp00054ianraksdevice=0c:c4:7a:1f:00:f0', was this a typo of your typing? If no, show out the lsdef against the node.
lsdef -t node -o uswdc01hyp00054ianra | grep nic
...
primarynic=mac
Xiao Peng, that is strange, from the chat text, it looks like there is a space, but when I copy/paste, there is no space.
Victor logged this on my behalf.
The error comes from when you do "pushinitrd" on SoftLayer across a noderange. I think it generates grub config for the ksdevice for the first node in the noderange, and then updates grub for every node in the noderange with the same cmdline. So the first node succeeds, but the rest fail in a loop because the ksdevice doesn't exist.
The only workaround is to go onto KVM and interrupt grub to boot directly off the hard disk, and then run pushinitrd for each node individually.
I just checked pushinitrd, and found this:
So, it looks like the code has a bug in that it is making a bad assumption that the kcmdline should be the same for all nodes. That is NOT the case for the ksdevice value when using MAC.