23cdf4dd17
With this change a Heat resource is no longer used to create an undercloud neutron API port resource for the redis and ovn_dbs service virtual IPs. Instead an external deploy task at step 0 in the individual service template uses the "tripleo_service_vip" ansible module to mange a neutron API port resource for each service. The interfaces to control the IP address and service network (RedisVirtualFixedIPs, OVNDBsVirtualFixedIPs and ServiceNetMap) remains the same. It is also possible to include the 'use_neutron' boolean in the FixedIPs parameter to instruct the ansible module not to create a neutron API resource, and simply "echo" the ip_address given in the FixedIPs parameter. For example: RedisVirtualFixedIPs: - ip_address: 1.0.0.5 use_neutron: false Alternatively the fixed-ips can be set using the 'ServiceVips' parameter, like this: ServiceVips: redis: 1.0.0.5 ovs_dbs: 1.0.0.6 NOTE: If the neutron service is not available the tripleo_service_vip ansible module will "echo" the IP provided in %service%VirtualFixedIPs. Related: blueprint network-data-v2-ports Depends-On: https://review.opendev.org/777307 Depends-On: https://review.opendev.org/779883 Change-Id: I4794418546363888e7a555a16b45b7a4417f1ef8
42 lines
1.9 KiB
YAML
42 lines
1.9 KiB
YAML
resource_registry:
|
|
OS::TripleO::Network::Ports::ExternalVipPort: ../network/ports/external.yaml
|
|
OS::TripleO::Network::Ports::InternalApiVipPort: ../network/ports/internal_api.yaml
|
|
OS::TripleO::Network::Ports::StorageVipPort: ../network/ports/storage.yaml
|
|
OS::TripleO::Network::Ports::StorageMgmtVipPort: ../network/ports/storage_mgmt.yaml
|
|
OS::TripleO::Controller::Ports::ExternalPort: ../network/ports/external_from_pool.yaml
|
|
OS::TripleO::Controller::Ports::InternalApiPort: ../network/ports/internal_api_from_pool.yaml
|
|
OS::TripleO::Controller::Ports::StoragePort: ../network/ports/storage_from_pool.yaml
|
|
OS::TripleO::Controller::Ports::StorageMgmtPort: ../network/ports/storage_mgmt_from_pool.yaml
|
|
OS::TripleO::Controller::Ports::TenantPort: ../network/ports/tenant_from_pool.yaml
|
|
# Management network is optional and disabled by default
|
|
#OS::TripleO::Controller::Ports::ManagementPort: ../network/ports/management_from_pool.yaml
|
|
# We need to also disable the haproxy resource when using external lb
|
|
OS::TripleO::Services::HAproxy: OS::Heat::None
|
|
|
|
parameter_defaults:
|
|
# When using an external loadbalancer set the following in parameter_defaults
|
|
# to control your VIPs (currently one per network)
|
|
# NOTE: we will eventually move to one VIP per service
|
|
#
|
|
ControlFixedIPs: [{'ip_address':'192.168.24.251'}]
|
|
PublicVirtualFixedIPs: [{'ip_address':'10.0.0.251'}]
|
|
InternalApiVirtualFixedIPs: [{'ip_address':'172.16.2.251'}]
|
|
StorageVirtualFixedIPs: [{'ip_address':'172.16.1.251'}]
|
|
StorageMgmtVirtualFixedIPs: [{'ip_address':'172.16.3.251'}]
|
|
RedisVirtualFixedIPs: [{'ip_address':'172.16.2.252'}]
|
|
OVNDBsVirtualFixedIPs: [{'ip_address':'172.16.2.253'}]
|
|
ControllerIPs:
|
|
external:
|
|
- 10.0.0.253
|
|
internal_api:
|
|
- 172.16.2.253
|
|
storage:
|
|
- 172.16.1.253
|
|
storage_mgmt:
|
|
- 172.16.3.253
|
|
tenant:
|
|
- 172.16.0.253
|
|
#management:
|
|
#- 172.16.4.253
|
|
EnableLoadBalancer: false
|