[Engine-devel] watchdog patchset

2013-03-21 Thread Laszlo Hornyak
Hi,

The watchdog patch was broken down into a patchset:
http://gerrit.ovirt.org/13057
http://gerrit.ovirt.org/13058
http://gerrit.ovirt.org/13059
http://gerrit.ovirt.org/13060

You are welcome to review it, it is working, however due to internal changes it 
is being completely rewritten.

Laszlo
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Error during Create new VM [SOLVED]

2013-03-21 Thread Deepak C Shetty




Looks like some UI bug...

i clicked on '+' then the custom property combo chnaged to Pls select
key from no keys available, then create VM works !



can you reproduce this? open a bug to get it fixed?

Opened with screenshots...

https://bugzilla.redhat.com/show_bug.cgi?id=924201



Thanks,
   Itamar




___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Uwe Grawert
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.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Uwe Grawert
Hello Yair,

Am 21.03.2013 um 17:31 schrieb Yair Zaslavsky:
 Do you still have by any chance backup of the db + environment that caused 
 this exception?
 There is something I would like you to examine on the db of the faulty 
 installation if possible.
 
yes I have. What would you like to have?

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


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Yair Zaslavsky


- Original Message -
 From: Uwe Grawert graw...@b1-systems.de
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: engine-devel@ovirt.org
 Sent: Thursday, March 21, 2013 6:36:59 PM
 Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
 
 Hello Yair,
 
 Am 21.03.2013 um 17:31 schrieb Yair Zaslavsky:
  Do you still have by any chance backup of the db + environment that
  caused this exception?
  There is something I would like you to examine on the db of the
  faulty installation if possible.
  
 yes I have. What would you like to have?

Cool!

Please provide output for -

select * from vdc_options where option_name in 
('AdUserName','AdUserPassword','DomainName','LdapServers','LDAPProviderTypes');


 
  
  [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.
 
 
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Uwe Grawert
Am 21.03.2013 um 17:48 schrieb Yair Zaslavsky:

 
 
 - Original Message -
 From: Uwe Grawert graw...@b1-systems.de
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: engine-devel@ovirt.org
 Sent: Thursday, March 21, 2013 6:36:59 PM
 Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
 
 Hello Yair,
 
 Am 21.03.2013 um 17:31 schrieb Yair Zaslavsky:
 Do you still have by any chance backup of the db + environment that
 caused this exception?
 There is something I would like you to examine on the db of the
 faulty installation if possible.
 
 yes I have. What would you like to have?
 
 Cool!
 
 Please provide output for -
 
 select * from vdc_options where option_name in 
 ('AdUserName','AdUserPassword','DomainName','LdapServers','LDAPProviderTypes');

engine=# select * from vdc_options where option_name in 
('AdUserName','AdUserPassword','DomainName','LdapServers','LDAPProviderTypes');
 option_id |option_name| option_value | version 
---+---+--+-
10 | AdUserName|  | general
11 | AdUserPassword|  | general
56 | DomainName|  | general
   126 | LdapServers   |  | general
   127 | LDAPProviderTypes |  | general
(5 rows)

I haven't added any domains, yet.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Yair Zaslavsky
Hmm...
Well, there is nothing in your db in the values of these fields, but it should 
not have failed engine-manage-domains.

Can you send me the commit hash you built against , so I will be able to 
reproduce exactly you issue?

Many thanks,
Yair





- Original Message -
 From: Uwe Grawert graw...@b1-systems.de
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: engine-devel@ovirt.org
 Sent: Thursday, March 21, 2013 6:53:42 PM
 Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
 
 Am 21.03.2013 um 17:48 schrieb Yair Zaslavsky:
 
  
  
  - Original Message -
  From: Uwe Grawert graw...@b1-systems.de
  To: Yair Zaslavsky yzasl...@redhat.com
  Cc: engine-devel@ovirt.org
  Sent: Thursday, March 21, 2013 6:36:59 PM
  Subject: Re: [Engine-devel] Adding support for OpenLDAP to oVirt
  
  Hello Yair,
  
  Am 21.03.2013 um 17:31 schrieb Yair Zaslavsky:
  Do you still have by any chance backup of the db + environment
  that
  caused this exception?
  There is something I would like you to examine on the db of the
  faulty installation if possible.
  
  yes I have. What would you like to have?
  
  Cool!
  
  Please provide output for -
  
  select * from vdc_options where option_name in
  ('AdUserName','AdUserPassword','DomainName','LdapServers','LDAPProviderTypes');
 
 engine=# select * from vdc_options where option_name in
 ('AdUserName','AdUserPassword','DomainName','LdapServers','LDAPProviderTypes');
  option_id |option_name| option_value | version
 ---+---+--+-
 10 | AdUserName|  | general
 11 | AdUserPassword|  | general
 56 | DomainName|  | general
126 | LdapServers   |  | general
127 | LDAPProviderTypes |  | general
 (5 rows)
 
 I haven't added any domains, yet.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Juan Hernandez

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:


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.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Yair Zaslavsky


- Original Message -
 From: Yair Zaslavsky yzasl...@redhat.com
 To: Juan Hernandez jhern...@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 jhern...@redhat.com
  To: Uwe Grawert graw...@b1-systems.de
  Cc: Yair Zaslavsky yzasl...@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:
  
  http://gerrit.ovirt.org/12987
 
 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
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Adding support for OpenLDAP to oVirt

2013-03-21 Thread Uwe Grawert

Am 21.03.2013 um 18:06 schrieb Yair Zaslavsky:

 
 
 - Original Message -
 From: Yair Zaslavsky yzasl...@redhat.com
 To: Juan Hernandez jhern...@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 jhern...@redhat.com
 To: Uwe Grawert graw...@b1-systems.de
 Cc: Yair Zaslavsky yzasl...@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:
 
 http://gerrit.ovirt.org/12987
 
 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.

Right. I was quite old. Now I'm current and it works well.

[root@ovirt-nightly ovirt-engine]# git log -1
commit c743bf9f0e7a20b8c69423aef80079c6e7ffbf80
Author: Libor Spevak lspe...@redhat.com
Date:   Thu Mar 21 12:35:33 2013 +0100

[root@ovirt-nightly ovirt-engine]# engine-manage-domains -action=list
Manage Domains completed successfully

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel