Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-10 Thread Martin Basti
On 10.11.2016 10:06, Oleg Fayans wrote: On 11/10/2016 09:43 AM, Martin Basti wrote: ACK On the other hand, make it a conditional one. The link in the comment does not work. Please fix that. -- Milan Kubik -- Milan Kubik After offline discussion and some clarification, the

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-10 Thread Oleg Fayans
On 11/10/2016 09:43 AM, Martin Basti wrote: ACK On the other hand, make it a conditional one. The link in the comment does not work. Please fix that. -- Milan Kubik -- Milan Kubik After offline discussion and some clarification, the comment is right. ACK -- Milan Kubik

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-10 Thread Martin Basti
ACK On the other hand, make it a conditional one. The link in the comment does not work. Please fix that. -- Milan Kubik -- Milan Kubik After offline discussion and some clarification, the comment is right. ACK -- Milan Kubik Because patches are scattered over this thread, am I

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-10 Thread Milan Kubík
On 11/09/2016 04:37 PM, Milan Kubík wrote: On 11/09/2016 04:34 PM, Milan Kubík wrote: On 11/03/2016 04:56 PM, Oleg Fayans wrote: Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-09 Thread Milan Kubík
On 11/03/2016 04:56 PM, Oleg Fayans wrote: Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket in commit message is closed as invalid. So I'm quite puzzled now what to do. On

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-09 Thread Milan Kubík
On 11/09/2016 04:34 PM, Milan Kubík wrote: On 11/03/2016 04:56 PM, Oleg Fayans wrote: Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket in commit message is closed as invalid. So

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-08 Thread Oleg Fayans
another ping for review On 11/08/2016 09:32 AM, Oleg Fayans wrote: Ping for review On 11/03/2016 04:56 PM, Oleg Fayans wrote: Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket in

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-08 Thread Oleg Fayans
Ping for review On 11/03/2016 04:56 PM, Oleg Fayans wrote: Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket in commit message is closed as invalid. So I'm quite puzzled now what to

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-03 Thread Oleg Fayans
Hi Martin, The commit message was updated with the correct ticket link Thanks for review! On 11/03/2016 04:22 PM, Martin Basti wrote: almost ACK, but the ticket in commit message is closed as invalid. So I'm quite puzzled now what to do. On 03.11.2016 13:28, Oleg Fayans wrote: ping for

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-03 Thread Martin Basti
almost ACK, but the ticket in commit message is closed as invalid. So I'm quite puzzled now what to do. On 03.11.2016 13:28, Oleg Fayans wrote: ping for review On 10/19/2016 04:54 PM, Oleg Fayans wrote: Hi Martin, Thanks for the review. Fixed both issues. $ ipa-run-tests

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-11-03 Thread Oleg Fayans
ping for review On 10/19/2016 04:54 PM, Oleg Fayans wrote: Hi Martin, Thanks for the review. Fixed both issues. $ ipa-run-tests test_integration/test_topology.py -k TestCASpecificRUVs WARNING: Couldn't write lextab module 'pycparser.lextab'. [Errno 13] Permission denied: 'lextab.py' WARNING:

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-19 Thread Oleg Fayans
Hi Martin, Thanks for the review. Fixed both issues. $ ipa-run-tests test_integration/test_topology.py -k TestCASpecificRUVs WARNING: Couldn't write lextab module 'pycparser.lextab'. [Errno 13] Permission denied: 'lextab.py' WARNING: yacc table file version is out of date WARNING: Couldn't

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-17 Thread Martin Basti
1) you don't need to disable/enable dirsrv, just stop/start. Please remove disable/enable parts 2) traceback

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-14 Thread Oleg Fayans
Right you are! I am sorry. On 10/13/2016 06:10 PM, Martin Basti wrote: I think that you forgot to squash commits. Patch 47 doesn't apply On 13.10.2016 14:01, Oleg Fayans wrote: Hi Martin, Thanks for the review. With disabling directory server it works as well, thanks for the hint. Also I

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-13 Thread Martin Basti
I think that you forgot to squash commits. Patch 47 doesn't apply On 13.10.2016 14:01, Oleg Fayans wrote: Hi Martin, Thanks for the review. With disabling directory server it works as well, thanks for the hint. Also I moved the cleanup logic to the test itself for the sake of simplicity.

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-13 Thread Oleg Fayans
Hi Martin, Thanks for the review. With disabling directory server it works as well, thanks for the hint. Also I moved the cleanup logic to the test itself for the sake of simplicity. Patch-0048 was not changed On 10/12/2016 02:35 PM, Martin Basti wrote: 1) Can you just turn off dirsrv on

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-12 Thread Martin Basti
1) Can you just turn off dirsrv on replica instead of doing iptables magic? 2) NACK No more eval() ever in code, use 'getattr', 'get' or whatever in the object that can be used. +evalhost = eval("args[0].%s" % host) Martin^2 On 12.10.2016 14:03, Oleg Fayans wrote: Hi

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-12 Thread Oleg Fayans
Hi Martin, After extensive discussion with Ludwig, I finally got the clue on how does this feature work. When we uninstall the replica, the master cleans the replication agreements with this replica and automatically cleans all replica's RUVs. If we clean replica's RUVs on master without

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-07 Thread Oleg Fayans
Hi Ludwig, Thanks for the clarification! But then why does CSRUV allows to be deleted on a working replica? Shouldn't we keep this behavior somehow consistent? On 10/07/2016 09:29 AM, Ludwig Krispenz wrote: On 09/13/2016 10:10 AM, Oleg Fayans wrote: Hi Ludwig, The ipa-replica-manage

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-07 Thread Ludwig Krispenz
On 09/13/2016 10:10 AM, Oleg Fayans wrote: Hi Ludwig, The ipa-replica-manage clean-ruv sometimes does not quite work. For example: I have a master and 2 replicas. Initial output of 'ipa-replica-manage list-ruv' looks like this: Replica Update Vectors: f24replica2.pesen.net:389: 7

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-07 Thread Oleg Fayans
Ping for review On 10/05/2016 12:02 PM, Oleg Fayans wrote: Hi Ludwig, Could you please take a look at it when you have time? On 09/13/2016 10:10 AM, Oleg Fayans wrote: Hi Ludwig, The ipa-replica-manage clean-ruv sometimes does not quite work. For example: I have a master and 2 replicas.

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-10-05 Thread Oleg Fayans
Hi Ludwig, Could you please take a look at it when you have time? On 09/13/2016 10:10 AM, Oleg Fayans wrote: Hi Ludwig, The ipa-replica-manage clean-ruv sometimes does not quite work. For example: I have a master and 2 replicas. Initial output of 'ipa-replica-manage list-ruv' looks like

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-09-13 Thread Oleg Fayans
Hi Ludwig, The ipa-replica-manage clean-ruv sometimes does not quite work. For example: I have a master and 2 replicas. Initial output of 'ipa-replica-manage list-ruv' looks like this: Replica Update Vectors: f24replica2.pesen.net:389: 7 f24master.pesen.net:389: 4

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-08-05 Thread Martin Basti
On 03.08.2016 14:45, Oleg Fayans wrote: Hi Martin, Thanks for the review! Both patches were updated. On 07/28/2016 04:11 PM, Martin Basti wrote: On 08.07.2016 15:41, Oleg Fayans wrote: Hi Martin, Thanks for the review! On 07/08/2016 02:18 PM, Martin Basti wrote: On 27.06.2016 13:53,

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-08-03 Thread Oleg Fayans
Hi Martin, Thanks for the review! Both patches were updated. On 07/28/2016 04:11 PM, Martin Basti wrote: On 08.07.2016 15:41, Oleg Fayans wrote: Hi Martin, Thanks for the review! On 07/08/2016 02:18 PM, Martin Basti wrote: On 27.06.2016 13:53, Oleg Fayans wrote: Hi guys, Is there a

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-07-08 Thread Oleg Fayans
Hi Martin, Thanks for the review! On 07/08/2016 02:18 PM, Martin Basti wrote: On 27.06.2016 13:53, Oleg Fayans wrote: Hi guys, Is there a chance the patches NN 0047.1 and 0048.1 get reviewed before 4.4 release? They cover a good part of the Managed Topology 4.4 feature. On 06/17/2016

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-07-08 Thread Martin Basti
On 27.06.2016 13:53, Oleg Fayans wrote: Hi guys, Is there a chance the patches NN 0047.1 and 0048.1 get reviewed before 4.4 release? They cover a good part of the Managed Topology 4.4 feature. On 06/17/2016 11:18 AM, Oleg Fayans wrote: One more test was added to the patch-0048 On

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-06-27 Thread Oleg Fayans
Hi guys, Is there a chance the patches NN 0047.1 and 0048.1 get reviewed before 4.4 release? They cover a good part of the Managed Topology 4.4 feature. On 06/17/2016 11:18 AM, Oleg Fayans wrote: > One more test was added to the patch-0048 > > On 06/17/2016 09:43 AM, Oleg Fayans wrote: >> Fixed

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-06-17 Thread Oleg Fayans
One more test was added to the patch-0048 On 06/17/2016 09:43 AM, Oleg Fayans wrote: > Fixed a bug in the previous patch, automated 2 more testcases from > http://www.freeipa.org/page/V4/Manage_replication_topology_4_4/Test_Plan > > On 06/16/2016 04:46 PM, Oleg Fayans wrote: >> >> >> > > >

Re: [Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-06-17 Thread Oleg Fayans
Fixed a bug in the previous patch, automated 2 more testcases from http://www.freeipa.org/page/V4/Manage_replication_topology_4_4/Test_Plan On 06/16/2016 04:46 PM, Oleg Fayans wrote: > > > -- Oleg Fayans Quality Engineer FreeIPA team RedHat. From 2b087b1dc64500d58e72296f287aabd82cbd011c Mon

[Freeipa-devel] [Test][Patch-0047] Added a test for Ticket N 5964

2016-06-16 Thread Oleg Fayans
-- Oleg Fayans Quality Engineer FreeIPA team RedHat. From debac0cf5cb24e1c2072d10373f4d9f72cb875a7 Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Thu, 16 Jun 2016 16:45:03 +0200 Subject: [PATCH] Automated clean-ruv subcommand test