[libvirt_manager] Create DNS/DHCP records when mac_map is pre-defined#4032
[libvirt_manager] Create DNS/DHCP records when mac_map is pre-defined#4032rebtoor wants to merge 1 commit into
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 56m 18s |
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>
bb2837f to
029f557
Compare
When
cifmw_libvirt_manager_mac_mapis defined (baremetal deploy-bmflow),
generate_networking_data.ymlis skipped because MAC addressesare already known. However, this also skips the DNS/DHCP record
creation (
create_dns_records.yml) which is called at the end ofthat file.
Without DHCP reservations, compute VMs provisioned by Ironic never
get a ctlplane IP, leaving them unreachable for EDPM bootstrap.
This adds a separate path that loads
cifmw_networking_env_definitionfrom the infra environment file (
/etc/ci/env/networking-environment-definition.yml)and creates DNS/DHCP records when
mac_mapis pre-defined.Related-Issue: ANVIL-109