On 07/01/2015 10:49 AM, Martin Basti wrote:
> On 30/06/15 18:02, Fraser Tweedale wrote:
>> On Mon, Jun 29, 2015 at 05:56:11PM +0200, Martin Basti wrote:
>>> On 29/06/15 16:03, Fraser Tweedale wrote:
>>>> On Thu, Jun 25, 2015 at 11:23:01AM +0200, Martin Basti wrote:
>>>>> On 19/06/15 09:28, Fraser Tweedale wrote:
>>>>>> The attached patches fix upgrade issues when pki is also updated
>>>>> >from pre 10.2.4.
>>>>>> pki dependency is bumped to 10.2.5 - the official builds should be
>>>>>> done Friday (US time) but it is available from my copr[1].  If
>>>>>> someone wants to add to official freeipa COPR in meantime the SRPM
>>>>>> is here[2].
>>>>>>
>>>>>> [1] https://copr.fedoraproject.org/coprs/ftweedal/freeipa/
>>>>>> [2]
>>>>>> https://ftweedal.fedorapeople.org/pki-core-10.2.5-0.2.fc21.src.rpm
>>>>>>
>>>>>> Thanks,
>>>>>> Fraser
>>>>>>
>>>>>>
>>>>> Thank you.
>>>>>
>>>>> 1)
>>>>> I cannot apply patches.
>>>>>
>>>> Rebased patches attached.
>>>>
>>>>> 2)
>>>>> IMO patch 0020 was fixed with my patch 266
>>>>>
>>>> It seems we are hitting another case of LDAP disconnection during
>>>> upgrade; without 0020 the upgrade fails.  There might be a better
>>>> way so let me know if you have ideas.
>>>>
>>>>> 3)
>>>>> This print should not be there
>>>>> +
>>>>> +    print cs_cfg
>>>>> +    for profile_id in profile_ids:
>>>>>
>>>> Thakns; removed.
>>>>
>>>>> 4)
>>>>> This is unused variable,  it is defined later
>>>>> +   cs_cfg = None
>>>>>
>>>> Thanks; removed.
>>>>
>>>>> 5)
>>>>> Can you add there log.error or log.debug instead of pass please?
>>>>> +        # enable the profile
>>>>> +        try:
>>>>> +            profile_api.enable_profile(profile_id)
>>>>> +        except errors.RemoteRetrieveError:
>>>>> +            pass
>>>>>
>>>> You've got it.  Also did this a few lines up where the profile is
>>>> disabled.
>>>>
>>>>> I will test it later.
>>>>>
>>>>> -- 
>>>>> Martin Basti
>>>>>
>>>> Thank you,
>>>> Fraser
>>> PATCH 0020 - NACK see my patch 269, it fixes root cause. (IMO with
>>> reworked
>>> patch 21 it is not needed)
>>>
>>> PATCH 0021 - NACK, it runs whole upgrade machinery again. Patch how
>>> to fix
>>> it is attached. Sorry I didn't notice it last time.
>>>
>>> PATCH 0022 - LGTM
>>>
>>>
>>> -- 
>>> Martin Basti
>>>
>> Thank you very much!
>>
>> Your patch to my patch works perfectly.  I squashed it into 0021.
>> Patch 0020 rescinded.  Rebased patches attached.
>>
>> Cheers,
>> Fraser
> Thank you, ACK for both patches.
> 

Pushed to master: 3827137b32756f5b23092adb573c5e254b007c14

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to