RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1773550 - IPA upgrade fails for latest ipa package when adtrust is installed
Summary: IPA upgrade fails for latest ipa package when adtrust is installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1757064
Blocks: 1773516
TreeView+ depends on / blocked
 
Reported: 2019-11-18 12:18 UTC by Thomas Woerner
Modified: 2020-03-31 19:56 UTC (History)
9 users (show)

Fixed In Version: ipa-4.6.6-10.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1757064
Environment:
Last Closed: 2020-03-31 19:56:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1083 0 None None None 2020-03-31 19:56:41 UTC

Comment 7 Nikhil Dehadrai 2019-12-10 10:57:00 UTC
ipa-server version: ipa-server-4.6.6-11.el7.x86_64


Verified the bug on the basis of following observations:
1) Setup IPA server at RHEL77z with trust installed.

2019-12-09T08:28:41+0000 [ci-vm-10-0-154-174.h] :: [ 03:28:41 ] :: [  BEGIN   ] :: Running ' /usr/sbin/ipa-server-install --setup-dns --forwarder=10.11.5.19 --reverse-zone=154.0.10.in-addr.arpa. --allow-zone-overlap --hostname=ci-vm-10-0-154-174.upgrade.test -r UPGRADE.TEST -n upgrade.test -p Secret123 -a Secret123 --ip-address=10.0.154.174 --allow-zone-overlap -U'


2019-12-09T08:33:54+0000 [ci-vm-10-0-154-174.h] :: [ 03:33:53 ] :: [   PASS   ] :: Command ' /usr/sbin/ipa-server-install --setup-dns --forwarder=10.11.5.19 --reverse-zone=154.0.10.in-addr.arpa. --allow-zone-overlap --hostname=ci-vm-10-0-154-174.upgrade.test -r UPGRADE.TEST -n upgrade.test -p Secret123 -a Secret123 --ip-address=10.0.154.174 --allow-zone-overlap -U' (Expected 0, got 0)


2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] :: [ 05:00:27 ] :: [  BEGIN   ] :: Running 'rpm -q ipa-server 389-ds-base bind bind-dyndb-ldap pki-ca sssd'
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] ipa-server-4.6.5-11.el7_7.3.x86_64
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] 389-ds-base-1.3.9.1-12.el7_7.x86_64
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] bind-9.11.4-9.P2.el7.x86_64
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] bind-dyndb-ldap-11.1-6.el7.x86_64
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] pki-ca-10.5.16-5.el7_7.noarch
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] sssd-1.16.4-21.el7_7.1.x86_64
2019-12-09T10:00:28+0000 [ci-vm-10-0-154-192.h] :: [ 05:00:27 ] :: [   PASS   ] :: Command 'rpm -q ipa-server 389-ds-base bind bind-dyndb-ldap pki-ca sssd' (Expected 0, got 0)

2019-12-09T08:54:12+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:12 ] :: [  BEGIN   ] :: Running 'echo Secret123 | ipa trust-add ipaad2k16cin.test --admin Administrator                 --range-type=ipa-ad-trust --password --two-way=True'
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] ----------------------------------------------------------
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] Added Active Directory trust for realm "ipaad2k16cin.test"
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] ----------------------------------------------------------
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Realm name: ipaad2k16cin.test
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Domain NetBIOS name: IPAAD2K16CIN
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Domain Security Identifier: S-1-5-21-2842256260-195550463-1751006347
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Trust direction: Two-way trust
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Trust type: Active Directory domain
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h]   Trust status: Established and verified
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [   PASS   ] :: Command 'echo Secret123 | ipa trust-add ipaad2k16cin.test --admin Administrator                 --range-type=ipa-ad-trust --password --two-way=True' (Expected 0, got 0)
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [  BEGIN   ] :: Running 'systemctl stop sssd'
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [   PASS   ] :: Command 'systemctl stop sssd' (Expected 0, got 0)
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [  BEGIN   ] :: Running 'rm -frv /var/lib/sss/{db,mc}/*'
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/db/cache_upgrade.test.ldb?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/db/ccache_UPGRADE.TEST?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/db/config.ldb?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/db/sssd.ldb?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/db/timestamps_upgrade.test.ldb?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/mc/group?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/mc/initgroups?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] removed ?/var/lib/sss/mc/passwd?
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [   PASS   ] :: Command 'rm -frv /var/lib/sss/{db,mc}/*' (Expected 0, got 0)
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [  BEGIN   ] :: Running 'systemctl start sssd'
2019-12-09T08:54:14+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [   PASS   ] :: Command 'systemctl start sssd' (Expected 0, got 0)
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:14 ] :: [  BEGIN   ] :: Running 'ipa trust-find ipaad2k16cin.test'
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] ---------------
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] 1 trust matched
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] ---------------
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h]   Realm name: ipaad2k16cin.test
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h]   Domain NetBIOS name: IPAAD2K16CIN
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h]   Domain Security Identifier: S-1-5-21-2842256260-195550463-1751006347
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h]   Trust type: Active Directory domain
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h]   UPN suffixes: testupnsuffix.test, testupnsuffix, tomupn14.in, upn2016.in
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] ----------------------------
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] Number of entries returned 1
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] ----------------------------
2019-12-09T08:54:15+0000 [ci-vm-10-0-154-174.h] :: [ 03:54:15 ] :: [   PASS   ] :: Command 'ipa trust-find ipaad2k16cin.test' (Expected 0, got 0)
2019-12-09T09:00:15+0000 [ci-vm-10-0-154-174.h] :: [ 04:00:15 ] :: [  BEGIN   ] :: Running 'id administrator'
2019-12-09T09:00:16+0000 [ci-vm-10-0-154-174.h] uid=879000500(administrator) gid=879000500(administrator) groups=879000500(administrator),879000518(schema admins),879000519(enterprise admins),879000512(domain admins),879000513(domain users),879000520(group policy creator owners)
2019-12-09T09:00:16+0000 [ci-vm-10-0-154-174.h] :: [ 04:00:16 ] :: [   PASS   ] :: Command 'id administrator' (Expected 0, got 0)


