[baremetal] cleanup: Parameterize VCP hostnames 19/48619/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 10 Dec 2017 19:24:01 +0000 (20:24 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 11 Dec 2017 16:00:54 +0000 (17:00 +0100)
commit7d7088ac5cb5dcb20a953dbcf6645e94056a2bf0
tree06e21c2ffd36117745c47b9da33d7f2e5259b500
parent9b94e9cdbaa76c39aabd7d6aa5befdce92a66a67
[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 <Alexandru.Avadanii@enea.com>
mcp/patches/reclass-system-salt-model/0002-haproxy-Parameterize-cluster-hostnames.patch [new file with mode: 0644]
mcp/patches/reclass-system-salt-model/0003-mongodb-Parameterize-cluster-hostnames.patch [new file with mode: 0644]
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_compute.yml
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_control.yml
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_database.yml
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_message_queue.yml
mcp/reclass/classes/cluster/baremetal-mcp-pike-common-ha/openstack_telemetry.yml