Standalone set %service%VirtualFixedIPs
Set parameters RedisVirtualFixedIPs and OVNDBsVirtualFixedIPs in the environment for standalone. Defaults to the address specifed using the --control-virtual-ip parameter. These parameters must be set so that the tripleo_service_vip ansible module won't fail, i.e reuired to make https://review.opendev.org/777259 work for standalone deployments with OVN and/or Redis enabled. Related: blueprint network-data-v2-ports Change-Id: I959851dd6c6667621a466481c634626f4739c2ce Related: blueprint network-data-v2-ports
This commit is contained in:
parent
4678d5053c
commit
49c5c31bb6
|
@ -663,8 +663,16 @@ class Deploy(command.Command):
|
|||
user_params = self._load_user_params(user_environments)
|
||||
host_routes = user_params.get('ControlPlaneStaticRoutes', [])
|
||||
mtu = user_params.get('InterfaceLocalMtu', 1500)
|
||||
redis_vip = user_params.get(
|
||||
'RedisVirtualFixedIPs',
|
||||
[{'ip_address': c_ip, 'use_neutron': False}])
|
||||
ovn_dbs_vip = user_params.get(
|
||||
'OVNDBsVirtualFixedIPs',
|
||||
[{'ip_address': c_ip, 'use_neutron': False}])
|
||||
tmp_env.update(
|
||||
{
|
||||
'RedisVirtualFixedIPs': redis_vip,
|
||||
'OVNDBsVirtualFixedIPs': ovn_dbs_vip,
|
||||
'CtlplaneNetworkAttributes': {
|
||||
'network': {
|
||||
'mtu': mtu,
|
||||
|
|
Loading…
Reference in New Issue