Bug 750524

Summary: Better error message needed to indicate if there is no CS replication agreement with another server
Product: Red Hat Enterprise Linux 6 Reporter: Namita Soman <nsoman>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: dpal, grajaiya, jgalipea, mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-1.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:15:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 756082    

Description Namita Soman 2011-11-01 13:31:04 UTC
Description of problem:
If there is no CS replication agreement between 2 servers, any action to delete it, indicates that it cannot contact the LDAP server. Should instead say - that there is no replication agreement with the server.


Version-Release number of selected component (if applicable):
ipa-server-2.1.3-6.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.install master, replica
do not install CS on replica

2.Remove replication agreement about Replica, where there isn’t one
# ipa-csreplica-manage del ipa-replica.testrelm -p XXX 

  
Actual results:
Error:
Unable to delete replica ipa-replica.testrelm: Can't contact LDAP server

Expected results:
Error:
No replication agreement with XXX

Additional info:

Comment 2 Dmitri Pal 2011-11-01 17:48:52 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2048

Comment 5 Gowrishankar Rajaiyan 2012-03-08 07:05:29 UTC

:: [   PASS   ] :: Running 'remoteExec root 10.16.98.181 redhat "ipa-replica-manage del ipaqavma.testrelm.com"'
:: [   PASS   ] :: Running 'egrep "'ipaqavmd.testrelm.com' has no replication agreement for 'ipaqavma.testrelm.com'" /tmp/remote_exec.out'
...
:: [   PASS   ] :: Running 'remoteExec root 10.16.98.181 redhat "ipa-csreplica-manage del ipaqavma.testrelm.com -p Secret123"'
:: [   PASS   ] :: Running 'egrep "'ipaqavmd.testrelm.com' has no replication agreement for 'ipaqavma.testrelm.com'" /tmp/remote_exec.out'

Verified: ipa-server-2.2.0-3.el6.x86_64

Comment 7 Martin Kosek 2012-04-19 11:24:45 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 9 errata-xmlrpc 2012-06-20 13:15:54 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0819.html