[Freeipa-devel] [PATCH] Proper fix for ticket 5306

Oleg Fayans ofayans at redhat.com
Thu Oct 1 12:43:48 UTC 2015


Hi Martin,

On 10/01/2015 11:18 AM, Martin Basti wrote:
>
>
> On 09/30/2015 01:24 PM, Martin Basti wrote:
>>
>>
>> On 09/30/2015 12:19 PM, Oleg Fayans wrote:
>>>
>>>
>>> On 09/30/2015 11:46 AM, Petr Spacek wrote:
>>>> On 29.9.2015 09:12, Oleg Fayans wrote:
>>>>> +def prepare_reverse_zone(host, ip):
>>>>> +    zone = get_reverse_zone_default(ip)
>>>>> +    host.run_command(["ipa",
>>>>> +                      "dnszone-add",
>>>>> +                      zone,
>>>>> +                      "--name-from-ip=%s" % ip], raiseonerr=False)
>>>>
>>>> There is probably no point in specifying --name-from-ip because you
>>>> did that
>>>> already by calling get_reverse_zone_default(ip).
>>>
>>> Agree. Fixed
>>>
>>>>
>>>> Anyway, I'm not sure that this
>>>>> +    prepare_reverse_zone(master, replica.ip)
>>>> will not break if the reverse zone already exists (think about case
>>>> where two
>>>> or more replicas are in the same subnet).
>>>
>>> That's why I am using the raiseonerr=False here.
>>>
>>>>
>>>> I did not test the code, I simply do not have time for it right now.
>>>>
>>>
>>>
>>>
>>  LGTM, I will test it soon, but it needs rebase for ipa-4-2 branch
>>
>>
> ACK, please send rebased version for ipa-4-2

Here it is

-- 
Oleg Fayans
Quality Engineer
FreeIPA team
RedHat.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-ofayans-0007.3-Added-a-proper-workaround-for-dnssec-test-failures_4-2.patch
Type: text/x-patch
Size: 2592 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151001/e6fcbc28/attachment.bin>


More information about the Freeipa-devel mailing list