Bug 525303
Summary: | ipa-server-install fails with error "Env._bootstrap() already called" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] freeIPA | Reporter: | Michael Gregg <mgregg> | ||||
Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> | ||||
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 2.0 | CC: | benl, dpal, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | --- | |||||
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: | 431020 | ||||||
Attachments: |
|
Description
Michael Gregg
2009-09-23 20:41:25 UTC
This is caused by both Martin and I initializing the ipalib environment (and for different reasons) when doing a DNS install. I think we can move the initialization earlier if we can: - make loading the schema in ldap2 non-fatal - load the schema later (like in connect) if it isn't already set - ensure that I can still override some things in the env before finalize(). I think that by definition I can, just haven't tried yet I have somewhat of a fix but one thing is killing me. When the plugin is loaded it attempts to fetch the schema from the LDAP server. Since this is the installer we don't have a server to connect to. I made the ldap2 plugin handle it but then there is no way to later load the schema because the class gets locked once it is finalized. I think we need to be able to define a set of class variables that may be modified at runtime. That or _schema is going to need to be a global variable. Created attachment 362684 [details]
only initialize the API once in the installer, make plugins startable w/o LDAP server
master: e4877c946f71b2d091d01edfd64768ce7a7a47ee Verified to not be happening 12-8-2010 |