Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
On upgrade test from RHEL6.3 -> 6.4 -> 6.5, when ipa-server-install --uninstall is run, it does not see the client configured. So it does not run any client cleanup.
ipa : DEBUG args=/usr/sbin/ipactl stop
ipa : DEBUG stdout=Stopping pki-ca: [ OK ]
Stopping httpd: [ OK ]
Stopping ipa_memcached: [ OK ]
Stopping named: .[ OK ]
Stopping Kerberos 5 Admin Server: [ OK ]
Stopping Kerberos 5 KDC: [ OK ]
Shutting down dirsrv:
PKI-IPA...[ OK ]
TESTRELM-COM...[ OK ]
Stopping CA Service
Stopping HTTP Service
Stopping MEMCACHE Service
Stopping DNS Service
Stopping KPASSWD Service
Stopping KDC Service
Stopping Directory Service
ipa : DEBUG stderr=
ipa : DEBUG args=/usr/sbin/ipa-client-install --on-master --unattended --uninstall
ipa : DEBUG stdout=
ipa : DEBUG stderr=IPA client is not configured on this system.
Version-Release number of selected component (if applicable):
ipa-server-2.2.0-16.el6.x86_64 ->
ipa-server-3.0.0-25.el6.x86_64 ->
ipa-server-3.0.0-36.el6.x86_64
How reproducible:
Always in test automation. I'm still investigating manual.
Steps to Reproduce:
1. Install IPA on rhel6.3
2. Upgrade IPA to version in 6.4
3. Upgrade IPA to version in 6.5
4. ipa-server-install --uninstall -U
Actual results:
Shows IPA client is not configured on this system. This leaves things like sssd running when it should not.
Expected results:
run ipa-client-install --uninstall so that it cleans up everything properly.
Additional info:
I've tried this process with ipa-client-install --uninstall first also and it fails the same way. This is how I can manually reproduce the issue:
# Start with a RHEL 6.3 server:
service iptables stop
service ip6tables stop
yum -y install ipa-server bind-dyndb-ldap
echo "$(hostname -i) $(hostname -s).testrelm.com" >> /etc/hosts
sed -i "s/^\(HOSTNAME=\).*$/\1$(hostname -s).testrelm.com/" \
/etc/sysconfig/network
hostname $(hostname -s).testrelm.com
ipa-server-install --setup-dns --forwarder=192.168.122.1 \
--hostname=$(hostname -s).testrelm.com -r TESTRELM.COM \
-n testrelm.com -p Secret123 -P Secret123 -a Secret123 -U
# ADD RHEL6.4 YUM REPOS
yum -y update 'ipa*' sssd
ipactl restart
# ADD RHEL6.5 YUM REPOS
yum -y update 'ipa*' sssd
ipactl restart
ipa-server-install --uninstall -U
Thank you, Jan.
In that case this bug is a duplicate to Bug 1011044. Closing this one, lets get the patch pushed in scope of Bug 1011044.
*** This bug has been marked as a duplicate of bug 1011044 ***
Description of problem: On upgrade test from RHEL6.3 -> 6.4 -> 6.5, when ipa-server-install --uninstall is run, it does not see the client configured. So it does not run any client cleanup. ipa : DEBUG args=/usr/sbin/ipactl stop ipa : DEBUG stdout=Stopping pki-ca: [ OK ] Stopping httpd: [ OK ] Stopping ipa_memcached: [ OK ] Stopping named: .[ OK ] Stopping Kerberos 5 Admin Server: [ OK ] Stopping Kerberos 5 KDC: [ OK ] Shutting down dirsrv: PKI-IPA...[ OK ] TESTRELM-COM...[ OK ] Stopping CA Service Stopping HTTP Service Stopping MEMCACHE Service Stopping DNS Service Stopping KPASSWD Service Stopping KDC Service Stopping Directory Service ipa : DEBUG stderr= ipa : DEBUG args=/usr/sbin/ipa-client-install --on-master --unattended --uninstall ipa : DEBUG stdout= ipa : DEBUG stderr=IPA client is not configured on this system. Version-Release number of selected component (if applicable): ipa-server-2.2.0-16.el6.x86_64 -> ipa-server-3.0.0-25.el6.x86_64 -> ipa-server-3.0.0-36.el6.x86_64 How reproducible: Always in test automation. I'm still investigating manual. Steps to Reproduce: 1. Install IPA on rhel6.3 2. Upgrade IPA to version in 6.4 3. Upgrade IPA to version in 6.5 4. ipa-server-install --uninstall -U Actual results: Shows IPA client is not configured on this system. This leaves things like sssd running when it should not. Expected results: run ipa-client-install --uninstall so that it cleans up everything properly. Additional info: