Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1353895 - ipa-replica-install lacks interactive mode
ipa-replica-install lacks interactive mode
Status: ASSIGNED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: IPA Maintainers
Kaleem
:
: 1376027 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-08 07:09 EDT by Abhijeet Kasurde
Modified: 2018-08-23 16:21 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
ipa-replica-install.log (6.12 KB, text/plain)
2016-07-08 07:14 EDT, Abhijeet Kasurde
no flags Details
ipa-client-install.log (1.45 KB, text/plain)
2016-07-08 08:51 EDT, Abhijeet Kasurde
no flags Details
ipa-replica-install.log (6.12 KB, text/plain)
2016-07-08 08:51 EDT, Abhijeet Kasurde
no flags Details

  None (edit)
Description Abhijeet Kasurde 2016-07-08 07:09:54 EDT
Description of problem:
If user triggers ipa-replica-install, commands starts without required parameters and fails.


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

How reproducible:
100%

Steps to Reproduce:
1. Trigger ipa-replica-install on replica server without parameters and without ipa-client-install 

Actual results:
Fails to install replica on given machine due to lack of required parameters.

Expected results:
Command should detect and enter in interactive mode for user input.
Comment 1 Abhijeet Kasurde 2016-07-08 07:14 EDT
Created attachment 1177615 [details]
ipa-replica-install.log
Comment 3 Petr Vobornik 2016-07-08 08:09:42 EDT
What was in the console output and ipaclient-install.log?

Error:
"""
Fails to install replica on given machine due to lack of required parameters.
"""

is very general so I wonder if the complete message was understandable, i.e. admin can know what is missing.
Comment 4 Abhijeet Kasurde 2016-07-08 08:50:32 EDT
Console output for 

# 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


Attaching replica-install and client-install logs.
Comment 5 Abhijeet Kasurde 2016-07-08 08:51 EDT
Created attachment 1177681 [details]
ipa-client-install.log
Comment 6 Abhijeet Kasurde 2016-07-08 08:51 EDT
Created attachment 1177682 [details]
ipa-replica-install.log
Comment 7 Petr Vobornik 2016-07-12 12:13:57 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6068
Comment 9 Petr Vobornik 2016-09-23 11:55:23 EDT
*** Bug 1376027 has been marked as a duplicate of this bug. ***
Comment 11 Petr Vobornik 2017-10-16 07:49:01 EDT
For upcoming months or more the FreeIPA/IdM team is focusing on stability, testability of FreeIPA/IdM and thus postponing any RFEs or non-critical bugs.

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