Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OpenShift 4.6 ignition string for static IPs, if VCD ever supports vm_advanced_config parameters #3

Open
tseelbach opened this issue Feb 14, 2021 · 0 comments

Comments

@tseelbach
Copy link
Collaborator

tseelbach commented Feb 14, 2021

This issue serves 2 purposes:

  1. track the possibility that we can setup static IPs for OpenShift nodes thru the ignition string if VCD vm_advanced_config parameters will be supported by VCD

  2. Describe the change (workaround?) we made from our 4.5 ignition in vcd_toolkit to what we did to support OCP 4.6 in terraform-openshift4-vcd.

The new capability in OpenShift 4.6 to pass Static IP's thru the ignition string (guestinfo.afterburn.initrd.network-kargs="ip=::::::none nameserver=srv1 [nameserver=srv2 [nameserver=srv3 [...]]]") does not work in the VCD environment because the ignition strings depend on VMWare vm_advanced_config parameters, which aren't available in VCD. RedHat Bugzilla 1913791 has been opened, but its really a VCD issue.

To get around this issue, we have come up with a scheme for DHCP reservations for the OpenShift servers based on MAC address. In terraform-openshift-vcd there is now a DHCP Server that runs on the LoadBalancer VM which performs this function. This means that you cannot use DHCP in the Edge Gateway for the subnet you are using for OCP. If you start DHCP services in the Edge Gateway, make sure you don't include this subnet.

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

No branches or pull requests

1 participant