Description of problem: The RHDS Console is failing to load the replication configuration. The JS Console shows: ============================================================= CMD: loadReplSuffix: Load the replication info ==> dsconf -j ldapi://%2fvar%2frun%2fslapd-supplier_1.socket replication get-changelog --suffix o=test VM62:1 Uncaught SyntaxError: Unexpected token 'u', "usage: dsc"... is not valid JSON at JSON.parse (<anonymous>) at Function.<anonymous> (index.js:2:2030486) at cockpit.js:1:12867 at cockpit.js:1:12978 at L (cockpit.js:1:12383) ============================================================= Version-Release number of selected component (if applicable): $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.7 (Ootpa) $ $ rpm -qa | grep 389-ds 389-ds-base-libs-1.4.3.31-6.module+el8dsrv+16980+c4b9cd33.x86_64 cockpit-389-ds-1.4.3.31-6.module+el8dsrv+16980+c4b9cd33.noarch 389-ds-base-1.4.3.31-6.module+el8dsrv+16980+c4b9cd33.x86_64 $ How reproducible: Always Steps to Reproduce: 1. Launch the RHDS Console 2. Select the Replication tab 3. The page will show a running spinner and will fail to load the replication data Actual results: Cannot see the replication configuration with the RHDS Console. Expected results: Working Web UI. Additional info: The command is failing because of the option --suffix: $ dsconf -j ldapi://%2fvar%2frun%2fslapd-supplier_1.socket replication get-changelog --suffix o=test 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 o=test $ It works fine without that option: $ dsconf -j ldapi://%2fvar%2frun%2fslapd-supplier_1.socket replication get-changelog { "type": "entry", "dn": "cn=changelog5,cn=config", "attrs": { ... $
It's a regression from: https://github.com/389ds/389-ds-base/issues/5443 It should not be using the "--suffix" option on 1.4.3
Fixed upstream
Fix pushed upstream => POST
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 (redhat-ds:11 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/RHBA-2023:0186