Merge "Fix Bifrost inspection through DHCP-relay"

This commit is contained in:
Zuul 2022-04-29 09:17:17 +00:00 committed by Gerrit Code Review
commit ef104ce50e
4 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@
# Network configuration.
kolla_bifrost_dhcp_pool_start: "{{ provision_oc_net_name | net_inspection_allocation_pool_start }}"
kolla_bifrost_dhcp_pool_end: "{{ provision_oc_net_name | net_inspection_allocation_pool_end }}"
kolla_bifrost_dhcp_pool_mask: "{{ provision_oc_net_name | net_mask }}"
kolla_bifrost_dnsmasq_router: "{{ provision_oc_net_name | net_inspection_gateway or provision_oc_net_name | net_gateway }}"
kolla_bifrost_dnsmasq_dns_servers: "{{ resolv_nameservers | default([]) }}"
kolla_bifrost_domain: "{{ resolv_domain | default }}"

View File

@ -30,6 +30,7 @@ kolla_bifrost_extra_kernel_options: []
# IP address range for DHCP.
kolla_bifrost_dhcp_pool_start:
kolla_bifrost_dhcp_pool_end:
kolla_bifrost_dhcp_pool_mask:
# Default route provided to nodes via DHCP.
kolla_bifrost_dnsmasq_router:

View File

@ -11,6 +11,7 @@ extra_kernel_options: "{{ kolla_bifrost_extra_kernel_options if kolla_bifrost_ex
# IP address range for DHCP.
dhcp_pool_start: "{{ kolla_bifrost_dhcp_pool_start }}"
dhcp_pool_end: "{{ kolla_bifrost_dhcp_pool_end }}"
dhcp_pool_mask: "{{ kolla_bifrost_dhcp_pool_mask }}"
{% if kolla_bifrost_dnsmasq_router %}
# Default route provided to nodes via DHCP.

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Ironic inspection through Bifrost now work even if DHCP-relay is used.
The dhcp-range in dnsmasq.conf corrctly configured with network mask.