From 7d7088ac5cb5dcb20a953dbcf6645e94056a2bf0 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 10 Dec 2017 20:24:01 +0100 Subject: [baremetal] cleanup: Parameterize VCP hostnames We already define the hostnames in a central location (openstack_init), so use the reclass params instead of hardcodes. Also handle hardcoded hostnames in system.haproxy.proxy.listen and system.mongodb.server.cluster. This will also simplify later changes for novcp scenarios. JIRA: FUEL-310 Change-Id: I2a8b4cd1fcb61a7c63f9047123d985bb688dca0a Signed-off-by: Alexandru Avadanii --- .../cluster/baremetal-mcp-pike-common-ha/openstack_database.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml') diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml index ba02305a1..733f3f78a 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml @@ -28,11 +28,11 @@ parameters: galera_innodb_buffer_pool_size: 2048M cluster_vip_address: ${_param:openstack_database_address} cluster_local_address: ${_param:single_address} - cluster_node01_hostname: dbs01 + cluster_node01_hostname: ${_param:openstack_database_node01_hostname} cluster_node01_address: ${_param:openstack_database_node01_address} - cluster_node02_hostname: dbs02 + cluster_node02_hostname: ${_param:openstack_database_node02_hostname} cluster_node02_address: ${_param:openstack_database_node02_address} - cluster_node03_hostname: dbs03 + cluster_node03_hostname: ${_param:openstack_database_node03_hostname} cluster_node03_address: ${_param:openstack_database_node03_address} dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface} single_nic: ${_param:opnfv_vcp_vm_secondary_interface} -- cgit 1.2.3-korg