Bug 1816848

Summary: Database links: get_monitor() takes 1 positional argument but 2 were given
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.2CC: pasik, sgouvern, spichugi, tbordaz, vashirov
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.3.8-2.module+el8.3.0+6591+ebfc9766 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:07:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mreynolds 2020-03-24 21:35:35 UTC
Description of problem:

Monitoring a database link  fails.

Package Version and Platform

389-ds-base-1.4.1.6-2.module+el8dsrv+3912+aa2ce078.x86_64
Steps to reproduce

    Create a database link
    Enter:

# dsconf -D "cn=Directory Manager" ldap://server.example.com chaining monitor test-link

Actual results

Error: get_monitor() takes 1 positional argument but 2 were given

Expected results

The monitoring output should be shown.
Additional information

Comment 1 mreynolds 2020-03-24 21:37:30 UTC
Upstream Ticket:

https://pagure.io/389-ds-base/issue/50640

Comment 4 sgouvern 2020-06-10 13:28:32 UTC
With build 389-ds-base-1.4.3.8-3.module+el8.3.0+6935+6f68b788.x86_64

Created a database link :
# ldapmodify -a -D "cn=Directory Manager" -w secret12 -p 1389 -h localhost -x
dn: cn=examplelink,cn=chaining database,cn=plugins,cn=config
changetype: add
objectclass: top
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: ou=people,dc=example,dc=com
nsfarmserverurl: ldap://10.0.138.143:1389/
nsMultiplexorBindDN: cn=proxy admin,cn=config
nsMultiplexorCredentials: secret12
cn: examplelink

adding new entry "cn=examplelink,cn=chaining database,cn=plugins,cn=config"

Called dsconf chaining monitoring :
# dsconf -D "cn=Directory Manager" ldap://10.0.138.60:1389/ chaining monitor examplelink
Enter password for cn=Directory Manager on ldap://10.0.138.60:1389/: 
dn: cn=monitor,cn=examplelink,cn=chaining database,cn=plugins,cn=config
nsaddcount: 0
nsdeletecount: 0
nsmodifycount: 0
nsrenamecount: 0
nssearchbasecount: 0
nssearchonelevelcount: 0
nssearchsubtreecount: 0
nsabandoncount: 0
nsbindcount: 0
nsunbindcount: 0
nscomparecount: 0
nsopenopconnectioncount: 0
nsopenbindconnectioncount: 0

No error returned, monitoring output correctly displayed 
-> marking as verified

Comment 7 errata-xmlrpc 2020-11-04 03:07:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (389-ds:1.4 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4695