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 1011069 - RHEL6.5 ipa-server-install --uninstall says client is not configured
Summary: RHEL6.5 ipa-server-install --uninstall says client is not configured
Keywords:
Status: CLOSED DUPLICATE of bug 1011044
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Cholasta
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 14:58 UTC by Scott Poore
Modified: 2013-09-24 16:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-24 16:12:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1011044 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1011044

Description Scott Poore 2013-09-23 14:58:50 UTC
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:

Comment 2 Scott Poore 2013-09-23 21:08:19 UTC
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

Comment 3 Martin Kosek 2013-09-24 09:05:50 UTC
Jan, can you please check this one?

Comment 4 Jan Cholasta 2013-09-24 15:52:55 UTC
I was able to reproduce this.

Applying <https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=a7110d7a32b6eb7131ce47655cb14f693681ab01> after updating to 6.5 fixed the issue for me.

Comment 5 Martin Kosek 2013-09-24 16:12:56 UTC
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 ***


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