Bug 910557

Summary: ipa-client-install failed to fall over to replica with master down
Product: Red Hat Enterprise Linux 7 Reporter: Jenny Severance <jgalipea>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED CURRENTRELEASE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: dpal, jgalipea, ksiddiqu, mkosek, spoore, tlavigne
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.2.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 905626 Environment:
Last Closed: 2014-06-13 09:28:28 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: 905626    
Bug Blocks: 909161    

Comment 1 Martin Kosek 2013-02-21 08:53:19 UTC
Fixed upstream.

master: cbb262dc07ea0615068a630e6c7136e3200d5a06
ipa-3-1: a5f10e25b27fb860be0f06506d603197c2e5a955

Comment 4 Kaleem 2013-11-27 04:32:14 UTC
Verified.

ipa-client version:
===================
ipa-client-3.3.3-5.el7.x86_64

snippet from automation log:
===========================

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ipa-client-install-37- [Positive] Install with MASTER down, SLAVE up bz905626
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 06:36:39 ] ::  uninstall_fornexttest starts
:: [ 06:36:39 ] ::  sssd.conf for testing BZ 819982 does not exists
ntpd.stop.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

:: [ 06:36:39 ] ::  checking for '^nameserver 10.19.176.28' in /etc/resolv.conf
nameserver 10.19.176.28
hp-z600-02.ml3.eng.bos.redhat.com. 4334	IN A	10.19.176.28
ibm-x3650m4-02-vm-01.testrelm.com. 1200	IN A	10.16.40.238
Password for admin: 
ipa: ERROR: sgi-xe250-02.testrelm.com: host not found
:: [   PASS   ] :: Running 'ssh root.176.28 "echo xxxxxxxx|kinit admin;ipa host-del sgi-xe250-02.testrelm.com"' (Expected 0,1,2, got 2)
:: [   PASS   ] :: Running 'sleep 60' (Expected 0, got 0)
:: [ 06:37:40 ] ::  uninstall_fornexttest ends
Warning: Permanently added 'hp-z600-02.testrelm.com' (RSA) to the list of known hosts.
ipa: INFO: The ipactl command was successful
Stopping Directory Service
Stopping ipa-otpd Service
Stopping pki-tomcatd Service
Stopping httpd Service
Stopping ipa_memcached Service
Stopping named Service
Stopping kadmin Service
Stopping krb5kdc Service
:: [   PASS   ] :: Stop MASTER IPA server (Expected 0, got 0)
:: [ 06:37:46 ] ::  EXECUTING: ipa-client-install --domain=testrelm.com --realm=TESTRELM.COM  -p admin -w xxxxxxxx --unattended --force-ntpd
Skip hp-z600-02.testrelm.com: cannot verify if this is an IPA server
Discovery was successful!
Hostname: sgi-xe250-02.testrelm.com
Realm: TESTRELM.COM
DNS Domain: testrelm.com
IPA Server: ibm-x3650m4-02-vm-01.testrelm.com
BaseDN: dc=testrelm,dc=com
Synchronizing time with KDC...
Successfully retrieved CA cert
    Subject:     CN=Certificate Authority,O=TESTRELM.COM
    Issuer:      CN=Certificate Authority,O=TESTRELM.COM
    Valid From:  Tue Nov 26 10:48:07 2013 UTC
    Valid Until: Sat Nov 26 10:48:07 2033 UTC

Enrolled in IPA realm TESTRELM.COM
Created /etc/ipa/default.conf
New SSSD config will be created
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm TESTRELM.COM
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub

MARK-LWD-LOOP -- 2013-11-26 06:38:21 --
SSSD enabled
Configured /etc/openldap/ldap.conf
NTP enabled
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Client configuration complete.

:: [   PASS   ] :: Installing ipa client and configuring - with all params (Expected 0, got 0)
:: [   PASS   ] :: File '/var/log/ipaclient-install.log' should not contain 'Can't contact LDAP server' 
:: [   PASS   ] :: File '/var/log/ipaclient-install.log' should not contain 'Failed to verify that.*is an IPA Server' 
:: [   PASS   ] :: BZ 905626 not found 
:: [ 06:39:09 ] ::  Backing up and submitting /var/log/ipaclient-install.log

Comment 5 Ludek Smid 2014-06-13 09:28:28 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.