Bug 53183 - Directly after update from 4.4-8 to UCS 5.0-0 samba-tool drs showrepl returns error message
Directly after update from 4.4-8 to UCS 5.0-0 samba-tool drs showrepl returns...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Arvid Requate
Felix Botner
: interim-1
: 53164 (view as bug list)
Depends on: 49898
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-28 12:30 CEST by Arvid Requate
Modified: 2021-05-27 10:43 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2021-04-28 12:30:44 CEST
Directly after update from 4.4-7 to UCS 5.0-0 samba-drs showrepl returns this error message, e.g. on a Backup Directory Node:

root@backup61:~# samba-tool drs showrepl && echo ok
ERROR(runtime): DsReplicaGetInfo of type 0 failed - (3221356597, 'The operation cannot be performed.')
root@backup61:~#

A samba restart fixes this.
Comment 1 Arvid Requate univentionstaff 2021-04-28 15:41:26 CEST
-d10

rpc fault: DCERPC_FAULT_CANT_PERFORM
ERROR(runtime): DsReplicaGetInfo of type 0 failed - (3221356597, 'The operation cannot be performed.')
  File "/usr/lib/python3/dist-packages/samba/netcmd/drs.py", line 184, in get_neighbours
    self.drsuapi_handle, 1, req1)


log.samba:
[2021/04/28 15:29:47.783075,  0, pid=31443] ../../source4/rpc_server/common/forward.c:55(dcesrv_irpc_forward_callback)
  IRPC callback failed for DsReplicaGetInfo - NT_STATUS_OBJECT_NAME_NOT_FOUND
Comment 2 Arvid Requate univentionstaff 2021-04-28 15:44:58 CEST
8105737e99 | Restart samba in postup if drs showrepl fails

Package: univention-updater
Version: 15.0.3-50A~5.0.0.202104281540
Branch: ucs_5.0-0
Comment 3 Arvid Requate univentionstaff 2021-04-28 15:45:15 CEST
8105737e99 | Restart samba in postup if drs showrepl fails

Package: univention-updater
Version: 15.0.3-50A~5.0.0.202104281540
Branch: ucs_5.0-0
Comment 4 Arvid Requate univentionstaff 2021-05-04 23:41:39 CEST
*** Bug 53164 has been marked as a duplicate of this bug. ***
Comment 5 Felix Botner univentionstaff 2021-05-06 11:21:19 CEST
OK 4.4-8 primary and backup with univention-samba updated to 5.0-0, drs replication works after update
Comment 6 Florian Best univentionstaff 2021-05-25 16:01:15 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".