Bug 824491

Summary: [Doc]Setup IPA Replica of different version than Master failed
Product: Red Hat Enterprise Linux 6 Reporter: Dmitri Pal <dpal>
Component: doc-Identity_Management_GuideAssignee: Deon Ballard <dlackey>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: dpal, jskeoch, mkosek, spoore
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 819110 Environment:
Last Closed: 2012-07-09 20:34:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 819110    
Bug Blocks:    

Description Dmitri Pal 2012-05-23 15:21:04 UTC
+++ This bug was initially created as a clone of Bug #819110 +++

This bug is to track the doc effort that this functionality is not supported.

---------------------------------------------

Description of problem:

Trying to test something else, I ran into a problem when trying to have one IPA server on RHEL 6.2 and another on 6.3.   I tried both master=6.3/replica=6.2 and master=6.2/replica=6.3.   I'll have to re-run the tests to get the latter error but, I believe it was the same as the former which I have here:

I setup a RHEL 6.3 IPA Master.   Then I tried to setup a RHEL 6.2 Replica
but, the install fails.  However, during install, I do see some errors but, not
the invalid syntax ones.   Could those be from multiple re-install attempts?

### On MASTER:
# ipa-replica-prepare -p $ADMINPW --ip-address=$SLAVEIP $hostname_s.$DOMAIN

### On REPLICA:
# ipa-replica-install -U --setup-dns --forwarder=$DNSFORWARD --setup-ca -w
$ADMINPW -p $ADMINPW /dev/shm/replica-info-$hostname_s.$DOMAIN.gpg

...looked normal until the following error:

  [29/29]: configuring directory to start on boot
done configuring dirsrv.
creation of replica failed: [Errno 2] No such file or directory:
'/tmp/tmp1O5dxFipa/realm_info/ldappwd'

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.


Version-Release number of selected component (if applicable):
master=2.2.0-12 from RHEL 6.3
replica=2.1.3-9 from RHEL 6.2

How reproducible:
always

Steps to Reproduce:
On MASTER (RHEL 6.3):
1.  <setup rhel 6.3 master>
2.  ipa-replica-prepare -p $ADMINPW --ip-address=$SLAVEIP $hostname_s.$DOMAIN
On REPLICA (RHEL 6.2)
3.  sftp root@$MASTERIP:/var/lib/ipa/replica-info-$hostname_s.$DOMAIN.gpg
4.  ipa-replica-install -U --setup-dns --forwarder=$DNSFORWARD --setup-ca -w
$ADMINPW -p $ADMINPW /dev/shm/replica-info-$hostname_s.$DOMAIN.gpg

Actual results:

  [29/29]: configuring directory to start on boot
done configuring dirsrv.
creation of replica failed: [Errno 2] No such file or directory:
'/tmp/tmp1O5dxFipa/realm_info/ldappwd'

Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

Expected results:

6.2 server setup as replica of the 6.3 master. 

Additional info: