[Samba] [PATCH] Re: Failing replication

Andrew Bartlett abartlet at samba.org
Fri Feb 28 20:10:28 UTC 2020


I'm pretty swamped with other community support issues, which is why it
is taking so long to get back to you.

It would at least be interesting to see the results after you apply
this patch (on master, but might backport cleanly). 

If it works for you (in terms of giving useful information) I'll
propose it for a future Samba version.  Still not a fix for the actual
issue, but it might tell us what is going on.

Thanks,

Andrew Bartlett

On Mon, 2020-02-24 at 08:29 +0100, Alexander Harm via samba wrote:
> Hi Andrew,
> 
> thanks for your feedback. What are my options now? Nuke the whole thing?
> 
> Alexander
> 
> 
> 
> 
> On 24. February 2020 at 02:08:02, Andrew Bartlett via samba (samba at lists.samba.org) wrote:
> 
> G'Day Alexander,  
> 
> This is looking trickier than I had hoped. I don't think the patch I  
> included is the right approach, and I can't reproduce what I thought  
> was the issue on master.  
> 
> I've added a test in MR  
> https://gitlab.com/samba-team/samba/-/merge_requests/1128 but that just  
> shows that what we were doing still works, so it isn't terribly useful  
> in your case.  
> 
> I'm sorry that I don't have a really good next step, something DB-  
> specific appears to be going on, particularly as you then get another  
> error once we fix this one.  
> 
> Sorry!  
> 
> Andrew Bartlett  
> 
> On Sat, 2020-02-08 at 12:29 +1300, Andrew Bartlett via samba wrote:  
> > Thanks. At this stage is looks like a bug in the repl_meta_data  
> > module.  
> >  
> > Try the attached patch.  
> >  
> > Can I name you in the bug and is there any affiliation (eg employer)  
> > you would like named?  
> >  
> > I've filed a bug and will file a merge request once I have a test to  
> > confirm this.  
> >  
> > https://bugzilla.samba.org/show_bug.cgi?id=14272  
> >  
> > Thanks!  
> >  
> > Andrew Bartlett  
> >  
> > On Fri, 2020-02-07 at 23:34 +0100, Alexander Harm via samba wrote:  
> > > Hi,  
> > >  
> > > as instructed I upgraded to “Version 4.11.6-Debian”.  
> > >  
> > > Attached the new debug file.  
> > >  
> > > Regards, Alexander  
> > >  
> > >  
> > >  
> > >  
> > > On 7. February 2020 at 10:01:02, Andrew Bartlett via samba (  
> > > samba at lists.samba.org) wrote:  
> > >  
> > > I would fix that first, please run Samba 4.11.  
> > >  
> > > We have done much on replication since then and I'm keen to rule  
> > > out  
> > > things we have already fixed before digging into this further.  
> > >  
> > > Thanks!  
> > >  
> > > Andrew Bartlett  
> > >  
> > > On Fri, 2020-02-07 at 09:55 +0100, Alexander Harm via samba  
> > > wrote:  
> > > > Version 4.9.5-Debian  
> > > >  
> > > >  
> > > >  
> > > >  
> > > > On 7. February 2020 at 09:55:02, Andrew Bartlett via samba (  
> > > > samba at lists.samba.org) wrote:  
> > > >  
> > > > Much better. What Samba version is this?  
> > > >  
> > > > Andrew Bartlett  
> > > >  
> > > > On Fri, 2020-02-07 at 09:44 +0100, Alexander Harm via samba  
> > > > wrote:  
> > > > > Is this better?  
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > > On 7. February 2020 at 09:42:01, Andrew Bartlett via samba (  
> > > > > samba at lists.samba.org) wrote:  
> > > > >  
> > > > > I mean the final columns, not lines. There are long lines that  
> > > > > seem to  
> > > > > be cut off mid-word, rather than wrapped.  
> > > > >  
> > > > > Andrew Bartlett  
> > > > >  
> > > > > On Fri, 2020-02-07 at 09:14 +0100, Alexander Harm via samba  
> > > > > wrote:  
> > > > > > I did but these are the last lines. It ends with “raise e”  
> > > > > > also in the shell.  
> > > > > >  
> > > > > > I also ran it on the other DCs and they all end with “raise  
> > > > > > e”.  
> > > > > >  
> > > > > > Alexander  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > > On 7. February 2020 at 09:12:02, Andrew Bartlett (  
> > > > > > abartlet at samba.org) wrote:  
> > > > > >  
> > > > > > G'Day Alexander,  
> > > > > >  
> > > > > > It looks like you have copied the logs out of a terminal and  
> > > > > > lost the  
> > > > > > ends of the lines. Those have the critical (groan...) details  
> > > > > > of what  
> > > > > > went wrong with the apparent 'critical extension' failure.  
> > > > > >  
> > > > > > Can you try and get those and I'll look at them tomorrow.  
> > > > > >  
> > > > > > Thanks!  
> > > > > >  
> > > > > > Andrew Bartlett  
> > > > > >  
> > > > > > On Fri, 2020-02-07 at 08:56 +0100, Alexander Harm via samba  
> > > > > > wrote:  
> > > > > > > Hi Andrew,  
> > > > > > >  
> > > > > > > thanks for your reply. Find attached the output of the  
> > > > > > > command. Looks like it fails on renaming an object to me.  
> > > > > > >  
> > > > > > > Regards, Alexander  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > > On 7. February 2020 at 08:50:02, Andrew Bartlett via samba  
> > > > > > > (samba at lists.samba.org) wrote:  
> > > > > > >  
> > > > > > > On Wed, 2020-02-05 at 23:41 +0100, Alexander Harm via samba  
> > > > > > > wrote:  
> > > > > > > > Hello,  
> > > > > > > >  
> > > > > > > > we could need some help resolving a replication issue we  
> > > > > > > > experience since one week.  
> > > > > > > >  
> > > > > > > > Running samba-tool drs replicate ka-h9-dc02 VMDC-AZURE-01  
> > > > > > > > dc=ds,dc=example,dc=com --sync-all -d 9 returns  
> > > > > > >  
> > > > > > >  
> > > > > > > Do that again with --local and we should get a better set  
> > > > > > > of info in  
> > > > > > > the logs.  
> > > > > > >  
> > > > > > > Andrew Bartlett  
> > > > > > > --  
> > > > > > > Andrew Bartlett http://samba.org/~abartlet/   
> > > > > > > Authentication Developer, Samba Team http://samba.org   
> > > > > > > Samba Developer, Catalyst IT  
> > > > > > > http://catalyst.net.nz/services/samba   
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > >  
> > > > > > --  
> > > > > > Andrew Bartlett http://samba.org/~abartlet/   
> > > > > > Authentication Developer, Samba Team http://samba.org   
> > > > > > Samba Developer, Catalyst IT  
> > > > > > http://catalyst.net.nz/services/samba   
> > > > > >  
> > > > > >  
> > > > >  
> > > > > --  
> > > > > Andrew Bartlett http://samba.org/~abartlet/   
> > > > > Authentication Developer, Samba Team http://samba.org   
> > > > > Samba Developer, Catalyst IT  
> > > > > http://catalyst.net.nz/services/samba   
> > > > >  
> > > > >  
> > > > >  
> > > > > --  
> > > > > To unsubscribe from this list go to the following URL and read  
> > > > > the  
> > > > > instructions: https://lists.samba.org/mailman/options/samba   
> > > >  
> > > > --  
> > > > Andrew Bartlett http://samba.org/~abartlet/   
> > > > Authentication Developer, Samba Team http://samba.org   
> > > > Samba Developer, Catalyst IT  
> > > > http://catalyst.net.nz/services/samba   
> > > >  
> > > >  
> > > >  
> > > > --  
> > > > To unsubscribe from this list go to the following URL and read  
> > > > the  
> > > > instructions: https://lists.samba.org/mailman/options/samba   
> > >  
> > > --  
> > > Andrew Bartlett http://samba.org/~abartlet/   
> > > Authentication Developer, Samba Team http://samba.org   
> > > Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba   
> > >  
> > >  
> > >  
> > >  
> > > --  
> > > To unsubscribe from this list go to the following URL and read  
> > > the  
> > > instructions: https://lists.samba.org/mailman/options/samba   
> --  
> Andrew Bartlett  
> https://samba.org/~abartlet/  
> Authentication Developer, Samba Team https://samba.org  
> Samba Development and Support, Catalyst IT - Expert Open Source  
> Solutions  
> https://catalyst.net.nz/services/samba  
> 
> 
> 
> 
> 
> 
> 
> --  
> To unsubscribe from this list go to the following URL and read the  
> instructions: https://lists.samba.org/mailman/options/samba  
-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Add-very-verbose-debugging-if-a-delete-fails-in.patch
Type: text/x-patch
Size: 2501 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20200229/55542149/0001-dsdb-Add-very-verbose-debugging-if-a-delete-fails-in.bin>


More information about the samba mailing list