
----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs@redhat.com> To: "Juan Hernandez" <jhernand@redhat.com> Cc: engine-devel@ovirt.org Sent: Thursday, March 21, 2013 7:03:06 PM Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
----- Original Message -----
From: "Juan Hernandez" <jhernand@redhat.com> To: "Uwe Grawert" <grawert@b1-systems.de> Cc: "Yair Zaslavsky" <yzaslavs@redhat.com>, engine-devel@ovirt.org Sent: Thursday, March 21, 2013 6:59:40 PM Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
On 03/21/2013 03:49 PM, Uwe Grawert wrote:
Hello Yair,
Am 20.03.2013 um 08:24 schrieb Yair Zaslavsky:
Hi Uwe, Bare in mind we have some plans for refactoring/changing the authentication module. However, for the meanwhile - we will be very happy if you can assist in adding this support. I would like to introduce you to a Wiki that Oved Ourfali has written about the subject -
good to know. Refactoring will probably take some time, so I hope it's still worth the effort.
http://www.ovirt.org/DomainInfrastructure Please let us know if this helps you with your questions.
So far I am simply copying what has been done for ITDS and adopting things to OpenLdap. I am using the git tag "ovirt-engine-3.2.1", since I am getting the following error when using HEAD:
[root@ovirt-nightly ~]# engine-manage-domains -action=list Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 at org.ovirt.engine.core.domains.DomainsConfigurationEntry.<init>(DomainsConfigurationEntry.java:23) at org.ovirt.engine.core.domains.ManageDomains.getConfiguration(ManageDomains.java:423) at org.ovirt.engine.core.domains.ManageDomains.runCommand(ManageDomains.java:293) at org.ovirt.engine.core.domains.ManageDomains.main(ManageDomains.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.modules.Module.run(Module.java:260) at org.jboss.modules.Main.main(Main.java:291)
I created only ovirt-engine RPMs and installed them with --nodeps. Might be that I am missing some dependency here. Anyways, ovirt-engine-3.2.1 release tag is working, and diffs will very likely apply to HEAD as well.
Note that we recently fixed an issue with how engine-config uses the log and the standard output which had this same symptom. You may want to apply this patch (already merged in the master branch) and then try again:
Actually, I think Juan is right, and I saw this error myself when the patch he mentioned was not applied.
Juan's patch was introduced *after* the commit hash you mentioned was introduced. Please rebase again or at least apply his patch.
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel