Bug 1265900
Summary: | Fail installation immediately after dirsrv fails to install using ipa-server-install | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Abhijeet Kasurde <akasurde> | ||||||
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 7.0 | CC: | jcholast, ksiddiqu, mbasti, mkosek, pvoborni, rcritten, sumenon | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | ipa-4.4.0-0.el7.1.alpha1 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-11-04 05:46:47 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: | |||||||||
Attachments: |
|
Description
Abhijeet Kasurde
2015-09-24 06:44:10 UTC
Created attachment 1076362 [details]
ipa-server-install.log
Created attachment 1076363 [details]
stdout
This issue is already tracked in upstream ticket 2539, I will link it to this Bugzilla. Jan, with the recent installation refactoring, would it be easier to fix this (benign) gap in the installer? Upstream ticket: https://fedorahosted.org/freeipa/ticket/2539 Martin, I believe so, but it's still WIP, the code related to this bug was not updated yet. Fixed upstream master: https://fedorahosted.org/freeipa/changeset/b0894a84932c3b02c495f29b7c110dd072da745f ipa-4-3: https://fedorahosted.org/freeipa/changeset/0b2961e87c1978dc49395aba6df50269ef359ba4 This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Verified on RHEL73 using ipa-server-4.4.0-11.el7.x86_64 389-ds-base-1.3.5.10-11.el7.x86_64 1. Created an empty directory named slapd-LABS03-TEST in /etc/dirsrv/ [root@ipa01 dirsrv]# ls -l total 4 drwxr-xr-x. 2 root root 82 Sep 15 15:31 config drwxr-xr-x. 2 root root 4096 Sep 15 15:31 schema drwxr-xr-x. 2 root root 6 Sep 15 16:04 slapd-LABS03-TEST <=== 2. Installation fails immediately after setup-ds.pl failures. Traceback message is not seen anymore as mentioned in original comment. [root@ipa01 dirsrv]# ipa-server-install --setup-dns --forwarder=*.*.*.* -r LABS03.TEST -p ***** -a **** --zonemgr=tãako.redhat.com -U The log file for this installation can be found in /var/log/ipaserver-install.log ============================================================================== This program will set up the IPA Server. This includes: * Configure a stand-alone CA (dogtag) for certificate management * Configure the Network Time Daemon (ntpd) * Create and configure an instance of Directory Server * Create and configure a Kerberos Key Distribution Center (KDC) * Configure Apache (httpd) * Configure DNS (bind) WARNING: conflicting time&date synchronization service 'chronyd' will be disabled in favor of ntpd Warning: skipping DNS resolution of host ipa01.labs03.test The domain name has been determined based on the host name. Checking DNS domain labs03.test., please wait ... Checking DNS forwarders, please wait ... The IPA Master Server will be configured with: Hostname: ipa01.labs03.test IP address(es): ********* Domain name: labs03.test Realm name: LABS03.TEST BIND DNS server will be configured to serve IPA domain with: Forwarders: ************* Forward policy: only Reverse zone(s): No reverse zone Configuring NTP daemon (ntpd) [1/4]: stopping ntpd [2/4]: writing configuration [3/4]: configuring ntpd to start on boot [4/4]: starting ntpd Done configuring NTP daemon (ntpd). Configuring directory server (dirsrv). Estimated time: 1 minute [1/47]: creating directory server user [2/47]: creating directory server instance [error] RuntimeError: failed to create ds instance Command '/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmpnout0D' returned non-zero exit status 1 ipa.ipapython.install.cli.install_tool(Server): ERROR failed to create ds instance Command '/usr/sbin/setup-ds.pl --silent --logfile - -f /tmp/tmpnout0D' returned non-zero exit status 1 ipa.ipapython.install.cli.install_tool(Server): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information 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. https://rhn.redhat.com/errata/RHBA-2016-2404.html |