Bug #11351
openUnable to provision CentOS 6.x
Description
Due to different ethernet interface naming, Anaconda refuses to kickstart and asks which interface to configure.
Updated by Lukas Zapletal over 9 years ago
Updated by Lukas Zapletal over 9 years ago
It looks like old names are still available in the kernel log:
$ dmesg | grep rename [ 1.935439] e1000e 0000:00:19.0 em1: renamed from eth0 [ 4.640024] iwlwifi 0000:03:00.0 wlp3s0: renamed from wlan0
Therefore it could be possible to write a custom fact extension to send these and then to modify discovery plugin to be able to use the old names. This will likely need a change in provisioning forms tho.
Updated by Byron Miller over 9 years ago
I got further in my installs and I see that CentOS 6 is simply renaming ethx to emx and next time puppet runs, most of the foreman interface layout is updated, but it sure is goofy.
The problem i had with it asking for the install interface turned out to be that anaconda wasn't aware of vlan tagging, so i added --vlanid to the bootproto of the kickstart file and now machines boot with their tagged vlan/primary interface which i think may have been the real issue here..
Either way though, the process is kludgy with the names changing - especially if you try and write puppet code to handle people making changes and having it converge through the next puppet run since I see some servers boot with em1-em3 and then eth0 is left out there as a udev device.
Doing a lot more experiments on bare metal to see if i can replicate the failures with log files
Updated by Lukas Zapletal about 9 years ago
- Priority changed from Normal to High
Very annoying bug, bumping prio.