Commit 2fc519d
[ci_gen_kustomize_values] Co-locate provisionserver with metal3 to prevent DHCP failures
When metal3-dnsmasq pod restarts during a node's DHCP lease renewal on
the provisioning network (172.23.0.0/24), NetworkManager fails to renew
and sets ipv4.method=disabled. NMState operator then preserves this
disabled state, causing permanent loss of provisioning network
connectivity on that node.
The issue occurs when OpenStackProvisionServer and metal3 pods run on
different nodes. If metal3 restarts while a node is attempting DHCP
renewal, the temporary unavailability of metal3-dnsmasq causes the
renewal to fail.
Solution:
Automatically detect the node running metal3 pod (via k8s-app=metal3
label) and configure provisionServerNodeSelector in baremetalSetTemplate
to schedule OpenStackProvisionServer on the same node. This ensures
provisioning network connectivity is maintained because
metal3-static-ip-manager maintains a static IP (172.23.0.3) on the
metal3 node regardless of dnsmasq restarts.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Miguel Angel Nieto Jimenez <mnietoji@redhat.com>1 parent b5f7545 commit 2fc519d
8 files changed
Lines changed: 64 additions & 0 deletions
File tree
- roles/ci_gen_kustomize_values
- tasks
- templates
- nfv-ovs-dpdk-sriov-hci/edpm-nodeset-values
- ovs-dpdk-sriov-2nodesets/edpm-nodeset-values
- ovs-dpdk-sriov-ipv6-2nodesets/edpm-nodeset-values
- ovs-dpdk-sriov-ipv6/edpm-nodeset-values
- ovs-dpdk-sriov/edpm-nodeset-values
- ovs-dpdk/edpm-nodeset-values
- sriov/edpm-nodeset-values
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
17 | 39 | | |
18 | 40 | | |
19 | 41 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments