Ironic Inspector - disjoint ip range(s) for HA
Allow tht parameter IronicInspectorSubnets to specify per-instance ip range(s) using hostname as key for each list of ip ranges. For HA deployments use disjoint address pools to avoid potential address conflict. Implements: blueprint ironic-inspector-overcloud Depends-On: Ifae513265b8c35d98012f14f951bac33ae90b66c Change-Id: Ifdebe9fcc817b4572f1eb461a3396af6b55f1e6b
This commit is contained in:
parent
1201d46ee3
commit
2024bb0218
@ -106,6 +106,25 @@ parameters:
|
|||||||
netmask: 255.255.255.0
|
netmask: 255.255.255.0
|
||||||
gateway: 192.168.1.254
|
gateway: 192.168.1.254
|
||||||
tag: subnet1
|
tag: subnet1
|
||||||
|
|
||||||
|
NOTE: For HA deployments use disjoint address pools to avoid potential
|
||||||
|
address conflict. Use the hostname (short form) of each instance
|
||||||
|
that will run Ironic Inspector and define a dictionary with the
|
||||||
|
disjoint ip ranges.
|
||||||
|
|
||||||
|
Example HA deployment using disjoint address pools:
|
||||||
|
overcloud-ironic-0:
|
||||||
|
- ip_range: 192.168.24.100,192.168.24.119
|
||||||
|
- ip_range: 192.168.25.100,192.168.25.119
|
||||||
|
netmask: 255.255.255.0
|
||||||
|
gateway: 192.168.25.254
|
||||||
|
tag: subnet1
|
||||||
|
overcloud-ironic-1:
|
||||||
|
- ip_range: 192.168.24.120,192.168.24.139
|
||||||
|
- ip_range: 192.168.25.120,192.168.25.139
|
||||||
|
netmask: 255.255.255.0
|
||||||
|
gateway: 192.168.25.254
|
||||||
|
tag: subnet1
|
||||||
type: json
|
type: json
|
||||||
default: {}
|
default: {}
|
||||||
IronicInspectorUseSwift:
|
IronicInspectorUseSwift:
|
||||||
@ -152,7 +171,7 @@ outputs:
|
|||||||
"%{hiera('$NETWORK')}"
|
"%{hiera('$NETWORK')}"
|
||||||
params:
|
params:
|
||||||
$NETWORK: {get_param: [ServiceNetMap, IronicInspectorNetwork]}
|
$NETWORK: {get_param: [ServiceNetMap, IronicInspectorNetwork]}
|
||||||
ironic::inspector::dnsmasq_ip_subnets:
|
tripleo::profile::base::ironic_inspector::inspection_subnets:
|
||||||
if:
|
if:
|
||||||
- ironic_inspection_subnets_not_set
|
- ironic_inspection_subnets_not_set
|
||||||
- [{ip_range: {get_param: IronicInspectorIpRange}}]
|
- [{ip_range: {get_param: IronicInspectorIpRange}}]
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds support to configure disjoint address pools for Ironic Inspector.
|
||||||
|
|
||||||
|
When Inspector is deployed as a HA service disjoint address pools should be
|
||||||
|
served by the DHCP instances to avoid address conflict issues. The disjoint
|
||||||
|
address pools are configured by using hostname (short form) as the key,
|
||||||
|
then pass the list of ranges for each host. For example::
|
||||||
|
|
||||||
|
parameter_defaults:
|
||||||
|
|
||||||
|
IronicInspectorSubnets:
|
||||||
|
overcloud-ironic-0:
|
||||||
|
- ip_range: 192.168.24.100,192.168.24.119
|
||||||
|
- ip_range: 192.168.25.100,192.168.25.119
|
||||||
|
netmask: 255.255.255.0
|
||||||
|
gateway: 192.168.25.254
|
||||||
|
tag: subnet1
|
||||||
|
overcloud-ironic-1:
|
||||||
|
- ip_range: 192.168.24.120,192.168.24.139
|
||||||
|
- ip_range: 192.168.25.120,192.168.25.139
|
||||||
|
netmask: 255.255.255.0
|
||||||
|
gateway: 192.168.25.254
|
||||||
|
tag: subnet1
|
Loading…
x
Reference in New Issue
Block a user