Hi, The realmdomains_mod command will fail if the testing environment is configured improperly and the IPA domain's NS/SOA records are not resolvable. This can easily happen if the machine's DNS server is not configured to the IPA server.
Leave a explanatory note in the class. Tomas
From c5fdaf229b67e4b6f331c3e9c9f42e751853f15b Mon Sep 17 00:00:00 2001 From: Tomas Babej <tba...@redhat.com> Date: Tue, 21 Jul 2015 14:12:31 +0200 Subject: [PATCH] tests: realmdomains_plugin: Add explanatory comment The realmdomains_mod command will fail if the testing environment is configured improperly and the IPA domain's NS/SOA records are not resolvable. This can easily happen if the machine's DNS server is not configured to the IPA server. Leave a explanatory note in the class. --- ipatests/test_xmlrpc/test_realmdomains_plugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipatests/test_xmlrpc/test_realmdomains_plugin.py b/ipatests/test_xmlrpc/test_realmdomains_plugin.py index fc04e2ae5948249c55048b5587faca6f480c0e39..703f77d1ea8dd12be82fc08411b2748500bfbf4f 100644 --- a/ipatests/test_xmlrpc/test_realmdomains_plugin.py +++ b/ipatests/test_xmlrpc/test_realmdomains_plugin.py @@ -36,6 +36,9 @@ bad_domain = u'doesnotexist.test' class test_realmdomains(Declarative): + # Make sure your environment has sound DNS configuration where + # the IPA domain has either NS or SOA record. Check your resolver + # if getting errors with the realmdomains_mod cleanup command. cleanup_commands = [ ('realmdomains_mod', [], {'associateddomain': [our_domain]}), ] -- 2.1.0
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code