Add OvnDbInternal to EndpointMap and use it for ovn_db_host
OVN controller/metadata use ovn_dbs_vip hiera key to configure the central ovn DB. This key is not available on split control plane or multi cell setup and therefore installation fails. With this change a new entry gets created in the EndpointMap named OvnDbInternal. This can then be exported for an overcloud stack and can be used as an input for the cell stack. The information from the EndpointMap is used for ovn-metadata and ovn-controller as the ovn_db_host information in puppet-tripleo Change-Id: I0d9eb663405d1113ea84e3c12651a3f0dbdfc75d Closes-Bug: #1817524
This commit is contained in:
parent
92766d5a69
commit
37e1122f8c
@ -97,6 +97,7 @@ parameter_defaults:
|
|||||||
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: IP_ADDRESS}
|
||||||
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
|
@ -93,6 +93,7 @@ parameter_defaults:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
||||||
|
@ -93,6 +93,7 @@ parameter_defaults:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'IP_ADDRESS'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'IP_ADDRESS'}
|
||||||
|
@ -93,6 +93,7 @@ parameter_defaults:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterAdmin: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
OpenshiftRouterInternal: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterInternal: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
OpenshiftRouterPublic: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterPublic: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
PankoAdmin: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
||||||
PankoInternal: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
PankoInternal: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
||||||
|
@ -106,6 +106,12 @@ Mysql:
|
|||||||
protocol: mysql+pymysql
|
protocol: mysql+pymysql
|
||||||
port: 3306
|
port: 3306
|
||||||
|
|
||||||
|
OvnDb:
|
||||||
|
Internal:
|
||||||
|
net_param: OvnDbs
|
||||||
|
protocol: tcp
|
||||||
|
port: 6642
|
||||||
|
|
||||||
Heat:
|
Heat:
|
||||||
Internal:
|
Internal:
|
||||||
net_param: HeatApi
|
net_param: HeatApi
|
||||||
|
@ -100,6 +100,7 @@ parameters:
|
|||||||
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: IP_ADDRESS}
|
||||||
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
@ -7772,6 +7773,87 @@ outputs:
|
|||||||
template: NETWORK_uri
|
template: NETWORK_uri
|
||||||
port:
|
port:
|
||||||
get_param: [EndpointMap, OpenshiftRouterPublic, port]
|
get_param: [EndpointMap, OpenshiftRouterPublic, port]
|
||||||
|
OvnDbInternal:
|
||||||
|
host:
|
||||||
|
str_replace:
|
||||||
|
template:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, host]
|
||||||
|
params:
|
||||||
|
CLOUDNAME:
|
||||||
|
get_param:
|
||||||
|
- CloudEndpoints
|
||||||
|
- get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
IP_ADDRESS:
|
||||||
|
get_param:
|
||||||
|
- NetIpMap
|
||||||
|
- str_replace:
|
||||||
|
params:
|
||||||
|
NETWORK:
|
||||||
|
get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
template: NETWORK_uri
|
||||||
|
host_nobrackets:
|
||||||
|
str_replace:
|
||||||
|
template:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, host]
|
||||||
|
params:
|
||||||
|
CLOUDNAME:
|
||||||
|
get_param:
|
||||||
|
- CloudEndpoints
|
||||||
|
- get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
IP_ADDRESS:
|
||||||
|
get_param:
|
||||||
|
- NetIpMap
|
||||||
|
- get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
port:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, port]
|
||||||
|
protocol:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, protocol]
|
||||||
|
uri:
|
||||||
|
make_url:
|
||||||
|
scheme:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, protocol]
|
||||||
|
host:
|
||||||
|
str_replace:
|
||||||
|
template:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, host]
|
||||||
|
params:
|
||||||
|
CLOUDNAME:
|
||||||
|
get_param:
|
||||||
|
- CloudEndpoints
|
||||||
|
- get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
IP_ADDRESS:
|
||||||
|
get_param:
|
||||||
|
- NetIpMap
|
||||||
|
- str_replace:
|
||||||
|
params:
|
||||||
|
NETWORK:
|
||||||
|
get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
template: NETWORK_uri
|
||||||
|
port:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, port]
|
||||||
|
uri_no_suffix:
|
||||||
|
make_url:
|
||||||
|
scheme:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, protocol]
|
||||||
|
host:
|
||||||
|
str_replace:
|
||||||
|
template:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, host]
|
||||||
|
params:
|
||||||
|
CLOUDNAME:
|
||||||
|
get_param:
|
||||||
|
- CloudEndpoints
|
||||||
|
- get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
IP_ADDRESS:
|
||||||
|
get_param:
|
||||||
|
- NetIpMap
|
||||||
|
- str_replace:
|
||||||
|
params:
|
||||||
|
NETWORK:
|
||||||
|
get_param: [ServiceNetMap, OvnDbsNetwork]
|
||||||
|
template: NETWORK_uri
|
||||||
|
port:
|
||||||
|
get_param: [EndpointMap, OvnDbInternal, port]
|
||||||
PankoAdmin:
|
PankoAdmin:
|
||||||
host:
|
host:
|
||||||
str_replace:
|
str_replace:
|
||||||
|
@ -114,6 +114,7 @@ outputs:
|
|||||||
$NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
|
$NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
|
||||||
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
|
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
|
||||||
nova::compute::force_config_drive: {if: [force_config_drive, true, false]}
|
nova::compute::force_config_drive: {if: [force_config_drive, true, false]}
|
||||||
|
tripleo::profile::base::neutron::agents::ovn::ovn_db_host: {get_param: [EndpointMap, OvnDbInternal, host_nobrackets]}
|
||||||
tripleo::ovn_controller::firewall_rules:
|
tripleo::ovn_controller::firewall_rules:
|
||||||
'118 neutron vxlan networks':
|
'118 neutron vxlan networks':
|
||||||
proto: 'udp'
|
proto: 'udp'
|
||||||
|
@ -113,6 +113,7 @@ outputs:
|
|||||||
$NETWORK: {get_param: [ServiceNetMap, NovaMetadataNetwork]}
|
$NETWORK: {get_param: [ServiceNetMap, NovaMetadataNetwork]}
|
||||||
neutron::agents::ovn_metadata::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
|
neutron::agents::ovn_metadata::ovsdb_connection_timeout: {get_param: OVNDbConnectionTimeout}
|
||||||
ovn::southbound::port: {get_param: OVNSouthboundServerPort}
|
ovn::southbound::port: {get_param: OVNSouthboundServerPort}
|
||||||
|
tripleo::profile::base::neutron::ovn_metadata::ovn_db_host: {get_param: [EndpointMap, OvnDbInternal, host_nobrackets]}
|
||||||
neutron::agents::ovn_metadata::debug:
|
neutron::agents::ovn_metadata::debug:
|
||||||
if:
|
if:
|
||||||
- service_debug_unset
|
- service_debug_unset
|
||||||
|
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
issues:
|
||||||
|
- |
|
||||||
|
Add OvnDbInternal to EndpointMap and use it for ovn_db_host
|
||||||
|
|
||||||
|
OVN controller/metadata use ovn_dbs_vip hiera key to configure
|
||||||
|
the central ovn DB. This key is not available on split control
|
||||||
|
plane or multi cell setup and therefore installation fails.
|
||||||
|
|
||||||
|
With this change a new entry gets created in the EndpointMap
|
||||||
|
named OvnDbInternal. This can then be exported for an overcloud
|
||||||
|
stack and can be used as an input for the cell stack.
|
||||||
|
|
||||||
|
The information from the EndpointMap is used for ovn-metadata
|
||||||
|
and ovn-controller as the ovn_db_host information in puppet-tripleo
|
@ -198,6 +198,7 @@ environments:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'IP_ADDRESS'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'IP_ADDRESS'}
|
||||||
@ -317,6 +318,7 @@ environments:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterAdmin: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterInternal: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
OpenshiftRouterPublic: {protocol: 'http', port: '80', host: 'IP_ADDRESS'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoAdmin: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
PankoInternal: {protocol: 'http', port: '8977', host: 'IP_ADDRESS'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
||||||
@ -436,6 +438,7 @@ environments:
|
|||||||
OpenshiftRouterAdmin: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterAdmin: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
OpenshiftRouterInternal: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterInternal: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
OpenshiftRouterPublic: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
OpenshiftRouterPublic: {protocol: 'https', port: '443', host: 'CLOUDNAME'}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: 'IP_ADDRESS'}
|
||||||
PankoAdmin: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
PankoAdmin: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
||||||
PankoInternal: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
PankoInternal: {protocol: 'https', port: '8977', host: 'CLOUDNAME'}
|
||||||
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
PankoPublic: {protocol: 'https', port: '13977', host: 'CLOUDNAME'}
|
||||||
@ -565,6 +568,7 @@ environments:
|
|||||||
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterAdmin: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterInternal: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
OpenshiftRouterPublic: {protocol: http, port: '80', host: IP_ADDRESS}
|
||||||
|
OvnDbInternal: {protocol: tcp, port: '6642', host: IP_ADDRESS}
|
||||||
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoAdmin: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoInternal: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
PankoPublic: {protocol: http, port: '8977', host: IP_ADDRESS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user