[Pki-devel] [PATCH] 131 - Fix tests in pkispawn to use legacy URLs.

Endi Sukma Dewata edewata at redhat.com
Sat May 4 14:16:52 UTC 2013


On 5/4/2013 2:45 AM, Ade Lee wrote:
> Here's the changelog:
>
>      When setting up clones or non-CA subsystems, pkispawn checks if
>      the security domain is accessible and if the user can log in.
>      These calls invoke REST URIs, which are not available on older
>      subsystems.  To support these subsystems, we need to attempt the
>      older legacy servlets if the REST APIs are not available.
>
>      Ticket #604
>
> This is breaking IPA replica installs because the new URLs are not
> exposed through the proxy config.  Even if this is fixed, it will be
> broken for old servers.
>
> The output of getDomainXML is pretty messed up and I'll open a ticket to
> fix it, but given that it appears to be parsed correctly wherever its
> being used, we can fix it later when we have time to test everything.

Question, on Dogtag 9 instance wouldn't all REST calls return 501 (Not 
Implemented)? So when calling the login() should we check for 501 
instead of 404? Or are we dealing with 2 possible Dogtag 9 instances: 
upgraded and not?

Another possible solution is to return the server version in the 
DomainInfo, then if it's not version 10 we skip the login() call.

Everything else looks fine. If this turns out to be not an issue, ACK.

-- 
Endi S. Dewata




More information about the Pki-devel mailing list