[PATCH] python indent bugfix in dns_hub.py

Jeremy Allison jra at samba.org
Wed Jan 23 18:15:12 UTC 2019


On Wed, Jan 23, 2019 at 07:06:21PM +0100, Stefan Metzmacher wrote:
> Am 23.01.19 um 02:07 schrieb Jeremy Allison via samba-technical:
> > On Wed, Jan 23, 2019 at 12:54:21PM +1300, Tim Beale wrote:
> >> I looked more closely at the failed logs. It appears that the slow DNS
> >> reply is not because the DC has only just started up.
> >>
> >> E.g. in Isaac's log, the very first test case is run successfully
> >> against the fl2000dc. It's not until ~24 minutes later that we try to
> >> start the vampire_2000_dc and join it to fl2000dc.
> >> https://gitlab.com/samba-team/devel/samba/-/jobs/148388249
> >>
> >> So I don't think putting a check in wait_for_start() would help avoid
> >> this problem.
> 
> I saw problems with the wait_for_start() of vampire_*_dc itself.
> And the problem is that it hasn't registered its own names yet.
> But we seem to have multiple problems here...
> 
> > 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 ?
> 
> If we really want retries we should have them at the C code layer.
> E.g. the dns lookup code, glibc seems to try 3 queries with a timeout
> of 5 seconds by default.

Actually that's the easier fix (at least for me :-). Depends
where you want the retries though. I think Volker needs to
weigh in on this before we change anything though.



More information about the samba-technical mailing list