Skip to content

Conversation

@cgwalters
Copy link
Member

With this I'll have to find a way to remove my "eth0 FOR LIFE" tattoo.

This came up in a bigger discussion with OpenStack:
coreos/ignition#769 (comment)

The history behind disabling persistent NIC naming in Fedora/RHEL
is...long.

I think we have an opportunity now to do a clean break with that
history. Let's use persistent NIC naming even for cloud environments
like AWS.

This massively reduces the delta between our "metal" and "openstack"
images. We just have console tweaks and no_timer_check.

Note that with coreos/ignition-dracut#57
we actually do do DHCP on all interfaces anyways, so the hardcoded
eth0 here made even less sense.

With this I'll have to find a way to remove my "eth0 FOR LIFE" tattoo.

This came up in a bigger discussion with OpenStack:
coreos/ignition#769 (comment)

The history behind disabling persistent NIC naming in Fedora/RHEL
is...long.

I think we have an opportunity now to do a clean break with that
history.  Let's use persistent NIC naming even for cloud environments
like AWS.

This massively reduces the delta between our "metal" and "openstack"
images.  We just have console tweaks and `no_timer_check`.

Note that with coreos/ignition-dracut#57
we actually do do DHCP on all interfaces anyways, so the hardcoded
`eth0` here made even less sense.
@cgwalters cgwalters changed the title image-cloud: Use persistent NIC naming, drop eth0 WIP: image-cloud: Use persistent NIC naming, drop eth0 Mar 27, 2019
@cgwalters
Copy link
Member Author

cgwalters commented Mar 27, 2019

Marking WIP while I test this with RHCOS + OpenShift installer a bit more.

But I did verify that we are doing DHCP on all interfaces with FCOS today.

@cgwalters cgwalters changed the title WIP: image-cloud: Use persistent NIC naming, drop eth0 image-cloud: Use persistent NIC naming, drop eth0 Mar 27, 2019
@cgwalters
Copy link
Member Author

Lifting WIP, this works for me just fine in AWS today with OpenShift 4.
(As expected, there's no real customization of the network layer in the installer today, but I wanted to sanity check)

@darkmuggle
Copy link
Contributor

LGTM 👍

@cgwalters cgwalters merged commit 9f3ac5e into coreos:master Mar 27, 2019
jlebon added a commit to jlebon/fedora-coreos-config that referenced this pull request Apr 16, 2019
We regressed on [1] when moving towards persistent NIC naming in [2].
It's cleaner to have the config for this here anyway.

This tells NetworkManager to default to using the MAC address as the
client ID during DHCP requests to ensure we get the same IP address
again during network setup in the real root. See [3] for more background
on this.

[1] coreos/fedora-coreos-tracker#156
[2] coreos/coreos-assembler#442
[3] coreos/coreos-assembler#367
cgwalters pushed a commit to coreos/fedora-coreos-config that referenced this pull request Apr 17, 2019
We regressed on [1] when moving towards persistent NIC naming in [2].
It's cleaner to have the config for this here anyway.

This tells NetworkManager to default to using the MAC address as the
client ID during DHCP requests to ensure we get the same IP address
again during network setup in the real root. See [3] for more background
on this.

[1] coreos/fedora-coreos-tracker#156
[2] coreos/coreos-assembler#442
[3] coreos/coreos-assembler#367
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants