add definition of bind9 backend for designate
Missing definition blocked creating configuration
from jinja template.
PROD-18263
Change-Id: Id4d3e73e4439d75c545633b033acbd7048b66808
diff --git a/classes/cluster/virtual-mcp-pike-dvr/openstack/control.yml b/classes/cluster/virtual-mcp-pike-dvr/openstack/control.yml
index 1c3f983..6c9f58d 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/openstack/control.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/openstack/control.yml
@@ -71,7 +71,13 @@
enabled: ${_param:designate_pool_manager_enabled}
periodic_sync_interval: ${_param:designate_pool_manager_periodic_sync_interval}
server:
+ enabled: ${_param:designate_server_enabled}
+ domain_id: ${_param:designate_domain_id}
+ version: ${_param:designate_version}
backend:
+ bind9:
+ rndc_key: ${_param:designate_bind9_rndc_key}
+ rndc_algorithm: ${_param:designate_bind9_rndc_algorithm}
pdns4:
api_token: ${_param:designate_pdns_api_key}
api_endpoint: ${_param:designate_pdns_api_endpoint}
diff --git a/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml b/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
index 23cebad..5b77433 100644
--- a/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
+++ b/classes/cluster/virtual-mcp-pike-dvr/openstack/init.yml
@@ -95,9 +95,12 @@
powerdns_webserver_password: gJ6n3gVaYP8eS
powerdns_webserver_port: 8081
designate_admin_api_enabled: true
+ designate_server_enabled: true
designate_domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
designate_mdns_address: 0.0.0.0
designate_mdns_port: 53
+ designate_bind9_rndc_key: 4pc+X4PDqb2q+5o72dISm72LM1Ds9X2EYZjqg+nmsS7FhdTwzFFY8l/iEDmHxnyjkA33EQC8
+ designate_bind9_rndc_algorithm: hmac-sha512
designate_pdns_api_key: VxK9cMlFL5Ae
designate_pdns_api_endpoint: "http://${_param:openstack_dns_node01_address}:${_param:powerdns_webserver_port}"
designate_pool_manager_enabled: True
diff --git a/classes/cluster/virtual-mcp11-contrail/openstack/control.yml b/classes/cluster/virtual-mcp11-contrail/openstack/control.yml
index 5cd7f19..485c5ab 100755
--- a/classes/cluster/virtual-mcp11-contrail/openstack/control.yml
+++ b/classes/cluster/virtual-mcp11-contrail/openstack/control.yml
@@ -92,6 +92,13 @@
topics: "notifications,${_param:stacklight_notification_topic}"
designate:
server:
+ enabled: ${_param:designate_server_enabled}
+ domain_id: ${_param:designate_domain_id}
+ version: ${_param:designate_version}
+ backend:
+ bind9:
+ rndc_key: ${_param:designate_bind9_rndc_key}
+ rndc_algorithm: ${_param:designate_bind9_rndc_algorithm}
pools:
default:
description: 'test pool'
diff --git a/classes/cluster/virtual-mcp11-contrail/openstack/init.yml b/classes/cluster/virtual-mcp11-contrail/openstack/init.yml
index c600e35..a29a5e6 100755
--- a/classes/cluster/virtual-mcp11-contrail/openstack/init.yml
+++ b/classes/cluster/virtual-mcp11-contrail/openstack/init.yml
@@ -32,6 +32,7 @@
rabbitmq_openstack_password: workshop
rabbitmq_cold_password: workshop
designate_bind9_rndc_key: 4pc+X4PDqb2q+5o72dISm72LM1Ds9X2EYZjqg+nmsS7FhdTwzFFY8l/iEDmHxnyjkA33EQC8
+ designate_bind9_rndc_algorithm: hmac-sha512
designate_domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc
designate_pool_ns_records:
- hostname: 'ns1.example.org.'
@@ -58,6 +59,7 @@
rndc_port: 953
rndc_key_file: /etc/designate/rndc.key
designate_version: ${_param:openstack_version}
+ designate_server_enabled: true
designate_worker_enabled: true
cluster_vip_address: ${_param:openstack_control_address}
glance_version: ${_param:openstack_version}