Override ovn::controller::hostname to use hiera:fqdn_canonical

ovn::controller::hostname defaults to ::fqdn,
hostname can differ based on how nova configures it, detected
when dhcp_domain name is removed in [1].
So it's good to rely on fqdn_canonical hiera key which
nova also relies on to set "host" in nova.conf.

This backport excludes neutron_url_timeout chnage.

Related-Bug: #1829993
Change-Id: If52302b5a04b5e146ac53ccd3fc65a064b2df2fb
(cherry picked from commit 5e83eeda5b)
This commit is contained in:
yatinkarel 2019-05-22 11:08:12 +05:30 committed by Rabi Mishra
parent eff8376233
commit 99039a8195

View File

@ -117,6 +117,7 @@ outputs:
params: params:
$NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]} $NETWORK: {get_param: [ServiceNetMap, NeutronTenantNetwork]}
ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge} ovn::controller::ovn_bridge: {get_param: OVNIntegrationBridge}
ovn::controller::hostname: "%{hiera('fqdn_canonical')}"
tripleo::profile::base::neutron::agents::ovn::ovn_db_host: {get_param: [EndpointMap, OvnDbInternal, host_nobrackets]} 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':