Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dsctl should support 'enable-repl' action #2843

Open
389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Open

dsctl should support 'enable-repl' action #2843

389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/49784


Issue Description

Lib389 'replica' should support enableReplication like it was before the enhancement https://pagure.io/389-ds-base/issue/49516.

EnableReplication is a low level interface that is useful to write specific tests. It could be used for higher level interface like create_first_master.

In addition 'dsctl' should provide a way to call enableReplication

Package Version and Platform

1.4

Steps to reproduce

Call to enableReplication is now failing to enable replication on a master

Actual results

enableReplication fails

Expected results

enableReplication fails and 'dsctl' should call it on 'enable-repl'

@389-ds-bot 389-ds-bot added this to the 1.4.4 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-06-15 20:55:14

I agree with the proposal. :)
A couple of thoughts:

  • I think we can add method enable_replication(instance, role, replicaid, properties) to ReplicationManager class. We will use it in other methods like create_firt_master(), join_master(), etc.
    properties will contain replica attributes we want to use instead of the default ones.
    If the caller explicitly specifies nsDS5ReplicaBindDN or nsDS5ReplicaBindDNGroup, we don't create the default user/group (so the user must create it by himself).
  • dsconf probably would be better for the replica configuration. As I see our CLI tools, dsclt is for controlling existing instance not for configuring.

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2018-06-15 20:55:15

Metadata Update from @droideck:

  • Custom field component adjusted to None
  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to None
  • Custom field type adjusted to None
  • Custom field version adjusted to None

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-06-21 17:51:41

Metadata Update from @mreynolds389:

  • Issue set to the milestone: 1.4.0

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2018-10-23 17:01:28

dsconf now fully supports replication, fyi...

@389-ds-bot
Copy link
Author

Comment from vashirov (@vashirov) at 2020-02-19 16:22:51

Metadata Update from @vashirov:

  • Issue priority set to: minor
  • Issue set to the milestone: 1.4.4 (was: 1.4.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant