Bug 856581 - [manage-domains] Spurious warning message when adding ipa domain. [TEXT]
Summary: [manage-domains] Spurious warning message when adding ipa domain. [TEXT]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-config
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.1.0
Assignee: Yair Zaslavsky
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-12 11:07 UTC by Andrew Cathrow
Modified: 2016-02-10 19:01 UTC (History)
7 users (show)

Fixed In Version: si19
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 19:58:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Cathrow 2012-09-12 11:07:44 UTC
Tested in si18

When adding an IPA domain using manage-domains I got the following warning

"WARNING: No permissions were added to the Engine. Login either with the internal admin user or with another configured user.?

Followed by a "success" message
"Successfully added domain ......."

The logs show


2012-09-12 04:57:52,788 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): rhev.redhat.com
2012-09-12 04:57:52,895 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully created kerberos configuration for domain(s): rhev.redhat.com
2012-09-12 04:57:52,895 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing kerberos configuration for domain: rhev.redhat.com
2012-09-12 04:57:59,234 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully tested kerberos configuration for domain: rhev.redhat.com
2012-09-12 04:57:59,255 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomains] Applying kerberos configuration
2012-09-12 04:57:59,277 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserName to rhev.redhat.com:admin.COM
2012-09-12 04:58:01,784 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserPassword to rhev.redhat.com:********
2012-09-12 04:58:04,033 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LdapServers to 
2012-09-12 04:58:06,507 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for AdUserId to rhev.redhat.com:6d39ec20-f096-11e1-a798-525400ecf885
2012-09-12 04:58:08,780 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LDAPSecurityAuthentication to rhev.redhat.com:GSSAPI
2012-09-12 04:58:10,043 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for DomainName to rhev.redhat.com
2012-09-12 04:58:11,571 INFO  [org.ovirt.engine.core.utils.kerberos.ManageDomainsDAOImpl] Setting value for LDAPProviderTypes to rhev.redhat.com:ipa

Comment 7 Pavel Stehlik 2012-09-14 17:39:04 UTC
Successfully added domain XYZ. oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart).

This is indeed false. Used with addPermissions, however once the service is restarted, browser offers only 'internal' domain anyway.

Comment 11 Yair Zaslavsky 2012-09-19 15:28:08 UTC
Upstream patch:

http://gerrit.ovirt.org/#/c/8062/1


Note You need to log in before you can comment on or make changes to this bug.