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.

Bug 1303043

Summary: ipa-server-install failed due to client side configuration on master server
Product: Red Hat Enterprise Linux 7 Reporter: Abhijeet Kasurde <akasurde>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WORKSFORME QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: akasurde, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 12:02:03 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
console.log
none
httpd_error_log
none
Trace_back none

Description Abhijeet Kasurde 2016-01-29 12:00:44 UTC
Created attachment 1119402 [details]
console.log

Description of problem:
ipa-server-install failed due to failed client side configuration on master server. This is caused to permission issue following is excerpt of httpd error_log

[Fri Jan 29 15:41:21.929220 2016] [:error] [pid 24498] The following error occurred while trying to extract file(s) to the Python egg
[Fri Jan 29 15:41:21.929222 2016] [:error] [pid 24498] cache:
[Fri Jan 29 15:41:21.929224 2016] [:error] [pid 24498]
[Fri Jan 29 15:41:21.929226 2016] [:error] [pid 24498]   [Errno 13] Permission denied: '/usr/share/httpd/.python-eggs'
[Fri Jan 29 15:41:21.929228 2016] [:error] [pid 24498]
[Fri Jan 29 15:41:21.929230 2016] [:error] [pid 24498] The Python egg cache directory is currently set to:
[Fri Jan 29 15:41:21.929232 2016] [:error] [pid 24498]
[Fri Jan 29 15:41:21.929233 2016] [:error] [pid 24498]   /usr/share/httpd/.python-eggs
[Fri Jan 29 15:41:21.929235 2016] [:error] [pid 24498]
[Fri Jan 29 15:41:21.929237 2016] [:error] [pid 24498] Perhaps your account does not have write access to this directory?  You can
[Fri Jan 29 15:41:21.929239 2016] [:error] [pid 24498] change the cache directory by setting the PYTHON_EGG_CACHE environment
[Fri Jan 29 15:41:21.929241 2016] [:error] [pid 24498] variable to point to an accessible directory.
[Fri Jan 29 15:41:21.929243 2016] [:error] [pid 24498]
[Fri Jan 29 15:41:24.421798 2016] [:error] [pid 24497] [remote 10.65.201.167:120] mod_wsgi (pid=24497): Target WSGI script '/usr/share/ipa/wsgi.py' does not contain WSGI application 'application'.



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

How reproducible:
I think this is something machine specific / setup specific issue.

Actual results:
Installation fails with error "Configuration of client side components failed!"

Expected results:
Installation should succeed

Comment 1 Abhijeet Kasurde 2016-01-29 12:01:29 UTC
Created attachment 1119403 [details]
httpd_error_log

Comment 2 Abhijeet Kasurde 2016-01-29 12:01:49 UTC
Created attachment 1119405 [details]
Trace_back

Comment 4 Petr Vobornik 2016-01-29 12:35:00 UTC
I'm unable to reproduce with ipa-server-4.2.0-15.el7_2.5.x86_6

There is probably some custom httpd configuration or package. 

Could you attach httpd/error_log from beginning of IPA server installation and earlier if there is something. 

Same with ipaserver-install.log.

Comment 5 Abhijeet Kasurde 2016-02-08 12:02:03 UTC
Unable to reproduce with fresh build. Closing issue.