#1580 ipa-replica-install does not check for dbus, fails on certmonger
Closed: Fixed None Opened 9 years ago by rcritten.


Just an annoyance to be able to get a clean replica installation when one forget to check this:

/usr/sbin/ipa-replica-install does not check for dbus, fails on certmonger but /usr/sbin/ipa-server-install do check and starts dbus. could we add the same sanity check for requirements in /usr/sbin/ipa-replica-install?

Steps to Reproduce:

1. have a first system installed with RHEL 6.1, ipaserver1.example.com

2. have RHN repo access

3. have this first system with a ipa server installed, on
ipa-server-install --realm=EXAMPLE.COM --domain=example.com
--ds-password=password --master-password=password --admin-password=password
--hostname=ipaserver1.example.com --ip-address= --setup-dns
--forwarder= --zonemgr=msauton@redhat.com --idstart=100 --unattended

4. prepare an ipa replica, with adding dns entries in ipaserver1:
ipa-replica-prepare ipaserver2.example.com --ip-address

3. have a second system installed with RHEL 6.1, ipaserver2.example.com

4. make ipaserver2.example.com an ipa replica with ipaserver1.example.com:
ipa-replica-install /var/lib/ipa/replica-info-ipaserver2.example.com.gpg

Actual results:

Directory Manager (existing master) password:
Configuring ntpd
  [1/4]: stopping ntpd
  [2/4]: writing configuration
  [3/4]: configuring ntpd to start on boot
  [4/4]: starting ntpd
done configuring ntpd.
Configuring directory server for the CA: Estimated time 30 seconds
  [1/3]: creating directory server user
  [2/3]: creating directory server instance
  [3/3]: restarting directory server
done configuring pkids.
creation of replica failed: Command '/sbin/service certmonger start ' returned
non-zero exit status 1
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

Metadata Update from @rcritten:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

4 years ago

Login to comment on this ticket.