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

Staticize dhcp config for eth0 #157

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

lmiccini
Copy link
Contributor

@lmiccini lmiccini commented Apr 3, 2024

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.

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.
rebtoor added a commit to rebtoor/ci-framework that referenced this pull request Apr 3, 2024
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 <[email protected]>
Copy link
Contributor

@rebtoor rebtoor left a 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)

rebtoor added a commit to rebtoor/ci-framework that referenced this pull request Apr 4, 2024
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 <[email protected]>
rebtoor added a commit to rebtoor/ci-framework that referenced this pull request Apr 8, 2024
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 <[email protected]>
rebtoor added a commit to rebtoor/ci-framework that referenced this pull request Apr 8, 2024
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 <[email protected]>
cjeanner pushed a commit to rebtoor/ci-framework that referenced this pull request Apr 8, 2024
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 <[email protected]>
cjeanner pushed a commit to rebtoor/ci-framework that referenced this pull request Apr 9, 2024
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 <[email protected]>
rebtoor added a commit to rebtoor/ci-framework that referenced this pull request Apr 9, 2024
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 <[email protected]>
openshift-merge-bot bot pushed a commit to openstack-k8s-operators/ci-framework that referenced this pull request Apr 10, 2024
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 <[email protected]>
@cjeanner
Copy link
Contributor

/lgtm

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@abays abays merged commit 6221c2a into openstack-k8s-operators:main Apr 11, 2024
2 checks passed
rabi added a commit to rabi/architecture that referenced this pull request Apr 15, 2024
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 <[email protected]>
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.

4 participants