176b30649b
This change (with its dependent reviews) creates a separate VIP for the OVN DBS service. A more detailed explanation can be found in https://bugs.launchpad.net/tripleo/+bug/1841811. The short explanation is that the OVN DBS HA service puts some additional constraints on the VIP it uses and that is problematic when that VIP is used by other services (e.g. a change in OVN DBS master will move the VIP and will also reset all mysql connections. It also prevents us splitting OVN DBS from where haproxy runs). Tested as follows: A) Deployed a mster environment with this review and all its dependencies and correctly obtained an OVN DBS service with its own Vip and the OVN services (controller/metadata) pointing to this separate Vip B) Deployed a master environment as is and then applied this review + dependencies and observed that a redeploy correctly created a new VIP, reconfigured the services to point to the new VIP and that the old obsolete constraints created around the per-network VIP were removed Closes-Bug: #1841811 Depends-On: Ic62b0fbc0fee40638811a5cd77a5dc5a4d82acf5 Change-Id: I620e37117c26b5b51bf9e1eda91daeb00fdf0f43
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
heat_template_version: rocky
|
|
|
|
parameters:
|
|
RoleCounts:
|
|
type: json
|
|
default: {}
|
|
VipMap:
|
|
type: json
|
|
default: {}
|
|
DeployedServerPortMap:
|
|
type: json
|
|
default: {}
|
|
DefaultRouteIp:
|
|
type: string
|
|
default: 192.168.24.1
|
|
|
|
resources:
|
|
|
|
DeployedServerPortMapParameter:
|
|
type: OS::Heat::Value
|
|
properties:
|
|
type: json
|
|
value:
|
|
DeployedServerPortMap:
|
|
map_merge:
|
|
- {get_param: DeployedServerPortMap}
|
|
- control_virtual_ip:
|
|
fixed_ips:
|
|
- ip_address: {get_param: [VipMap, ctlplane]}
|
|
- redis_virtual_ip:
|
|
fixed_ips:
|
|
- ip_address: {get_param: [VipMap, redis]}
|
|
- ovn_dbs_virtual_ip:
|
|
fixed_ips:
|
|
- ip_address: {get_param: [VipMap, ovn_dbs]}
|
|
|
|
DeployedServerEnvironment:
|
|
type: OS::Heat::Value
|
|
properties:
|
|
type: json
|
|
value:
|
|
parameter_defaults:
|
|
map_merge:
|
|
- {get_attr: [DeployedServerPortMapParameter, value]}
|
|
- ControlPlaneDefaultRoute: {get_param: DefaultRouteIp}
|
|
- {get_param: RoleCounts}
|
|
|
|
outputs:
|
|
deployed_server_environment:
|
|
description:
|
|
Environment data that can be used as input into the services stack when
|
|
using split-stack.
|
|
value: {get_attr: [DeployedServerEnvironment, value]}
|