Bug 1320102

Summary: ipa-client-install --uninstall command when run on non-atomic host fails to un-enroll client from IPA server when migrated to container.
Product: Red Hat Enterprise Linux 7 Reporter: Nikhil Dehadrai <ndehadra>
Component: sssd-containerAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED WONTFIX QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jpazdziora, lslebodn, mzidek
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:40:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
IPA-client-uninstall console output none

Description Nikhil Dehadrai 2016-03-22 10:19:08 UTC
Created attachment 1138970 [details]
IPA-client-uninstall console output

Description of problem:
ipa-client-install --uninstall command when run on non-atomic host fails to un-enroll client from IPA server when migrated to container.

Version-Release number of selected component (if applicable):
ipa-server: ipa-server-4.2.0-15.el7_2.10.x86_64
ipa-client: ipa-client-4.2.0-15.el7_2.10.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Setup IPA server and Client with version 7.2up3.
2. Install Atomic package on client system and start the docker service. (use appropritae repos/ subscription manager)
3. Configure docker configuration at (/etc/sysconfig/docker) to pull appropriate docker-sssd image.
4. Migrate ipa-client to container image using command "atomic install rhel7/sssd --migrate"(Note here rhel7/sssd is name of docker image/container)
5. On atomic host run, ipa-client-install --uninstall  

Actual results:
1. After step5, Ipa-client un-installation process completes with a message 
"Unenrolling client from IPA server
Unenrolling host failed: Error obtaining initial credentials: Cannot find KDC for requested realm."

Expected results:
1. IPA client un-installation command should un-enroll client without any error message. 

Additional info:
1. This error message is not observed when command "atomic uninstall rhel7/sssd" (Note here rhel7/sssd is name of docker image/container)
2. Also noticed that "systemctl status sssd" reporta ssssd running inside container.
3. Refer attachment for additional console output logs.

Comment 2 Jan Pazdziora 2016-05-17 11:45:30 UTC
Resetting assignee to new default.

Comment 3 Lukas Slebodnik 2016-09-07 08:43:29 UTC
This bug cannot be reproduced on RHEL Atomic host because there is not the package ipa-client-install

Comment 7 RHEL Program Management 2020-12-15 07:40:37 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.