https://bugzilla.redhat.com/show_bug.cgi?id=809190
An issue was found when Bug 751597 was being verified:
Using: ipa-server-2.2.0-7.el6.x86_64 # hostname margo.testrelm.com # cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=margo.testrelm.com # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.16.96.50 margo.testrelm.com margo # cat /etc/resolv.conf ; generated by /sbin/dhclient-script search idm.lab.bos.redhat.com nameserver 10.16.78.150 Installed using command: # ipa-server-install --setup-dns --forwarder=10.14.63.12 --hostname ipaserver.testrelm.com -r TESTRELM.COM -n testrelm -p Secret123 -P Secret123 -a Secret123 --ip-address 10.16.96.50 Failed with: Configuring named: [1/9]: adding DNS container [2/9]: setting up our zone [3/9]: setting up reverse zone [4/9]: setting up our own record [5/9]: setting up kerberos principal [6/9]: setting up named.conf [7/9]: restarting named [8/9]: configuring named to start on boot [9/9]: changing resolv.conf to point to ourselves done configuring named. Global DNS configuration in LDAP server is empty You can use 'dnsconfig-mod' command to set global DNS options that would override settings in local named.conf files Restarting the web server Configuration of client side components failed! ipa-client-install returned: Command '/usr/sbin/ipa-client-install --on-master --unattended --domain testrelm --server ipaserver.testrelm.com --realm TESTRELM.COM --hostname ipaserver.testrelm.com' returned non-zero exit status 1 /var/log/ipaserver-install.log has: 2012-04-02T14:39:16Z DEBUG Changing admin password 2012-04-02T14:39:16Z DEBUG args=/usr/bin/ldappasswd -h ipaserver.testrelm.com -ZZ -x -D cn=Directory Manager -y /var/lib/ipa/tmpjjJRzL -T /var/lib/ipa/tmp_K_Zxx uid=admin,cn=users,cn=accounts,dc=testrelm,dc=com 2012-04-02T14:39:16Z DEBUG stdout= 2012-04-02T14:39:16Z DEBUG stderr= 2012-04-02T14:39:16Z DEBUG ldappasswd done 2012-04-02T14:39:18Z DEBUG args=/usr/sbin/ipa-client-install --on-master --unattended --domain testrelm --server ipaserver.testrelm.com --realm TESTRELM.COM --hostname ipaserver.testrelm.com 2012-04-02T14:39:18Z DEBUG stdout=^[[?1034hDiscovery was successful! Hostname: ipaserver.testrelm.com Realm: TESTRELM.COM DNS Domain: testrelm IPA Server: ipaserver.testrelm.com BaseDN: dc=testrelm,dc=com Configured /etc/sssd/sssd.conf 2012-04-02T14:39:18Z DEBUG stderr=DNS domain 'testrelm.com' is not configured for automatic KDC address lookup. KDC address will be set to fixed value. Traceback (most recent call last): File "/usr/sbin/ipa-client-install", line 1534, in <module> sys.exit(main()) File "/usr/sbin/ipa-client-install", line 1521, in main rval = install(options, env, fstore, statestore) File "/usr/sbin/ipa-client-install", line 1358, in install api.Backend.xmlclient.connect() File "/usr/lib/python2.6/site-packages/ipalib/backend.py", line 63, in connect conn = self.create_connection(*args, **kw) File "/usr/lib/python2.6/site-packages/ipalib/rpc.py", line 410, in create_connection raise errors.KerberosError(major=str(krberr), minor='') ipalib.errors.KerberosError: Kerberos error: Service u'HTTP@ipaserver.testrelm' not found in Kerberos database/ After install: # hostname ipaserver.testrelm.com
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=809190 (Red Hat Enterprise Linux 6)
Patch freeipa-mkosek-247-hostname-not-in-domain.patch sent for review
attachment freeipa-mkosek-247-hostname-not-in-domain.patch
master: 184a066
ipa-2-2: 173f4ae
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/04
Login to comment on this ticket.