Bug 953905

Summary: GNOME Control Center freeIPA join failure
Product: [Fedora] Fedora Reporter: Tomas Dolezal <todoleza>
Component: freeipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: abokovoy, mkosek, pkis, rcritten, ssorce, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-10 15:00:53 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:
Attachments:
Description Flags
second try of joining (after `mkdir /etc/ipa`) none

Description Tomas Dolezal 2013-04-19 13:35:00 UTC
Created attachment 737611 [details]
second try of joining (after `mkdir /etc/ipa`)

Description of problem:
fails when freeipa-client is not installed before. directory /etc/ipa must be created manually after failure and realm rejoined.
adding user from 'ipausers' fails with message: 'No user with myuser found'

Version-Release number of selected component (if applicable):
freeipa-python-3.2.0-0.2.beta1.fc19.x86_64
freeipa-client-3.2.0-0.2.beta1.fc19.x86_64
control-center-3.8.0-3.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
testcase https://fedoraproject.org/wiki/QA:Testcase_FreeIPA_control_center
1. use manually addded user: testuser (from previous TCs)
2. alternatively run `ipa user-add myuser --password` and use it
  
Actual results:
No user with myuser found

Expected results:
success

Additional info:
testuser existed before joining
myuser was created during creating localuser

Comment 1 Martin Kosek 2013-04-22 06:53:14 UTC
If I read this bug right, the only problem here is that /etc/ipa/ directory is not created automatically when freeipa-client is being installed.

I will link this Bugzilla to appropriate upstream ticket filed for this issue.

Comment 2 Martin Kosek 2013-04-22 06:54:39 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3551

Comment 3 Martin Kosek 2013-04-22 09:52:11 UTC
Fixed upstream:

master:
2a8f1b0b16bb1a0af3906c06cffcd96bf152227a
cc3c54326502ab90d37cae58ccee719f227f1156

ipa-3-1:
69332d943f39dadf26bd6851b2e4cda6c794dcbd
6e443eb0d1673d6ffe2c3cd638108d5769916d29

Comment 4 Rob Crittenden 2013-05-10 15:00:53 UTC

*** This bug has been marked as a duplicate of bug 961483 ***