-
Notifications
You must be signed in to change notification settings - Fork 84
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
Staticize dhcp config for eth0 #157
Conversation
We used to rely on libvirt assigning (and keeping track) of dhcp leases to configure eth0 ip addresses. Let's make sure we persist this into os-net-config so that we do not accidentally lose this config between reboots.
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add a fake mac address like
nic1: 6b:fe:54:3f:8a:00 # CHANGEME
for each edpm-compute in edpm_network_config_os_net_config_mappings
section (lines 34-39)
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
This patch allow the mapping of the `nic1` to the mac address of the default interface in compute node and is required due to [1] [1] openstack-k8s-operators/architecture#157 Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
This reverts openstack-k8s-operators#157 Using dhcp for nic1 breaks the dns configuration by updating resolv.conf used by edpm. Reverting to fix current issues and if there is a requirement to use dhcp for nic1 it could be reworked. Signed-off-by: rabi <ramishra@redhat.com>
We used to rely on libvirt assigning (and keeping track) of dhcp leases to configure eth0 ip addresses.
Let's make sure we persist this into os-net-config so that we do not accidentally lose this config between reboots.