Bug 2147524 - "dsctl instance healthcheck" shows for "replication set-changelog" gives a command that when run ends with a syntax error [NEEDINFO]
Summary: "dsctl instance healthcheck" shows for "replication set-changelog" gives a co...
Keywords:
Status: POST
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: 389-ds-base
Version: 11.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: LDAP Maintainers
QA Contact: LDAP QA Team
Evgenia Martynyuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-24 07:42 UTC by Eddy Resnick
Modified: 2023-07-28 08:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
mreynolds: needinfo? (eresnick)


Attachments (Terms of Use)

Description Eddy Resnick 2022-11-24 07:42:08 UTC
Description of problem:
Using "dsctl instance healthcheck" shows for "replication set-changelog" gives a command that when run ends with a syntax error

Version-Release number of selected component (if applicable):
RHDS 11 / RHEL 8.6

How reproducible:
Repeatedly

Steps to Reproduce:
1. Create an instance replicated with another server
2. Run "dsctl instance healthcheck"

Actual results:
The command give the syntax as follows with the output afterwards:

$ dsconf slapd-instance replication set-changelog --suffix dc=demo,dc=com --max-age 90d
usage: dsconf [-h] [-v] [-D BINDDN] [-w BINDPW] [-W] [-y PWDFILE] [-b BASEDN]
              [-Z] [-j]
              instance
              {backend,backup,chaining,config,directory_manager,monitor,plugin,pwpolicy,localpwp,replication,repl-agmt,repl-winsync-agmt,repl-tasks,sasl,security,schema,repl-conflict}
              ...
dsconf: error: unrecognized arguments: --suffix dc=demo,dc=com


Expected results:
That the set-changelog will be set accordingly.
The documentation in https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/administration_guide/trimming_the_replication_changelog works as expected.

Additional info:

Comment 1 mreynolds 2022-11-24 13:23:05 UTC
Yes this is a known regression first reported in https://bugzilla.redhat.com/show_bug.cgi?id=2147382

Fixed upstream, we will need to do a new build.

What is the "exact" version you are using?  11.6, 11.5?

Comment 2 mreynolds 2022-11-24 13:25:13 UTC
Upstream ticket

https://github.com/389ds/389-ds-base/issues/5443


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