Skip to content

Commit

Permalink
Allow all master dns nodes to send notifys
Browse files Browse the repository at this point in the history
When deployed with mutliple masters the slave will reject notifys
from them so explicitly list all masters who can send notifys.

Minor fir to amulet test as designate no longer creates a default
nameserver

Change-Id: I60397375d3bda317b2b6acfcfc37686d73d1a855
  • Loading branch information
Liam Young committed Jul 27, 2016
1 parent 021c2a6 commit 32c5548
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion requirements.txt
@@ -1,4 +1,3 @@
# Requirements to build the charm
ruamel.yaml==0.10.12
simplejson
flake8
1 change: 1 addition & 0 deletions src/templates/named.conf.options
Expand Up @@ -26,4 +26,5 @@ options {
allow-new-zones yes;
request-ixfr no;
recursion no;
allow-notify { {{ dns_backend.control_ips }}; };
};
11 changes: 6 additions & 5 deletions src/tests/basic_deployment.py
Expand Up @@ -84,14 +84,15 @@ def _configure_services(self):
keystone_config = {'admin-password': 'openstack',
'admin-token': 'ubuntutesting',
'openstack-origin': 'cloud:trusty-mitaka'}
designate_config = {'openstack-origin': 'cloud:trusty-mitaka'}
configs = {
'keystone': keystone_config,
'designate': designate_config}
designate_config = {'openstack-origin': 'cloud:trusty-mitaka',
'nameservers': 'ns1.mojotest.com.'}
else:
keystone_config = {'admin-password': 'openstack',
'admin-token': 'ubuntutesting'}
configs = {'keystone': keystone_config}
designate_config = {'nameservers': 'ns1.mojotest.com.'}
configs = {
'keystone': keystone_config,
'designate': designate_config}
super(DesignateBindDeployment, self)._configure_services(configs)

def _get_token(self):
Expand Down

0 comments on commit 32c5548

Please sign in to comment.