summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2016-05-11 12:11:09 +0200
committerMartin Basti <mbasti@redhat.com>2016-05-11 13:19:13 +0200
commit84e5065b398eec722b30123319dc7725286a2a74 (patch)
tree69d0bfffa9af06d4d01d57b4e0da0edc6ae6c79d /ipatests/test_integration
parent5567dff4b46cc05bf0ea44dd03afdd12645143a5 (diff)
downloadfreeipa-84e5065b398eec722b30123319dc7725286a2a74.tar.gz
freeipa-84e5065b398eec722b30123319dc7725286a2a74.tar.xz
freeipa-84e5065b398eec722b30123319dc7725286a2a74.zip
Added necessary A record for the replica to root zone
A master can only be delegated a zone authority, if this zone contains A records of the master and ALL replicas https://fedorahosted.org/freeipa/ticket/5848 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/test_dnssec.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_dnssec.py b/ipatests/test_integration/test_dnssec.py
index 35cf8636d..554e96c63 100644
--- a/ipatests/test_integration/test_dnssec.py
+++ b/ipatests/test_integration/test_dnssec.py
@@ -363,6 +363,11 @@ class TestInstallDNSSECFirst(IntegrationTest):
"--a-rec=" + self.master.ip
]
self.master.run_command(args)
+ args = [
+ "ipa", "dnsrecord-add", root_zone, self.replicas[0].hostname,
+ "--a-rec=" + self.replicas[0].ip
+ ]
+ self.master.run_command(args)
time.sleep(10) # sleep a bit until data are provided by bind-dyndb-ldap
args = [