Commit 029f557
[libvirt_manager] Create DNS/DHCP records when mac_map is pre-defined
When cifmw_libvirt_manager_mac_map is defined (baremetal deploy-bm
flow), generate_networking_data.yml is skipped because MAC addresses
are already known. However, this also skips the DNS/DHCP record
creation (create_dns_records.yml) which is called at the end of
that file.
Without DHCP reservations, compute VMs provisioned by Ironic never
get a ctlplane IP, leaving them unreachable for EDPM bootstrap.
Add a separate path that loads cifmw_networking_env_definition from
the infra environment file and creates DNS/DHCP records when
mac_map is pre-defined.
Related-Issue: ANVIL-109
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>1 parent f67ae9b commit 029f557
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
121 | 145 | | |
122 | 146 | | |
123 | 147 | | |
| |||
0 commit comments