[Freeipa-devel] [PATCH 0327] KRA: fix check if CA is installed on replica

Martin Basti mbasti at redhat.com
Tue Oct 27 09:43:13 UTC 2015



On 26.10.2015 10:35, Martin Babinsky wrote:
> On 10/23/2015 05:18 PM, Martin Basti wrote:
>>
>>
>> On 23.10.2015 15:15, Martin Babinsky wrote:
>>> On 10/23/2015 03:12 PM, Martin Babinsky wrote:
>>>> On 10/16/2015 12:41 PM, Martin Basti wrote:
>>>>> https://fedorahosted.org/freeipa/ticket/5345
>>>>>
>>>>> Patch attached.
>>>>>
>>>>>
>>>> I have tested it on 4-2 branch and it works as expected, ACK.
>>>>
>>>> Obviously, master branch would require a different patch.
>>>>
>>>
>>> I actually missed your check in ipaserver/install/kra.py which can
>>> break ipa-replica-install with --setup-kra, so NACK.
>>>
>> Updated patches attached.
>
> NACK on the master-branch patch.
>
> You forgot a 'return' in this code snippet:
>
> +        if self.installing_replica:
> +            domain_level = dsinstance.get_domain_level(api)
> +            if domain_level > DOMAIN_LEVEL_0:
> +                self.options.promote = True
> +                return
>
> that would make installation abort when domain level is greter than zero.
>
Updated patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0327.3-KRA-fix-check-that-CA-is-installed.patch
Type: text/x-patch
Size: 3345 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151027/7dbe636a/attachment.bin>


More information about the Freeipa-devel mailing list