#6046 ipa-replica-install suggests about non-existent --force-ntpd option
Closed: Fixed None Opened 3 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1353881

Description of problem:
When ipa-replica-install runs without any option, then it suggests user for
'--force-ntpd'.
But there is no option available for user in 'ipa-replica-install' which is
misleading to user.

# ipa-replica-install
Configuring client side components
WARNING: ntpd time&date synchronization service will not be configured as
conflicting service (chronyd) is enabled
Use --force-ntpd option to disable it and force configuration of ntpd

One of password / principal / keytab is required.
Installation failed. Rolling back changes.
IPA client is not configured on this system.
Removing client side components
IPA client is not configured on this system.

ipa.ipapython.install.cli.install_tool(Replica): ERROR    Configuration of
client side components failed!
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The
ipa-replica-install command failed. See /var/log/ipareplica-install.log for
more information
[root@vm136 quickinstall]# ipa-replica-install --force-ntpd
Usage: ipa-replica-install [options] REPLICA_FILE

ipa-replica-install: error: no such option: --force-ntpd
[root@vm136 quickinstall]# rpm -q ipa-server
ipa-server-4.4.0-1.el7.x86_64



Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install IPA server RPMs
2. Without installing ipa-client-install trigger ipa-replica-install

Actual results:
user is presented with warning 'Use --force-ntpd option to disable it and force
configuration of ntpd'


Expected results:
Remove unwanted suggestion of --force-ntpd

master:

  • 0745c5d Don't show --force-ntpd option in replica install

Metadata Update from @pvoborni:
- Issue assigned to stlaz
- Issue set to the milestone: FreeIPA 4.4.1

2 years ago

Login to comment on this ticket.

Metadata