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 827489 - ipa-csreplica-manage connect/disconnect options provide inconsistent results
Summary: ipa-csreplica-manage connect/disconnect options provide inconsistent results
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-01 15:25 UTC by Kashyap Chamarthy
Modified: 2016-01-29 13:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-29 13:00:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kashyap Chamarthy 2012-06-01 15:25:15 UTC
Here is the test scenario:
-----------------------------------------------------------------------------
Master -- neptune ; Replica-1 -- mars ; Replica-2 -- silverbolt ; Replica-3 -- uranus
-----------------------------------------------------------------------------
1] Create Master (neptune)
1.1] Create replica files for Replica-1(mars) and Replica-2(silverbolt). And scp them to
respective machines.

2] On Replica-1(mars): Do a replica install *without* '--setup-ca'

3] On Replica-2(silverbolt): Do a replica install with '--setup-ca'
3.1] Generate a replica file on Replica-2 for Replica-3(uranus)

4] On Replica-3(uranus): Do a replica install with '--setup-ca'
-----------------------------------------------------------------------------

This test is between Replica-2(silverbolt) and Replica-3(uranus):

-> list the agreemtns on Replica-2
=====================
[root@silverbolt slapd-LAB-ENG-PNQ-REDHAT-COM]# ipa-csreplica-manage list -p Secret123
silverbolt.lab.eng.pnq.redhat.com
neptune.lab.eng.pnq.redhat.com
uranus.lab.eng.pnq.redhat.com
=====================

-> Let's do a 'connect' purposefully  (also note: the --verbose doesn't provide any extra
info) on uranus(Replica3)
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose -p Secret123 connect
silverbolt.lab.eng.pnq.redhat.com uranus.lab.eng.pnq.redhat.com
This replication agreement already exists.
=====================

-> Since the replication agreement already exists, let's try to 'disconnect' it. Deleted.
Expected.
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose -p Secret123 disconnect
silverbolt.lab.eng.pnq.redhat.com uranus.lab.eng.pnq.redhat.com
Deleted replication agreement from 'silverbolt.lab.eng.pnq.redhat.com' to
'uranus.lab.eng.pnq.redhat.com'
=====================

-> Let's try to list the agreements of uranus. None. Expected.
=====================
[root@uranus ~]# ipa-csreplica-manage list -p Secret123 uranus.lab.eng.pnq.redhat.com
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose list -p Secret123
uranus.lab.eng.pnq.redhat.com
[root@uranus ~]#
=====================

-> Now, let's try to 'connect' again (since we've disconnected it previously). But here:
it says the 'replication agreement already exists' . How?
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose -p Secret123 connect
silverbolt.lab.eng.pnq.redhat.com uranus.lab.eng.pnq.redhat.com
This replication agreement already exists.
[root@uranus ~]#
=====================

-> Since it says replication agreement exists in the previous command, let's try to
disconnect *again* :
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose -p Secret123 disconnect
silverbolt.lab.eng.pnq.redhat.com uranus.lab.eng.pnq.redhat.com
Cannot remove the last replication link of 'silverbolt.lab.eng.pnq.redhat.com'
Please use the 'del' command to remove it from the domain
[root@uranus ~]#
=====================

-> let's list all the servers for replication on 'uranus'(Replica-3)
=====================
[root@uranus ~]# ipa-csreplica-manage --verbose list -p Secret123
mars.lab.eng.pnq.redhat.com: CA not configured
neptune.lab.eng.pnq.redhat.com: master
silverbolt.lab.eng.pnq.redhat.com: master
uranus.lab.eng.pnq.redhat.com: master
[root@uranus ~]#
=====================

Comment 1 Kashyap Chamarthy 2012-06-01 15:34:39 UTC
Also to note: the --verbose option does not seem to have have any effect.

Comment 3 Rob Crittenden 2012-06-05 02:48:45 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2804

Comment 6 Martin Kosek 2016-01-29 13:00:11 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. Unfortunately, this bug was not given a priority and was deferred both in the upstream project and in Red Hat Enterprise Linux.

Given that we are unable to fulfill this request in following Red Hat Enterprise Linux releases, I am closing the Bugzilla as WONTFIX. To request that Red Hat re-considers the decision, please re-open the Bugzilla via appropriate support channels and provide additional business and/or technical details about its importance to you.

Note that you can still track this request or even contribute patches in the referred upstream Trac ticket.


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