Bug 1143988

Summary: 'realm join' to Active Directory fails trying to install adcli and sssd
Product: [Fedora] Fedora Reporter: Stephen Gallagher <sgallagh>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jhrozek, stefw, yelley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: realmd-0.15.2-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-11 07:00:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1143990    

Description Stephen Gallagher 2014-09-18 11:59:41 UTC
Description of problem:
If the system has 'sssd' but not 'adcli' installed, the 'realm join' operation will fail with the error:
 ! Failed to enroll machine in realm: sssd-1.12.1-2.fc21.x86_64 is already installed
realm: Couldn't join realm: Failed to enroll machine in domain. See diagnostics.


Version-Release number of selected component (if applicable):
realmd-0.15.1-4.fc21.x86_64

How reproducible:
Only tried once

Steps to Reproduce:
1. Install Fedora Server Alpha RC1 with all defaults
2. Verify that 'sssd' is installed but 'adcli' is not.
3. run 'realm join -v <active directory realm>'

Actual results:
See above error


Expected results:
'adcli' should be installed and the realm join should proceed.

Additional info:
I am opening another bug (which I will link to this one) to ensure that 'adcli' is installed in the default set of packages for Fedora Server. This will function as a workaround.

Comment 1 Stef Walter 2014-10-06 08:44:13 UTC
Patch in git master for this. This is due to a PackageKit change.

Comment 2 Fedora Update System 2014-10-06 09:32:55 UTC
realmd-0.15.2-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/realmd-0.15.2-1.fc21

Comment 3 Fedora Update System 2014-10-08 19:16:28 UTC
Package realmd-0.15.2-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.15.2-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12431/realmd-0.15.2-1.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-10-11 07:00:38 UTC
realmd-0.15.2-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.