2) Upgrade the Ipa server to RHEL 78

2019-12-09T09:19:35+0000 [ci-vm-10-0-154-174.h] :: [ 04:19:35 ] :: [  BEGIN   ] :: Initiating upgrade Process :: actually running 'yum -y update'
.
.
.
2019-12-09T10:10:21+0000 [ci-vm-10-0-154-192.h] :: [ 05:10:21 ] :: [   PASS   ] :: Initiating upgrade Process (Expected 0, got 0)
2019-12-09T10:10:21+0000 [ci-vm-10-0-154-192.h] :: [ 05:10:21 ] :: [  BEGIN   ] :: Running 'tail -1 /var/log/ipaupgrade.log | grep 'The ipa-server-upgrade command was successful''
2019-12-09T10:10:21+0000 [ci-vm-10-0-154-192.h] 2019-12-09T10:07:43Z INFO The ipa-server-upgrade command was successful
2019-12-09T10:10:21+0000 [ci-vm-10-0-154-192.h] :: [ 05:10:21 ] :: [   PASS   ] :: Command 'tail -1 /var/log/ipaupgrade.log | grep 'The ipa-server-upgrade command was successful'' (Expected 0, got 0)

2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] :: [ 05:13:19 ] :: [  BEGIN   ] :: Running 'rpm -q ipa-server 389-ds-base bind bind-dyndb-ldap pki-ca sssd'
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] ipa-server-4.6.6-11.el7.x86_64
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] 389-ds-base-1.3.10.1-4.el7.x86_64
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] bind-9.11.4-15.P2.el7.x86_64
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] bind-dyndb-ldap-11.1-7.el7.x86_64
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] pki-ca-10.5.17-6.el7.noarch
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] sssd-1.16.4-35.el7.x86_64
2019-12-09T10:13:19+0000 [ci-vm-10-0-154-192.h] :: [ 05:13:19 ] :: [   PASS   ] :: Command 'rpm -q ipa-server 389-ds-base bind bind-dyndb-ldap pki-ca sssd' (Expected 0, got 0)

3) Validate trust after upgrade using id command
2019-12-09T09:40:53+0000 [ci-vm-10-0-154-174.h] :: [ 04:40:53 ] :: [  BEGIN   ] :: Running 'id administrator'
2019-12-09T09:40:53+0000 [ci-vm-10-0-154-174.h] uid=879000500(administrator) gid=879000500(administrator) groups=879000500(administrator),879000518(schema admins),879000519(enterprise admins),879000512(domain admins),879000513(domain users),879000520(group policy creator owners)
2019-12-09T09:40:53+0000 [ci-vm-10-0-154-174.h] :: [ 04:40:53 ] :: [   PASS   ] :: Command 'id administrator' (Expected 0, got 0)


Thus on the basis of above observations marking the status of bug to "VERIFIED"

Comment 9 errata-xmlrpc 2020-03-31 19:56:32 UTC
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://access.redhat.com/errata/RHBA-2020:1083


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