Bug 858769
| Summary: | manage-domains: once the domain is added admin@internal can't search in that domain | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Pavel Stehlik <pstehlik> | ||||
| Component: | ovirt-engine-config | Assignee: | Yair Zaslavsky <yzaslavs> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 3.1.0 | CC: | dron, dyasny, iheim, mgoldboi, mmahut, oourfali, Rhev-m-bugs, sgrinber, ykaul | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | si19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 19:57:44 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
*** Bug 859361 has been marked as a duplicate of this bug. *** *** Bug 858320 has been marked as a duplicate of this bug. *** |
Created attachment 614457 [details] engine.log Description of problem: Once domain is added, engine restarted, user used admin@internal, then search doesn't return anything from new domain. engine.log: (see att) 2012-09-19 17:22:55,829 ERROR [org.ovirt.engine.core.bll.adbroker.GSSAPIDirContextAuthenticationStrategy] (ajp-/127.0.0.1:8009-2) Error from Kerberos: java.lang.NullPointerException at org.ovirt.engine.core.bll.adbroker.GSSAPICallbackHandler.handle(GSSAPICallbackHandler.java:47) at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:969) at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:966) at java.security.AccessController.doPrivileged(Native Method) Version-Release number of selected component (if applicable): si18.1 How reproducible: 100% (observed on RHDS & AD) Steps to Reproduce: 1. use rhevm-manage-domains without -addPermissions, (restart engine) 2. log to webadmin by admin@internal 3. try perform search Actual results: Once the user from new domain is added ( -addPermissions) & log into webadmin instead admin@internal, the search result is correct. Expected results: Additional info: whole engine-manage-domains.log: =================================== 2012-09-19 17:22:01,768 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): ad2.rhev.lab.eng.brq.redhat.com 2012-09-19 17:22:01,917 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully created kerberos configuration for domain(s): ad2.rhev.lab.eng.brq.redhat.com 2012-09-19 17:22:01,917 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing kerberos configuration for domain: ad2.rhev.lab.eng.brq.redhat.com 2012-09-19 17:22:02,437 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully tested kerberos configuration for domain: ad2.rhev.lab.eng.brq.redhat.com 2012-09-19 17:22:02,440 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Applying kerberos configuration 2012-09-19 17:22:02,441 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserName to ad2.rhev.lab.eng.brq.redhat.com:vdcadmin2.LAB.ENG.BRQ.REDHAT.COM 2012-09-19 17:22:03,325 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserPassword to ad2.rhev.lab.eng.brq.redhat.com:******** 2012-09-19 17:22:03,956 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LdapServers to 2012-09-19 17:22:04,769 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserId to ad2.rhev.lab.eng.brq.redhat.com:681df905-967b-45f7-a106-a9ab82699ca2 2012-09-19 17:22:05,480 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LDAPSecurityAuthentication to ad2.rhev.lab.eng.brq.redhat.com:GSSAPI 2012-09-19 17:22:06,481 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for DomainName to ad2.rhev.lab.eng.brq.redhat.com 2012-09-19 17:22:07,446 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LDAPProviderTypes to ad2.rhev.lab.eng.brq.redhat.com:activeDirectory