Re: Unable to promote a replica

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looks like there might be some patch missing on the 1.4.4 branch because dsconf should not be trying to create the changelog.  Can you provide this info:

# rpm -qa | grep 389

Most likely this is a bug, but for now you can use ldapmodify (from our older docs):

https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/managing_replication-making_a_replica_updatable

--> you can skip the changelog part

HTH,

Mark

On 8/2/21 7:19 PM, John Thurston wrote:
I've installed 389-Directory 1.4 on CentOS 8 from EPEL
  https://directory.fedoraproject.org/docs/389ds/download.html
it looks like I have 1.4.4

Today's problem is I'm unable to promote a replica from a 'consumer' to a 'supplier'. I've tried using the cockpit web-gui, as well as dsconf from the command line.

When using cockpit, I get a error box containing:

Failed to promote replica - Failed to create changelog: {'msgtype': 105, 'msgid': 9, 'result': 53, 'desc': 'Server is unwilling to perform', 'ctrls': [], 'info': 'Changelog configuration is part of the backend configuration'}

when using dnsconf, it returns (essentially) the same thing:

Error: Failed to create changelog: {'msgtype': 105, 'msgid': 9, 'result': 53, 'desc': 'Server is unwilling to perform', 'ctrls': [], 'info': 'Changelog configuration is part of the backend configuration'}

When I look in the audit-log, I see:
time: 20210802150607
dn: cn=changelog5,cn=config
result: 53
changetype: add
objectClass: top
objectClass: nsChangelogConfig
cn: changelog5
nsslapd-changelogdir: /var/lib/dirsrv/slapd-dirmaster/changelogdb
creatorsName: cn=Directory Manager
modifiersName: cn=Directory Manager
createTimestamp: 20210802230607Z
modifyTimestamp: 20210802230607Z

When I look in the error-log, I see NSMMReplicationPlugin is throwing a NOTICE error message:

NOTICE - NSMMReplicationPlugin - changelog program - changelog5_config_add - Separate changelog no longer supported; use cn=changelog,<backend> instead


I interpret these to mean dsconf is trying to define the the attribute "nsslapd-changelogdir" on cn=changelog5,cn=config. And that the replication plugin is saying, "Not so fast there, cowboy. That's not the way it is done any more."


What is the correct process to promote a replica?


--
Directory Server Development Team
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux