[Engine-devel] Adding support for OpenLDAP to oVirt

Juan Hernandez jhernand at redhat.com
Thu Mar 21 16:59:40 UTC 2013


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 at 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:

http://gerrit.ovirt.org/12987

-- 
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.



More information about the Engine-devel mailing list