[Freeipa-devel] [PATCH 0166] Workaround: warning if CA did not start at end of upgrade instead of raising error

Martin Basti mbasti at redhat.com
Wed Nov 19 09:17:03 UTC 2014


On 18/11/14 22:01, Martin Kosek wrote:
> On 11/18/2014 08:20 PM, Martin Basti wrote:
>> Ticket: https://fedorahosted.org/freeipa/ticket/4676
>>
>> Attached patches:
>>
>> * Version A: uses wget to get status of CA
>> * Version B: write warning instead of raising exception (error is false
>> positive, CA is running)
>>
>> I'm open to suggestions which approach is better
>>
>> Martin^2
>>
>
> I like A, but I am concerned why you suddenly ignore the use_proxy 
> option. I added it for a reason as it affects to which port we need to 
> connect, regardless the transport library. See
>
> https://fedorahosted.org/freeipa/ticket/3973
>
> where I added this option.
>
> Second, I am not happy by you duplicating the XML parsing code, I 
> would rather see it splited in dogtag.py in separate 
> "_ca_status_parse" or similar function call.
>
> Given the obstacles, I am inclining for
> - pushing B as a safe fix for Fedora 21 Final
> - fixing issues in A and pushing it for minor release after that to 
> avoid the nasty warning and have some reasonable medium-term fix until 
> the framework migrates to something better than httpslib, line 
> python-requests maybe.
>
> Martin
Sounds good to me.

Patch required for F21 attached. (with proper number)
I will send the second patch after release for fedora (or should I sooner?)
Martin^2

-- 
Martin Basti

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0166-Show-warning-instead-of-error-if-CA-did-not-start.patch
Type: text/x-patch
Size: 1165 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20141119/e5f14ec7/attachment.bin>


More information about the Freeipa-devel mailing list