RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1816848 - Database links: get_monitor() takes 1 positional argument but 2 were given
Summary: Database links: get_monitor() takes 1 positional argument but 2 were given
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 8.0
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-24 21:35 UTC by mreynolds
Modified: 2020-11-04 03:08 UTC (History)
5 users (show)

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:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:07:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 3695 0 None closed Database links: get_monitor() takes 1 positional argument but 2 were given 2020-12-01 11:08:14 UTC
Red Hat Product Errata RHEA-2020:4695 0 None None None 2020-11-04 03:07:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.