[PATCH] python indent bugfix in dns_hub.py

Isaac Boukris iboukris at gmail.com
Wed Jan 23 09:43:34 UTC 2019

Hi Tim & Jeremy,

On Tue, Jan 22, 2019 at 11:11 PM Tim Beale <timbeale at catalyst.net.nz> wrote:
> Hi Isaac,
> I think what you're seeing is the same essential problem (slowness
> responding to the DNS query), it's just manifesting in a different way.
> In your case it looks like it's taking longer than 5 seconds, so the
> s.recv() times out. In my case, it's taking less than 5 seconds, so the
> s.recv() is OK, but the sock.sendto() fails (because the client has
> given up).

Note that the error I get locally isn't necessarily exactly the same
as the one I got on GitLab. I only noticed the same final error:
ERROR: Failed to find a writeable DC for domain 'SAMBA.EXAMPLE.COM':
The object name is not found.

See logs from my local machine on current master (which already
includes the increase of DNS_REQUEST_TIMEOUT) in attached
current_master.log file.

> You could try increasing the timeout dns_hub,py uses (e.g. attached).

I tried it anyway, but it didn't make any difference.

On Wed, Jan 23, 2019 at 3:07 AM Jeremy Allison <jra at samba.org> wrote:
> Here is my test python-retry patchset. As per Metze's instructions
> DO NOT PUSH ! :-).
> I'm running it in gitlab-ci right now, and wondered if you could
> see if it fixes Isaac's issues ?

I still get the same error on my local machine, with this patch
applied. See log in attached with_jras_patch.log file. Sorry. I'll try
to take a closer look into my local replica.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: current_master.log
Type: application/octet-stream
Size: 25580 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190123/285b1c86/current_master-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with_jras_patch.log
Type: application/octet-stream
Size: 25549 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190123/285b1c86/with_jras_patch-0001.obj>

More information about the samba-technical mailing list