On Mon, Jun 17, 2013 at 09:29:42AM +0200, Pavel Březina wrote:
On 06/16/2013 01:11 PM, Jakub Hrozek wrote:
>On Fri, Jun 14, 2013 at 02:16:00PM +0200, Jakub Hrozek wrote:
>>On Thu, Jun 13, 2013 at 05:54:35PM +0200, Jakub Hrozek wrote:
>>>On Thu, Jun 13, 2013 at 10:36:58AM +0200, Pavel Březina wrote:
>>>>
>>>
>>>> From fd446e6bf9d90b052946aa3eec3d535b25137ab8 Mon Sep 17 00:00:00 2001
>>>>From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina(a)redhat.com>
>>>>Date: Thu, 13 Jun 2013 10:32:31 +0200
>>>>Subject: [PATCH] failover: set state->out when meta server remains in
>>>> SRV_RESOLVE_ERROR
>>>>
>>>>https://fedorahosted.org/sssd/ticket/1886
>>>>---
>>>> src/providers/fail_over.c | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>>diff --git a/src/providers/fail_over.c b/src/providers/fail_over.c
>>>>index
12b6c37828b7da0e68579bbb94668c21574974f1..1d2813589495ebb2ff56e93cddaed9d5172e128e 100644
>>>>--- a/src/providers/fail_over.c
>>>>+++ b/src/providers/fail_over.c
>>>>@@ -1207,6 +1207,7 @@ resolve_srv_send(TALLOC_CTX *mem_ctx, struct
tevent_context *ev,
>>>> break;
>>>> case SRV_RESOLVE_ERROR: /* query could not be resolved but
don't retry yet */
>>>> ret = EIO;
>>>>+ state->out = server;
>>>> goto done;
>>>> case SRV_RESOLVED: /* The query is resolved and valid. Return. */
>>>> state->out = server;
>>>>--
>>>>1.7.11.7
>>>>
>>>
>>>ACK
>>
>>Pushed to master.
>
>Pavel, can you also check if the same bug is also present in 1.9 ? IIRC
>the user reported the bug against RHEL6 initially.
Hi,
yes, it is present in 1.9. The patch works for 1.9 as well.
Ah, for some reason I thought the SRV_RESOLVE_ERROR were the new error
codes introduced in 1.10.
Ack for 1.9 and pushed to sssd-1-9