Commit bb2837f
committed
[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 call to create_dns_records.yml that runs when
mac_map is defined and cifmw_networking_env_definition is available.
Related-Issue: ANVIL-109
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Roberto Alfieri <ralfieri@redhat.com>1 parent f67ae9b commit bb2837f
1 file changed
Lines changed: 6 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 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
0 commit comments