Re: [Freeipa-devel] [PATCH 0345] tests: realmdomains_plugin: Add explanatory comment

2015-07-22 Thread Tomas Babej
On 07/22/2015 09:07 AM, Martin Basti wrote:
 On 21/07/15 18:02, Tomas Babej wrote:
 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


 
 ACK
 
 -- 
 Martin Basti
 

Pushed to:
master: 5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957
ipa-4-2: 4292641eddced3f3482c2cc604fbd093f1163cff

-- 
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


Re: [Freeipa-devel] [PATCH 0345] tests: realmdomains_plugin: Add explanatory comment

2015-07-22 Thread Martin Basti

On 21/07/15 18:02, Tomas Babej wrote:

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




ACK

--
Martin Basti

-- 
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

[Freeipa-devel] [PATCH 0345] tests: realmdomains_plugin: Add explanatory comment

2015-07-21 Thread Tomas Babej
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