Browse Source

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
changes/07/777307/3
Harald Jensås 2 months ago
parent
commit
49c5c31bb6
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      tripleoclient/v1/tripleo_deploy.py

+ 8
- 0
tripleoclient/v1/tripleo_deploy.py View File

@ -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…
Cancel
Save