Bug 1242884
| Summary: | Upgrade to 4.2.0 fails when enabling kdc proxy | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Cholasta <jcholast> |
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | ksiddiqu, rcritten, spoore |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-4.2.0-2.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 12:04:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Cholasta
2015-07-14 10:41:12 UTC
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/c701ab612de831f72f21e0f3bfd105fbc515cd4d Fixed upstream ipa-4-2: https://fedorahosted.org/freeipa/changeset/d98aa76b26daf461f19d733fedc4bd9a8c36f05f Verified. Version :: ipa-server-4.2.0-12.el7.x86_64 Results :: [root@rhel7-5 yum.repos.d]# yum update -y Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. rhel-7.2-server | 4.1 kB 00:00:00 rhel-7.2-server-optional | 3.8 kB 00:00:00 (1/4): rhel-7.2-server-optional/group_gz | 6.1 kB 00:00:00 (2/4): rhel-7.2-server/group_gz | 135 kB 00:00:00 (3/4): rhel-7.2-server-optional/primary_db | 1.7 MB 00:00:01 (4/4): rhel-7.2-server/primary_db | 3.6 MB 00:00:01 Resolving Dependencies --> Running transaction check ... Cleanup : libgcc-4.8.3-9.el7.x86_64 659/659 2619 blocks rhel-7.2-server/productid | 1.6 kB 00:00:00 Verifying : libXext-1.3.3-3.el7.x86_64 1/659 ... Complete! [root@rhel7-5 yum.repos.d]# ipactl status Directory Service: RUNNING krb5kdc Service: RUNNING kadmin Service: RUNNING named Service: RUNNING ipa_memcached Service: RUNNING httpd Service: RUNNING pki-tomcatd Service: RUNNING ipa-otpd Service: RUNNING ipa-dnskeysyncd Service: RUNNING ipa: INFO: The ipactl command was successful ...from /var/log/ipaupgrade.log... 2015-10-05T21:17:17Z INFO [Enabling KDC Proxy] 2015-10-05T21:17:17Z DEBUG Starting external process 2015-10-05T21:17:17Z DEBUG args='/bin/systemctl' 'start' 'dirsrv' 2015-10-05T21:17:17Z DEBUG Process finished, return code=0 2015-10-05T21:17:17Z DEBUG stdout= 2015-10-05T21:17:17Z DEBUG stderr= 2015-10-05T21:17:17Z DEBUG Starting external process 2015-10-05T21:17:17Z DEBUG args='/bin/systemctl' 'is-active' 'dirsrv' 2015-10-05T21:17:17Z DEBUG Process finished, return code=0 2015-10-05T21:17:17Z DEBUG stdout=active 2015-10-05T21:17:17Z DEBUG stderr= 2015-10-05T21:17:17Z DEBUG wait_for_open_ports: localhost [389] timeout 300 2015-10-05T21:17:17Z DEBUG Adding group kdcproxy 2015-10-05T21:17:17Z DEBUG Starting external process 2015-10-05T21:17:17Z DEBUG args='/usr/sbin/groupadd' '-r' 'kdcproxy' 2015-10-05T21:17:17Z DEBUG Process finished, return code=0 2015-10-05T21:17:17Z DEBUG stdout= 2015-10-05T21:17:17Z DEBUG stderr= 2015-10-05T21:17:17Z DEBUG Done adding group 2015-10-05T21:17:17Z DEBUG Adding user kdcproxy 2015-10-05T21:17:17Z DEBUG Starting external process 2015-10-05T21:17:17Z DEBUG args='/usr/sbin/useradd' '-g' 'kdcproxy' '-d' '/var/lib/kdcproxy' '-s' '/sbin/nologin' '-r' 'kdcproxy' '-c' 'IPA KDC Proxy User' '-m' 2015-10-05T21:17:17Z DEBUG Process finished, return code=0 2015-10-05T21:17:17Z DEBUG stdout= 2015-10-05T21:17:17Z DEBUG stderr= 2015-10-05T21:17:17Z DEBUG Done adding user 2015-10-05T21:17:17Z DEBUG Backing up system configuration file '/etc/ipa/kdcproxy/ipa-kdc-proxy.conf' 2015-10-05T21:17:17Z DEBUG -> Not backing up - '/etc/ipa/kdcproxy/ipa-kdc-proxy.conf' doesn't exist 2015-10-05T21:17:17Z DEBUG flushing ldapi://%2fvar%2frun%2fslapd-EXAMPLE-COM.socket from SchemaCache 2015-10-05T21:17:17Z DEBUG retrieving schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-EXAMPLE-COM.socket conn=<ldap.ldapobject.SimpleLDAPObject instance at 0x6427488> 2015-10-05T21:17:17Z DEBUG service KDCPROXY enabled 2015-10-05T21:17:17Z DEBUG Starting external process 2015-10-05T21:17:17Z DEBUG args='/bin/systemctl' 'stop' 'httpd.service' 2015-10-05T21:17:19Z DEBUG Process finished, return code=0 2015-10-05T21:17:19Z DEBUG stdout= 2015-10-05T21:17:19Z DEBUG stderr= 2015-10-05T21:17:19Z INFO [Updating mod_nss protocol versions] [root@rhel7-5 yum.repos.d]# ipa-server-upgrade Upgrading IPA: [1/10]: stopping directory server [2/10]: saving configuration [3/10]: disabling listeners [4/10]: enabling DS global lock [5/10]: starting directory server [6/10]: updating schema [7/10]: upgrading server [8/10]: stopping directory server [9/10]: restoring configuration [10/10]: starting directory server Done. Update complete Upgrading IPA services Upgrading the configuration of the IPA services [Verifying that root certificate is published] [Migrate CRL publish directory] CRL tree already moved [Verifying that CA proxy configuration is correct] [Verifying that KDC configuration is using ipa-kdb backend] [Fix DS schema file syntax] Syntax already fixed [Removing RA cert from DS NSS database] RA cert already removed [Enable sidgen and extdom plugins by default] [Updating mod_nss protocol versions] Protocol versions already updated [Fixing trust flags in /etc/httpd/alias] Trust flags already processed [Exporting KRA agent PEM file] KRA is not installed [Removing self-signed CA] [Checking for deprecated KDC configuration files] [Checking for deprecated backups of Samba configuration files] [Setting up Firefox extension] [Add missing CA DNS records] IPA CA DNS records already processed [Removing deprecated DNS configuration options] [Ensuring minimal number of connections] [Enabling serial autoincrement in DNS] [Updating GSSAPI configuration in DNS] [Updating pid-file configuration in DNS] Changes to named.conf have been made, restart named [Upgrading CA schema] CA schema update complete (no changes) [Verifying that CA audit signing cert has 2 year validity] [Update certmonger certificate renewal configuration to version 3] [Enable PKIX certificate path discovery and validation] PKIX already enabled [Authorizing RA Agent to modify profiles] [Ensuring CA is using LDAPProfileSubsystem] [Ensuring presence of included profiles] [Add default CA ACL] Default CA ACL already added The IPA services were upgraded The ipa-server-upgrade command was successful [root@rhel7-5 yum.repos.d]# 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-2015-2362.html |