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
24 lines
1.4 KiB
YAML
24 lines
1.4 KiB
YAML
# This template allows the IPs to be preselected for each VIP. Note that
|
|
# this template should be included after other templates which affect the
|
|
# network such as network-isolation.yaml.
|
|
|
|
resource_registry:
|
|
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external_v6.yaml
|
|
OS::TripleO::Network::Ports::InternalApiVipPort: ../network/ports/internal_api_v6.yaml
|
|
OS::TripleO::Network::Ports::StorageVipPort: ../network/ports/storage_v6.yaml
|
|
OS::TripleO::Network::Ports::StorageMgmtVipPort: ../network/ports/storage_mgmt_v6.yaml
|
|
OS::TripleO::Network::Ports::RedisVipPort: ../network/ports/vip_v6.yaml
|
|
OS::TripleO::Network::Ports::OVNDBsVipPort: ../network/ports/vip_v6.yaml
|
|
|
|
parameter_defaults:
|
|
# Set the IP addresses of the VIPs here.
|
|
# NOTE: we will eventually move to one VIP per service
|
|
#
|
|
ControlFixedIPs: [{'ip_address':'192.168.24.240'}]
|
|
PublicVirtualFixedIPs: [{'ip_address':'2001:db8:fd00:1000:0000:0000:0000:0005'}]
|
|
InternalApiVirtualFixedIPs: [{'ip_address':'fd00:fd00:fd00:2000:0000:0000:0000:0005'}]
|
|
StorageVirtualFixedIPs: [{'ip_address':'fd00:fd00:fd00:3000:0000:0000:0000:000'}]
|
|
StorageMgmtVirtualFixedIPs: [{'ip_address':'fd00:fd00:fd00:4000:0000:0000:0000:0005'}]
|
|
RedisVirtualFixedIPs: [{'ip_address':'fd00:fd00:fd00:2000:0000:0000:0000:0006'}]
|
|
OVNDBsVirtualFixedIPs: [{'ip_address':'fd00:fd00:fd00:2000:0000:0000:0000:0007'}]
|