Re: [Users] Pools and pre-started VM in 3.2

2013-02-28 Thread Michal Skrivanek

On Feb 27, 2013, at 23:56 , Jiri Belka  wrote:

> On Tue, 26 Feb 2013 16:10:00 +0100
> Gianluca Cecchi  wrote:
> 
>> Hello,
>> 
>> f18 node + f18 engine, both in 3.2 final.
>> If I create a pool, the "prestarted VM" field is grayed out.
>> See:
>> https://docs.google.com/file/d/0BwoPbcrMv8mvN3d2a0drb0szYk0/edit?usp=sharing
>> 
>> After creation of this 5-VM pool,  I can go and edit it and set 2 in
>> prestarted field, and after several seconds 2 VM are correctly started
>> by engine.
>> 
>> Do I have to configure any engine parameter to be able to set
>> prestarted VM at pool creation? Or is this the expected behavior to
>> set only on edit?
> 
> Works as design, when creating a pool you still do not know/have
> all VMs, so you cannot guarantee they would be prestarted.
> 
> So when the pool is really created, then you edit and defined number
> of prestarted VMs.
> 
> Am I right?
yes
that's why we've added that help tooltip….but it's still a bit cumbersome…but 
IIRC solving this was a bit complicated because of failure handling

Thanks,
michal
> jbelka
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rebuild of src.rpm not "self contained"?

2013-02-28 Thread Juan Hernandez

On 02/27/2013 11:55 PM, Gianluca Cecchi wrote:

On Wed, Feb 27, 2013 at 10:58 PM, Gianluca Cecchi
 wrote:

On Wed, Feb 27, 2013 at 10:51 PM, Itamar Heim wrote:

On 27/02/2013 15:25, Gianluca Cecchi wrote:


2) In general when I start from a src.rpm, the build is sort of
self-contained. Instead for ovirt-engine it downloaded many packages
from web sites (maven, atlassian, ecc...) during the build. How can I
be sure that my build is the same today and tomorrow, starting from
the same src.rpm?



you'd have to force maven to use a pre-defined repo, rather than pull from
the various artifactories.



Sorry, perhaps my ignorance, but the times I had to rebuild rpm
package.rpm what I had to do was:

- rpm -ivh package.src.rpm
- go into ~/rpmbuild/SPECS and eventually modify package.spec file
- go into ~/rpmbuild/SOURCES and eventually modify/delete/add source
files and/or patches
- go into ~/rpmbuild/SPECS and run
rpmbuild -bb package.spec

How does it fit your sentence regarding maven? What to operationally
do to build the same package as in stable rpm repo (after the source
change)?



The way to build the RPM is as you did.

The main build tool used by ovirt-engine is maven, and one of the 
principles of maven is that dependencies are downloaded from different 
remote repositories during the build. It is assumed that these 
repositories are trusted, and that the downloaded artifacts (mostly .jar 
files) that they store won't be altered. This guarantees that the build 
is repeatable.


The remote repositories that the project uses (you can check in the 
"repositories" section of the pom.xml file) are well known and generally 
trusted.


If you don't trust these repositories then you can use your own, but 
then you will have to populate it with artifacts compatible with the 
ones that project uses, and that means hundreds of them.


Distributions like Fedora, for example, don't trust these repositories, 
for several different reasons that I won't get into here. What they do 
is that they provide a modified version of maven (the name is 
"mvn-rpmbuild") that simulates a maven repository using only the 
packages already available in the distribution. But this means that they 
have to package each and every artifact needed to do the build, and 
again this means hundreds of them. The ovirt-engine project doesn't use 
that modified version of maven because some of the artifacts that it 
needs are not available as Fedora packages, in particular all the GWT 
artifacts needed by the GUI applications are missing.


We collaborated with the Fedora community and did quite an effort to 
bring many of the required dependencies to Fedora, for example JBoss AS, 
Spring, Resteasy, Apache Mina, Apache SSHD, etc. But we still miss GWT, 
which requires a non trivial effort to package. With that we have been 
able to package everything but the GUI for Fedora.


So as long as there are missing dependencies the only way to build the a 
complete ovirt-engine package is using the traditional (and not that 
bad) maven principles.



Thanks,
Gianluca



after creating a simple script to compare explosion (rpm2cpio | cpio
-idmu) of the several rpm produced with "diff -r" against the original
exploded files, this is what I get:


All these changes are normal:

* The RPM build process by default re-packages all .jar files with every 
build, unless you use the __jar_repack macro when calling rpmbuild:


  rpbuild --define="__jar_repack 0"

The result is that the .jar files will allways be different.

* The MANIFEST.MF files include the name of the user that did the build. 
We could avoid that, but I think it is not worth, as it doesn't have any 
effect.


* The pom.properties files are generated during the build by maven, and 
they contain the date. We could exclude those files as they are not 
really needed, but again I think it is not worth.


* The .pyc and .pyo files are usually generated by the RPM build 
process. You may need to install the "redhat-rpm-config" package to have 
that enabled by default. But anyway it is not really relevant, it only 
improves a bit the startup of python scripts, and the ovirt-engine 
project doesn't use python scripts intensively (VDSM does).


* Almost all the files in the webadmin and userportal applications are 
generated by the GWT compiler during the build, and they have different 
names for each build. Nothing to worry about here.


So all in all, the differences you see are normal and expected.



[g.cecchi@tekkaman compare]$ ./compare.sh
 ovirt-engine-3.2.0-4.fc18.noarch.rpm 
Binary files new/usr/share/java/ovirt-engine/common.jar and
old/usr/share/java/ovirt-engine/common.jar differ
Binary files new/usr/share/java/ovirt-engine/compat.jar and
old/usr/share/java/ovirt-engine/compat.jar differ
Binary files new/usr/share/java/ovirt-engine/utils.jar and
old/usr/share/java/ovirt-engine/utils.jar differ
Only in old/usr/share/ovirt-engine/service: engine-service.pyc
Only in old/usr/share/ovirt-

Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine

2013-02-28 Thread Yair Zaslavsky
Hi Eduardo,
We mainly focus on supporting Kerberos authentication at the moment
Can you switch to kerberos authentication?



- Original Message -
> From: "Eduardo Ramos" 
> To: users@ovirt.org
> Sent: Wednesday, February 27, 2013 11:04:17 PM
> Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine
> 
> Anyone has made success with that?
> 
> 
> On 12/10/2012 10:18 AM, Eduardo Ramos wrote:
> > Hi dudes!
> >
> > I was following the model below, but without success. That is my
> > db:
> >
> >
> > engine=# select * from vdc_options where option_name in
> > ('DomainName','LdapServers','LDAPSecurityAuthentication','LDAPProviderTypes','AdUserName','AdUserPassword','AdUserId');
> >  option_id |option_name | option_value
> > | version
> > ---+++-
> >
> > 63 | DomainName | ovirt
> >  | general
> >  8 | AdUserName |
> > ovirt:admin|
> > general
> >113 | LDAPProviderTypes  |
> > ovirt:ipa  |
> > general
> >112 | LdapServers|
> > ovirt:172.16.21.240|
> > general
> >110 | LDAPSecurityAuthentication |
> > ovirt:SIMPLE   |
> > general
> >  9 | AdUserPassword |
> > ovirt:e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg= |
> > general
> > (7 rows)
> >
> > As you can see, my ldap server and domain are internal. That's my
> > ldap
> > user object:
> >
> > # admin, Users, Accounts, inpe.br
> > dn: cn=admin,cn=Users,cn=Accounts,dc=ovirt
> > givenName: Admin
> > sn: istrator
> > uid: admin
> > userPassword:: e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg=
> > uidNumber: 1001
> > gidNumber: 502
> > homeDirectory: /home/users/admin
> > loginShell: /bin/sh
> > objectClass: inetOrgPerson
> > objectClass: posixAccount
> > objectClass: top
> > cn: admin
> >
> > But the log aways returns:
> >
> > 2012-12-10 10:07:00,317 ERROR
> > [org.ovirt.engine.core.bll.adbroker.LdapSearchExceptionHandler]
> > (ajp--0.0.0.0-8009-11) Ldap authentication failed. Please check
> > that
> > the login name , password and path are correct.
> > 2012-12-10 10:07:00,321 ERROR
> > [org.ovirt.engine.core.bll.adbroker.DirectorySearcher]
> > (ajp--0.0.0.0-8009-8) Failed ldap search server
> > ldap://172.16.21.240:389 due to
> > org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException.
> > We
> > should not try the next server:
> > org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException
> >
> > Am I doing the right way?
> >
> > On 12/04/2012 07:07 AM, Oved Ourfalli wrote:
> >>
> >> - Original Message -
> >>> From: "Thierry Kauffmann" 
> >>> To: "Oved Ourfalli" 
> >>> Cc: "Itamar Heim" , users@ovirt.org
> >>> Sent: Tuesday, December 4, 2012 10:35:34 AM
> >>> Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
> >>> Engine
> >>>
> >>>
> >>> Le 04/12/2012 09:09, Oved Ourfalli a écrit :
> >>>
> >>>
> >>> - Original Message -
> >>>
> >>> From: "Itamar Heim"  To: "Oved Ourfalli"
> >>>  Cc: users@ovirt.org , "Thierry Kauffmann"
> >>>  Sent: Tuesday, December 4,
> >>> 2012
> >>> 1:47:52 AM
> >>> Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
> >>> Engine
> >>>
> >>> On 12/02/2012 08:10 AM, Oved Ourfalli wrote:
> >>>
> >>> - Original Message -
> >>>
> >>> From: "Thierry Kauffmann"  To:
> >>> "cristi falcas"  Cc: users@ovirt.org
> >>> Sent:
> >>> Saturday, December 1, 2012 5:56:14 PM
> >>> Subject: [Users] OpenLDAP Simple Authentication in Ovirt Engine
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Hi,
> >>>
> >>> I am currently testing Ovirt 3.1 standalone on Fedora 17.
> >>>
> >>> Until now, I could only use the default user admin@internal.
> >>>
> >>> Our Directory at the University is OpenLDAP. We use it for
> >>> authentication
> >>> WITHOUT Kerberos : Simple authentication.
> >>>
> >>> I wonder how to use this backend to authenticate users and manage
> >>> groups
> >>> in Ovirt.
> >>>
> >>> Has anyone already set this up ?
> >>> How to configure Ovirt to use Simple Authentication (No
> >>> Kerberos).
> >>>
> >>> Cheers,
> >>>
> >>> --
> >>> Thierry Kauffmann
> >>> Chef du Service Informatique // Facult? des Sciences //
> >>> Universit?
> >>> de
> >>> Montpellier 2
> >>>
> >>> [image: SIF - Service Informatique de la Facult? des
> >>> Sciences]
> >>>  [image:
> >>> UM2 - Universit? de Montpellier 2] 
> >>> Service
> >>> informatique de la Facult? des Sciences (SIF)
> >>> Universit? de Montpellier 2
> >>>CC437 // Place Eug?ne Bataillon // 34095 Montpellier Cedex 5
> >>>
> >>> T?l : 04 67 14 31 58
> >>> email : thierry.kauffm...@univ-montp2.fr web :

[Users] Spice client USB - Linux

2013-02-28 Thread Winfried de Heiden

Hi all,

As mentioned in the features of oVirt, I should be able to use an 
USB-drive on my (Spice) guest.However, the option to choose an USB 
device is greyed out in the Spice Console.


"Big Uncle" RHEV 3.1 tells in 
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Power_User_Portal_Guide/Using_Desktop-Using_USB_on_VM.html#Using_Desktop-Using_USB_on_VM_Native_PUP 
to use "Native USB"


Am I missing something? Or: I tried using a serverprofile. Is USB 
redirection only available using a desktop profile? Anyway: how can I 
enable USB on my Spice Client. (Fedora 18)


Kind regards,

Winfried


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine

2013-02-28 Thread Jure Kranjc
I was also testing simple auth without success. Our ldap doesn't support 
kerberos so we're stuck. Engine log doesn't report anything, and the 
server log shows:


2013-02-28 09:53:52,850 INFO  [org.jboss.as.server] 
(DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment 
"engine.ear" was rolled back with failure message {"JBAS014671: Failed 
services" => 
{"jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START" 
=> "org.jboss.msc.service.StartException in service 
jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START: 
Failed to start service"}}


We're using 3.1 on CentOS, rpms from dev.centos.org repo.


On 02/28/2013 09:33 AM, Yair Zaslavsky wrote:

Hi Eduardo,
We mainly focus on supporting Kerberos authentication at the moment
Can you switch to kerberos authentication?



- Original Message -

From: "Eduardo Ramos" 
To: users@ovirt.org
Sent: Wednesday, February 27, 2013 11:04:17 PM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine

Anyone has made success with that?


On 12/10/2012 10:18 AM, Eduardo Ramos wrote:

Hi dudes!

I was following the model below, but without success. That is my
db:


engine=# select * from vdc_options where option_name in
('DomainName','LdapServers','LDAPSecurityAuthentication','LDAPProviderTypes','AdUserName','AdUserPassword','AdUserId');
  option_id |option_name | option_value
| version
---+++-

 63 | DomainName | ovirt
  | general
  8 | AdUserName |
ovirt:admin|
general
113 | LDAPProviderTypes  |
ovirt:ipa  |
general
112 | LdapServers|
ovirt:172.16.21.240|
general
110 | LDAPSecurityAuthentication |
ovirt:SIMPLE   |
general
  9 | AdUserPassword |
ovirt:e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg= |
general
(7 rows)

As you can see, my ldap server and domain are internal. That's my
ldap
user object:

# admin, Users, Accounts, inpe.br
dn: cn=admin,cn=Users,cn=Accounts,dc=ovirt
givenName: Admin
sn: istrator
uid: admin
userPassword:: e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg=
uidNumber: 1001
gidNumber: 502
homeDirectory: /home/users/admin
loginShell: /bin/sh
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
cn: admin

But the log aways returns:

2012-12-10 10:07:00,317 ERROR
[org.ovirt.engine.core.bll.adbroker.LdapSearchExceptionHandler]
(ajp--0.0.0.0-8009-11) Ldap authentication failed. Please check
that
the login name , password and path are correct.
2012-12-10 10:07:00,321 ERROR
[org.ovirt.engine.core.bll.adbroker.DirectorySearcher]
(ajp--0.0.0.0-8009-8) Failed ldap search server
ldap://172.16.21.240:389 due to
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException.
We
should not try the next server:
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException

Am I doing the right way?

On 12/04/2012 07:07 AM, Oved Ourfalli wrote:

- Original Message -

From: "Thierry Kauffmann" 
To: "Oved Ourfalli" 
Cc: "Itamar Heim" , users@ovirt.org
Sent: Tuesday, December 4, 2012 10:35:34 AM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
Engine


Le 04/12/2012 09:09, Oved Ourfalli a écrit :


- Original Message -

From: "Itamar Heim"  To: "Oved Ourfalli"
 Cc: users@ovirt.org , "Thierry Kauffmann"
 Sent: Tuesday, December 4,
2012
1:47:52 AM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
Engine

On 12/02/2012 08:10 AM, Oved Ourfalli wrote:

- Original Message -

From: "Thierry Kauffmann"  To:
"cristi falcas"  Cc: users@ovirt.org
Sent:
Saturday, December 1, 2012 5:56:14 PM
Subject: [Users] OpenLDAP Simple Authentication in Ovirt Engine






Hi,

I am currently testing Ovirt 3.1 standalone on Fedora 17.

Until now, I could only use the default user admin@internal.

Our Directory at the University is OpenLDAP. We use it for
authentication
WITHOUT Kerberos : Simple authentication.

I wonder how to use this backend to authenticate users and manage
groups
in Ovirt.

Has anyone already set this up ?
How to configure Ovirt to use Simple Authentication (No
Kerberos).

Cheers,

--
Thierry Kauffmann
Chef du Service Informatique // Facult? des Sciences //
Universit?
de
Montpellier 2

 [image: SIF - Service Informatique de la Facult? des
 Sciences]
  [image:
UM2 - Universit? de Montpellier 2] 
Service
informatique de la Facult? des Sciences (SIF)
Universit? de Montpellier 2
CC437 // Place Eug?ne Bataillon // 34095 Montpelli

Re: [Users] build web without GWT

2013-02-28 Thread Shahar Havivi
On 28.02.13 13:39, bigclouds wrote:
> GWT  convert java to js.  
> normal web application  i mean  like SSH.front is web-language, backend 
> is java..
> no use to convert java to js.
maybe you want to try the sample user portals that we have,
its work with the oVirt SDK - no GWT.
http://www.ovirt.org/Sample_user_portals
> 
> 
> thanks
> 
> 
> 
> 
> 
> 
> 
> At 2013-02-28 13:11:53,"Yair Zaslavsky"  wrote:
> 
> Hi,
> I'm not sure what you mean by this? If you disable GWT during build, you will 
> not have the web application (or to be precise - if you don't clear the 
> engine.ear, you will have web applications, but not  of the "newest version"
> 
> 
> 
> 
> 
> 
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, February 28, 2013 7:08:25 AM
> Subject: [Users] build web without GWT
> 
> 
> hi, i  do not know GWT, hard to debug.
> so how to disable GWT when build,  get a normal web application?
> 
> 
> thanks
> 
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 

> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.2: impossiible to delete a snapshot?

2013-02-28 Thread Gianluca Cecchi
On Wed, Feb 27, 2013 at 1:26 PM, Gianluca Cecchi wrote:
>
> I have not the system with me now but I'm going to provide screenshots
> this evening
> It is my @HOME environment that consists on one fedora 18 system with
> all-in-one 3.2
> I only have one WIndows XP VM on it

Possibly the problem is due to the VM having a disk in illegal state...
In fact I can't reproduce on another system with similar setup (3.2
final but not all-in-one).
I'm going to clean the situation and then retry.

Thanks in the mean time,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.2: impossiible to delete a snapshot?

2013-02-28 Thread noc

On 28-2-2013 11:44, Gianluca Cecchi wrote:

On Wed, Feb 27, 2013 at 1:26 PM, Gianluca Cecchi wrote:

I have not the system with me now but I'm going to provide screenshots
this evening
It is my @HOME environment that consists on one fedora 18 system with
all-in-one 3.2
I only have one WIndows XP VM on it

Possibly the problem is due to the VM having a disk in illegal state...
In fact I can't reproduce on another system with similar setup (3.2
final but not all-in-one).
I'm going to clean the situation and then retry.


I'm also running 3.2 stable on F18 and can delete snapshots but as 
Gianluca can't clone. Get the same blank window. Saw the fix but since 
its a java.class change would need a rebuild of 3.2
Any idea when a wrap up of several bugs found and fixed will be up at 
ovirt.org?


Thanks,

Joop

--
irc: jvandewege
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 final and status of spice console in ie

2013-02-28 Thread Juan Jose
Many thanks,

But to me one question arise, with a Windows clients, XP or 7, any version,
it's possible to use the User Portal to be able users lauch the VM
console?, or it's mandatory to have Fedora clients with spice-xpi for
firefox.

On the other hand, if Spice consoles in windows clients can't be used for
oVirt 3.1, is It possible open VM consoles from Windows clients with VNC?
and in affirmative case, is there some how-to similar to Spice how-to?

Many thanks in avanced,

Juanjo.


On Wed, Feb 27, 2013 at 8:39 PM, Jeff Bailey  wrote:

> On 2/27/2013 11:01 AM, Gianluca Cecchi wrote:
>
>> On Wed, Feb 27, 2013 at 4:48 PM, Juan Jose  wrote:
>>
>>> Hello Karli,
>>>
>>> I'm working with a oVirt version 3.1, but I have read that Gianluca have
>>> been able to do this console works. Anybody can help us providing some
>>> guidance?
>>>
>>> Many thanks in avanced,
>>>
>>> Juanjo.
>>>
>> keep in mind that I have only used spice console with oVirt version
>> 3.2 final and ie 9 32 bit in the client
>>
>
> I've never gotten it to work in IE (3.1 or 3.2) but haven't put lots of
> effort into finding out why.  I get the exact same results (client for a
> couple of seconds).  I believe it's always been with IE 9 and Windows 7/64.
>
>
>  __**_
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/**mailman/listinfo/users
>>
>
> __**_
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/**mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 final and status of spice console in ie

2013-02-28 Thread Karli Sjöberg
tor 2013-02-28 klockan 12:13 +0100 skrev Juan Jose:
Many thanks,


But to me one question arise, with a Windows clients, XP or 7, any version, 
it's possible to use the User Portal to be able users lauch the VM console?, or 
it's mandatory to have Fedora clients with spice-xpi for firefox.
It would seem impossible with oVirt-3.1, which is the biggest reason why we 
cannot take into any real production at the moment:( What good does it do that 
it works with Fedora when the total of people using it counts to 1(me)?



On the other hand, if Spice consoles in windows clients can't be used for oVirt 
3.1, is It possible open VM consoles from Windows clients with VNC? and in 
affirmative case, is there some how-to similar to Spice how-to?
RealVNC, TightVNC etc. But in my opinion the addidtional steps to launch the 
console required by our potential customers are too much of a turn off compared 
the one-click experince they´d get with SPICE.

/Karli


Many thanks in avanced,


Juanjo.


On Wed, Feb 27, 2013 at 8:39 PM, Jeff Bailey 
mailto:bai...@cs.kent.edu>> wrote:
On 2/27/2013 11:01 AM, Gianluca Cecchi wrote:
On Wed, Feb 27, 2013 at 4:48 PM, Juan Jose  wrote:
Hello Karli,

I'm working with a oVirt version 3.1, but I have read that Gianluca have
been able to do this console works. Anybody can help us providing some
guidance?

Many thanks in avanced,

Juanjo.
keep in mind that I have only used spice console with oVirt version
3.2 final and ie 9 32 bit in the client


I've never gotten it to work in IE (3.1 or 3.2) but haven't put lots of effort 
into finding out why.  I get the exact same results (client for a couple of 
seconds).  I believe it's always been with IE 9 and Windows 7/64.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] how you all read vdsm code?

2013-02-28 Thread bigclouds
hi:
   vdsm is not a project, i import code into eclipse,but its dependency is 
error(not parsed automaticly).
developers hot you all write the codes?
which IDE is suitable?
thanks___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how you all read vdsm code?

2013-02-28 Thread Antoni Segura Puimedon
I personally just use:

vim with the following plugins:

pathogen
|-fugitive
|-minibufexplorer
|-syntastic
|-nerdcommenter

Best,

Toni

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, February 28, 2013 12:38:42 PM
> Subject: [Users] how you all read vdsm code?
> 
> 
> 
> hi:
> vdsm is not a project, i import code into eclipse,but its dependency
> is error(not parsed automaticly).
> developers hot you all write the codes?
> which IDE is suitable?
> thanks
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot remove disk, storage domain corrupted ?

2013-02-28 Thread Matt .
At the moment I'm not able to start/stop any VM, I also cannot activate my
host/node and even removing storage is not possible.

In simple words I'm totally stuck, so what would be the best possibilty to
fix this at this moment ?


2013/2/27 YamakasY 

> Hi All,
>
> I have a strange issue with testdisks I created. My Vm's are working fine
> on both storage domains, local and NFS but I cannot remove also from both.
>
> Here is my log:
>
> 2013-02-27 11:36:50,703 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand]
> (pool-3-thread-50) [68bb2cec] FINISH, DeleteImageGroupVDSCommand, log id:
> 6dfbe300
> 2013-02-27 11:36:50,704 ERROR
> [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
> [68bb2cec] Command org.ovirt.engine.core.bll.RemoveImageCommand throw Vdc
> Bll exception. With error message VdcBLLException:
> org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
> IRSGenericException: IRSErrorException: Storage domain layout corrupted:
> ('222a9c6d-0c6b-41dd-9239-8ab83ce3f618',)
> 2013-02-27 11:36:50,710 INFO
> [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
> [68bb2cec] Command [id=18b5ad2d-cc67-4aab-a10c-2d5ab7e60269]: Compensating
> CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.businessentities.Image;
> snapshot: EntityStatusSnapshot [id=1760a9e1-0f81-4afb-90ea-2f9dc5d90975,
> status=ILLEGAL].
> 2013-02-27 11:36:56,077 INFO  [org.ovirt.engine.core.bll.LoginUserCommand]
> (ajp--127.0.0.1-8702-5) Running command: LoginUserCommand internal: false.
>
> What could this be ?
>
> Thanks,
>
> Matt
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how you all read vdsm code?

2013-02-28 Thread Yeela Kaplan
I use netbeans,
but you can also use eclipse with pydev plugin,
and also vim as Antoni suggested.

- Original Message -
> From: "Antoni Segura Puimedon" 
> To: "bigclouds" 
> Cc: users@ovirt.org
> Sent: Thursday, February 28, 2013 1:42:04 PM
> Subject: Re: [Users] how you all read vdsm code?
> 
> I personally just use:
> 
> vim with the following plugins:
> 
> pathogen
> |-fugitive
> |-minibufexplorer
> |-syntastic
> |-nerdcommenter
> 
> Best,
> 
> Toni
> 
> - Original Message -
> > From: "bigclouds" 
> > To: users@ovirt.org
> > Sent: Thursday, February 28, 2013 12:38:42 PM
> > Subject: [Users] how you all read vdsm code?
> > 
> > 
> > 
> > hi:
> > vdsm is not a project, i import code into eclipse,but its
> > dependency
> > is error(not parsed automaticly).
> > developers hot you all write the codes?
> > which IDE is suitable?
> > thanks
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine

2013-02-28 Thread Roy Golan

On 02/28/2013 11:04 AM, Jure Kranjc wrote:
I was also testing simple auth without success. Our ldap doesn't 
support kerberos so we're stuck. Engine log doesn't report anything, 
and the server log shows:


2013-02-28 09:53:52,850 INFO  [org.jboss.as.server] 
(DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment 
"engine.ear" was rolled back with failure message {"JBAS014671: Failed 
services" => 
{"jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START" 
=> "org.jboss.msc.service.StartException in service 
jboss.deployment.subunit.\"engine.ear\".\"engine-bll.jar\".component.UsersDomainsCacheManagerService.START: 
Failed to start service"}}


We're using 3.1 on CentOS, rpms from dev.centos.org repo.



lets debug kerberos:

vi /var/lib/jboss/jboss-as/bin/run.conf
add this at the bottom

JAVA_OPTS="$JAVA_OPTS -Dsun.security.krb5.debug=true"

restart jboss

Its weird that the ear didn't deploy. Please paste engine.log and server.log



On 02/28/2013 09:33 AM, Yair Zaslavsky wrote:

Hi Eduardo,
We mainly focus on supporting Kerberos authentication at the moment
Can you switch to kerberos authentication?



- Original Message -

From: "Eduardo Ramos" 
To: users@ovirt.org
Sent: Wednesday, February 27, 2013 11:04:17 PM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt Engine

Anyone has made success with that?


On 12/10/2012 10:18 AM, Eduardo Ramos wrote:

Hi dudes!

I was following the model below, but without success. That is my
db:


engine=# select * from vdc_options where option_name in
('DomainName','LdapServers','LDAPSecurityAuthentication','LDAPProviderTypes','AdUserName','AdUserPassword','AdUserId'); 


  option_id |option_name | option_value
| version
---+++- 



 63 | DomainName | ovirt
  | general
  8 | AdUserName |
ovirt:admin|
general
113 | LDAPProviderTypes  |
ovirt:ipa  |
general
112 | LdapServers|
ovirt:172.16.21.240|
general
110 | LDAPSecurityAuthentication |
ovirt:SIMPLE   |
general
  9 | AdUserPassword |
ovirt:e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg= |
general
(7 rows)

As you can see, my ldap server and domain are internal. That's my
ldap
user object:

# admin, Users, Accounts, inpe.br
dn: cn=admin,cn=Users,cn=Accounts,dc=ovirt
givenName: Admin
sn: istrator
uid: admin
userPassword:: e1NTSEF9aENLaXVoNUQzOXV0S1A0QlBZa3J4WVBaM2doUjNMNFg=
uidNumber: 1001
gidNumber: 502
homeDirectory: /home/users/admin
loginShell: /bin/sh
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
cn: admin

But the log aways returns:

2012-12-10 10:07:00,317 ERROR
[org.ovirt.engine.core.bll.adbroker.LdapSearchExceptionHandler]
(ajp--0.0.0.0-8009-11) Ldap authentication failed. Please check
that
the login name , password and path are correct.
2012-12-10 10:07:00,321 ERROR
[org.ovirt.engine.core.bll.adbroker.DirectorySearcher]
(ajp--0.0.0.0-8009-8) Failed ldap search server
ldap://172.16.21.240:389 due to
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException.
We
should not try the next server:
org.ovirt.engine.core.bll.adbroker.EngineDirectoryServiceException

Am I doing the right way?

On 12/04/2012 07:07 AM, Oved Ourfalli wrote:

- Original Message -

From: "Thierry Kauffmann" 
To: "Oved Ourfalli" 
Cc: "Itamar Heim" , users@ovirt.org
Sent: Tuesday, December 4, 2012 10:35:34 AM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
Engine


Le 04/12/2012 09:09, Oved Ourfalli a écrit :


- Original Message -

From: "Itamar Heim"  To: "Oved Ourfalli"
 Cc: users@ovirt.org , "Thierry Kauffmann"
 Sent: Tuesday, December 4,
2012
1:47:52 AM
Subject: Re: [Users] OpenLDAP Simple Authentication in Ovirt
Engine

On 12/02/2012 08:10 AM, Oved Ourfalli wrote:

- Original Message -

From: "Thierry Kauffmann"  To:
"cristi falcas"  Cc: users@ovirt.org
Sent:
Saturday, December 1, 2012 5:56:14 PM
Subject: [Users] OpenLDAP Simple Authentication in Ovirt Engine






Hi,

I am currently testing Ovirt 3.1 standalone on Fedora 17.

Until now, I could only use the default user admin@internal.

Our Directory at the University is OpenLDAP. We use it for
authentication
WITHOUT Kerberos : Simple authentication.

I wonder how to use this backend to authenticate users and manage
groups
in Ovirt.

Has anyone already set this up ?
How to configure Ovirt to use Simple Authentication (No
Kerberos).

Cheers,

--
Thierry Kauffmann
Chef du Service Informatique // Facult? des Sciences //
Universit?
de
Montpellier 2

 [image: SIF - Service Informatiq

Re: [Users] Logical network with vlan over bonded nics

2013-02-28 Thread Lior Vernia
Hello Mr. Kashin,

It is possible to attach multiple networks to a single bond (or an
independent network interface), but only if all attached networks have
VLAN tagging enabled, and each of them has a distinct VLAN ID.

In the screenshot you attached, the problem would be that ovirtmgmt
doesn't have VLAN tagging enabled, thus it would not be possible to
attach an additional network to that bond.

Yours, Lior.

On 27/02/13 18:26, Aleksey Kashin wrote:
> Hello.
> 
> I'm using FC 18 and ovirt 3.2.
> When I trying add logical network (vlan930) over bonded nics I'm getting
> the following error: No valid operation for vlan930 and bond0.
> Here is screenshot - http://ubuntuone.com/5bi19rt3Shrc3ETCjyc8Jp
> Can I accomplish that or I'm wrong?
> 
> Thank you.
> 
> Regards, Aleksey Kashin.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot remove disk, storage domain corrupted ?

2013-02-28 Thread Liron Aravot
Hi Matt, please attach the engine and vdsm logs.
thanks.

- Original Message -
> From: "Matt ." 
> To: "users" 
> Sent: Thursday, February 28, 2013 1:59:59 PM
> Subject: Re: [Users] Cannot remove disk, storage domain corrupted ?
> 
> 
> 
> 
> At the moment I'm not able to start/stop any VM, I also cannot
> activate my host/node and even removing storage is not possible.
> 
> In simple words I'm totally stuck, so what would be the best
> possibilty to fix this at this moment ?
> 
> 
> 
> 
> 2013/2/27 YamakasY < yamakasi@gmail.com >
> 
> 
> 
> Hi All,
> 
> I have a strange issue with testdisks I created. My Vm's are working
> fine on both storage domains, local and NFS but I cannot remove also
> from both.
> 
> Here is my log:
> 
> 2013-02-27 11:36:50,703 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.DeleteImageGroupVDSCommand]
> (pool-3-thread-50) [68bb2cec] FINISH, DeleteImageGroupVDSCommand,
> log id: 6dfbe300
> 2013-02-27 11:36:50,704 ERROR
> [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
> [68bb2cec] Command org.ovirt.engine.core.bll.RemoveImageCommand
> throw Vdc Bll exception. With error message VdcBLLException:
> org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
> IRSGenericException: IRSErrorException: Storage domain layout
> corrupted: ('222a9c6d-0c6b-41dd-9239-8ab83ce3f618',)
> 2013-02-27 11:36:50,710 INFO
> [org.ovirt.engine.core.bll.RemoveImageCommand] (pool-3-thread-50)
> [68bb2cec] Command [id=18b5ad2d-cc67-4aab-a10c-2d5ab7e60269]:
> Compensating CHANGED_STATUS_ONLY of
> org.ovirt.engine.core.common.businessentities.Image; snapshot:
> EntityStatusSnapshot [id=1760a9e1-0f81-4afb-90ea-2f9dc5d90975,
> status=ILLEGAL].
> 2013-02-27 11:36:56,077 INFO
> [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-5)
> Running command: LoginUserCommand internal: false.
> 
> What could this be ?
> 
> Thanks,
> 
> Matt
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] BZ893999: sort ordering in webadmin gui

2013-02-28 Thread Ken Booth

Hi Omer et al,

Is there any workaround to get an ordered list of guests based upon sort 
criteria such as status/hypervisor/cluster/etc?


This used to be possible by clicking on the column headings in the 3.0 
Portal using IE8 and .NET


--
Regards,
Ken Booth   Red Hat UK Ltd
Senior Technical Support Engineer   200 Fowler Avenue
Tel:   +44 1252 362700  Farnborough Business Park
email: kbo...@redhat.comFarnborough, Hampshire GU14 7JP

Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson
(USA), Charlie Peters (USA)

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.2: impossiible to delete a snapshot?

2013-02-28 Thread Liron Aravot
Gianluca, seems like there is a bug when there is an image on ILLEGAL, i'll 
handle it. thanks for raising the issue.

- Original Message -
> From: "noc" 
> To: "Gianluca Cecchi" 
> Cc: "users" 
> Sent: Thursday, February 28, 2013 12:47:51 PM
> Subject: Re: [Users] oVirt 3.2: impossiible to delete a snapshot?
> 
> On 28-2-2013 11:44, Gianluca Cecchi wrote:
> > On Wed, Feb 27, 2013 at 1:26 PM, Gianluca Cecchi wrote:
> >> I have not the system with me now but I'm going to provide
> >> screenshots
> >> this evening
> >> It is my @HOME environment that consists on one fedora 18 system
> >> with
> >> all-in-one 3.2
> >> I only have one WIndows XP VM on it
> > Possibly the problem is due to the VM having a disk in illegal
> > state...
> > In fact I can't reproduce on another system with similar setup (3.2
> > final but not all-in-one).
> > I'm going to clean the situation and then retry.
> >
> >
> I'm also running 3.2 stable on F18 and can delete snapshots but as
> Gianluca can't clone. Get the same blank window. Saw the fix but
> since
> its a java.class change would need a rebuild of 3.2
> Any idea when a wrap up of several bugs found and fixed will be up at
> ovirt.org?
> 
> Thanks,
> 
> Joop
> 
> --
> irc: jvandewege
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] BZ893999: sort ordering in webadmin gui

2013-02-28 Thread Eli Mesika


- Original Message -
> From: "Ken Booth" 
> To: users@ovirt.org
> Sent: Monday, February 25, 2013 10:35:27 AM
> Subject: [Users] BZ893999: sort ordering in webadmin gui
> 
> Hi Omer et al,
> 
> Is there any workaround to get an ordered list of guests based upon
> sort
> criteria such as status/hypervisor/cluster/etc?

You can use the 'sortby' keyword of the search engine and define bookmarks on 
such popular searches 

> 
> This used to be possible by clicking on the column headings in the
> 3.0
> Portal using IE8 and .NET
> 
> --
> Regards,
> Ken Booth Red Hat UK Ltd
> Senior Technical Support Engineer 200 Fowler Avenue
> Tel:   +44 1252 362700Farnborough Business Park
> email: kbo...@redhat.com  Farnborough, Hampshire GU14 7JP
> 
> Registered in England and Wales under Company Registration No.
> 03798903
> Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt
> Parson
> (USA), Charlie Peters (USA)
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] build vdsm error at TestSuperVdsm

2013-02-28 Thread bigclouds
hi, i think  the error occurs when do unit test during  compiling engine code.
my env is centos6.3,engine  code is latest from git-repo.








At 2013-02-28 22:00:08,"Yaniv Bronheim"  wrote:
>Hey,
>Maybe you've got vdsm that already runs on your machine ? but it doesn't 
>supposed to throw this exception anyway
>
>What version of vdsm do you compile?? maybe the tests couldn't create the 
>socket for the communication between supervdsm and vdsm.. 
>its wrong that all the compilation fails that way.. ill check it. but did you 
>try more than once to run it?
>
>
>- Original Message -
>From: "bigclouds" 
>To: users@ovirt.org
>Sent: Thursday, February 28, 2013 7:47:37 AM
>Subject: [Users] build vdsm error  at TestSuperVdsm
>
>
>
>
>testThreadLeak OK 
>TestSuperVdsm 
>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
>Connection refused 
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
>Traceback (most recent call last): 
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch 
>utils.ret ry(self._connect, Exception, timeout=60, tries=3) 
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry 
>return func() 
>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in 
>_connect 
>self._manager.connect() 
>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect 
>conn = Client(self._address, authkey=self._authkey) 
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client 
>c = SocketClient(address) 
>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in 
>SocketClient 
>s.connect(address) 
>File "", line 1, in connect 
>error: [Errno 111] Connection refused 
>Killed 
>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && 
>make rpm 
>
>
>___
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] how to debug vdsm and node codes

2013-02-28 Thread bigclouds
a debug environment in which to debug vdsm and node code line by line


thanks.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.1 - engine configuration problem

2013-02-28 Thread Piotr Szubiakowski



Yes , it can be
only set
ENGINEEARLib to the place where the EAR are (under JBOSS_HOME deployments dir)
CAEngineKey to point to the certificate key location

the other entries are not related



Hi,
I set these variables using psql command:

psql ovirtdb postgres -c "update vdc_options set option_value = 
'/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear' 
where option_name = 'ENGINEEARLib';"
psql ovirtdb postgres -c "update vdc_options set option_value = 
'/opt/jboss/CA/ca/private/ca.pem' where option_name = 'CAEngineKey';


in database looks like there is everything fine:

ovirtdb=# select option_name, option_value from vdc_options where 
option_name IN ('CAEngineKey', 'ENGINEEARLib');

 option_name  |   option_value
--+---
 CAEngineKey  | /opt/jboss/CA/ca/private/ca.pem
 ENGINEEARLib | 
/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear

(2 wiersze)

However the problem still occurs. I set debug log level. The jboss logs:

2013-02-28 16:48:22,442 WARN  
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-12) 
Could not find enum value for option: CbcCheckOnVdsChange
2013-02-28 16:48:22,675 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-12) Failed to decryptData must start with zero
2013-02-28 16:48:22,676 DEBUG 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-12) Failed to decrypt: javax.crypto.BadPaddingException: Data 
must start with zero
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:308) 
[rt.jar:1.6.0_38]
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:255) 
[rt.jar:1.6.0_38]

at com.sun.crypto.provider.RSACipher.a(DashoA13*..)
at com.sun.crypto.provider.RSACipher.engineDoFinal(DashoA13*..)
at javax.crypto.Cipher.doFinal(DashoA13*..) [jce.jar:1.6]
at 
org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:157) 
[engine-encryptutils.jar:]
at 
org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:141) 
[engine-encryptutils.jar:]
at 
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.GetValue(DBConfigUtils.java:116) 
[engine-dal.jar:]
at 
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.updateOption(DBConfigUtils.java:298) 
[engine-dal.jar:]
at 
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.RefreshVdcOptionCache(DBConfigUtils.java:36) 
[engine-dal.jar:]
at 
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:178) 
[engine-dal.jar:]
at 
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:164) 
[engine-dal.jar:]
at org.ovirt.engine.core.bll.Backend.Initialize(Backend.java:171) 
[engine-bll.jar:]
at org.ovirt.engine.core.bll.Backend.create(Backend.java:119) 
[engine-bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[rt.jar:1.6.0_38]
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
[rt.jar:1.6.0_38]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
[rt.jar:1.6.0_38]

at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_38]
at 
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130) 
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:112) 
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:95) 
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
at 
org.jboss.as.

Re: [Users] oVirt 3.1 - engine configuration problem

2013-02-28 Thread Eli Mesika


- Original Message -
> From: "Piotr Szubiakowski" 
> To: "Eli Mesika" 
> Cc: users@ovirt.org
> Sent: Thursday, February 28, 2013 5:56:30 PM
> Subject: Re: [Users] oVirt 3.1 - engine configuration problem
> 
> 
> > Yes , it can be
> > only set
> > ENGINEEARLib to the place where the EAR are (under JBOSS_HOME
> > deployments dir)
> > CAEngineKey to point to the certificate key location
> >
> > the other entries are not related
> >
> 
> Hi,
> I set these variables using psql command:
> 
> psql ovirtdb postgres -c "update vdc_options set option_value =
> '/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear'
> where option_name = 'ENGINEEARLib';"
> psql ovirtdb postgres -c "update vdc_options set option_value =
> '/opt/jboss/CA/ca/private/ca.pem' where option_name = 'CAEngineKey';
> 
> in database looks like there is everything fine:
> 
> ovirtdb=# select option_name, option_value from vdc_options where
> option_name IN ('CAEngineKey', 'ENGINEEARLib');
>   option_name  |   option_value
> --+---
>   CAEngineKey  | /opt/jboss/CA/ca/private/ca.pem
>   ENGINEEARLib |
> /opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear
> (2 wiersze)
> 
> However the problem still occurs. I set debug log level. The jboss

Did you restarted the oVirt service ?

> logs:
> 
> 2013-02-28 16:48:22,442 WARN
> [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
> 1-12)
> Could not find enum value for option: CbcCheckOnVdsChange
> 2013-02-28 16:48:22,675 ERROR
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
> service
> thread 1-12) Failed to decryptData must start with zero
> 2013-02-28 16:48:22,676 DEBUG
> [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
> service
> thread 1-12) Failed to decrypt: javax.crypto.BadPaddingException:
> Data
> must start with zero
>  at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:308)
> [rt.jar:1.6.0_38]
>  at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:255)
> [rt.jar:1.6.0_38]
>  at com.sun.crypto.provider.RSACipher.a(DashoA13*..)
>  at com.sun.crypto.provider.RSACipher.engineDoFinal(DashoA13*..)
>  at javax.crypto.Cipher.doFinal(DashoA13*..) [jce.jar:1.6]
>  at
> org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:157)
> [engine-encryptutils.jar:]
>  at
> org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:141)
> [engine-encryptutils.jar:]
>  at
> org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.GetValue(DBConfigUtils.java:116)
> [engine-dal.jar:]
>  at
> org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.updateOption(DBConfigUtils.java:298)
> [engine-dal.jar:]
>  at
> org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.RefreshVdcOptionCache(DBConfigUtils.java:36)
> [engine-dal.jar:]
>  at
> org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:178)
> [engine-dal.jar:]
>  at
> org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:164)
> [engine-dal.jar:]
>  at
>  org.ovirt.engine.core.bll.Backend.Initialize(Backend.java:171)
> [engine-bll.jar:]
>  at org.ovirt.engine.core.bll.Backend.create(Backend.java:119)
> [engine-bll.jar:]
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [rt.jar:1.6.0_38]
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [rt.jar:1.6.0_38]
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [rt.jar:1.6.0_38]
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  [rt.jar:1.6.0_38]
>  at
> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:112)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.

Re: [Users] oVirt 3.1 - engine configuration problem

2013-02-28 Thread Piotr Szubiakowski




- Original Message -

From: "Piotr Szubiakowski"
To: "Eli Mesika"
Cc: users@ovirt.org
Sent: Thursday, February 28, 2013 5:56:30 PM
Subject: Re: [Users] oVirt 3.1 - engine configuration problem



Yes , it can be
only set
ENGINEEARLib to the place where the EAR are (under JBOSS_HOME
deployments dir)
CAEngineKey to point to the certificate key location

the other entries are not related


Hi,
I set these variables using psql command:

psql ovirtdb postgres -c "update vdc_options set option_value =
'/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear'
where option_name = 'ENGINEEARLib';"
psql ovirtdb postgres -c "update vdc_options set option_value =
'/opt/jboss/CA/ca/private/ca.pem' where option_name = 'CAEngineKey';

in database looks like there is everything fine:

ovirtdb=# select option_name, option_value from vdc_options where
option_name IN ('CAEngineKey', 'ENGINEEARLib');
   option_name  |   option_value
--+---
   CAEngineKey  | /opt/jboss/CA/ca/private/ca.pem
   ENGINEEARLib |
/opt/jboss/jboss-as-7.1.1.Final/standalone/deployments/engine.ear
(2 wiersze)

However the problem still occurs. I set debug log level. The jboss

Did you restarted the oVirt service ?


Yes I restarted the oVirt service.

logs:

2013-02-28 16:48:22,442 WARN
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
1-12)
Could not find enum value for option: CbcCheckOnVdsChange
2013-02-28 16:48:22,675 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service
thread 1-12) Failed to decryptData must start with zero
2013-02-28 16:48:22,676 DEBUG
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service
thread 1-12) Failed to decrypt: javax.crypto.BadPaddingException:
Data
must start with zero
  at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:308)
[rt.jar:1.6.0_38]
  at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:255)
[rt.jar:1.6.0_38]
  at com.sun.crypto.provider.RSACipher.a(DashoA13*..)
  at com.sun.crypto.provider.RSACipher.engineDoFinal(DashoA13*..)
  at javax.crypto.Cipher.doFinal(DashoA13*..) [jce.jar:1.6]
  at
org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:157)
[engine-encryptutils.jar:]
  at
org.ovirt.engine.core.engineencryptutils.EncryptionUtils.decrypt(EncryptionUtils.java:141)
[engine-encryptutils.jar:]
  at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.GetValue(DBConfigUtils.java:116)
[engine-dal.jar:]
  at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.updateOption(DBConfigUtils.java:298)
[engine-dal.jar:]
  at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.RefreshVdcOptionCache(DBConfigUtils.java:36)
[engine-dal.jar:]
  at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:178)
[engine-dal.jar:]
  at
org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.(DBConfigUtils.java:164)
[engine-dal.jar:]
  at
  org.ovirt.engine.core.bll.Backend.Initialize(Backend.java:171)
[engine-bll.jar:]
  at org.ovirt.engine.core.bll.Backend.create(Backend.java:119)
[engine-bll.jar:]
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[rt.jar:1.6.0_38]
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[rt.jar:1.6.0_38]
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[rt.jar:1.6.0_38]
  at java.lang.reflect.Method.invoke(Method.java:597)
  [rt.jar:1.6.0_38]
  at
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:130)
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:112)
[jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
  at
org.jboss.as.ee.component.ManagedReferenceInterceptor

Re: [Users] Spice client USB - Linux

2013-02-28 Thread Itamar Heim

On 28/02/2013 10:49, Winfried de Heiden wrote:

Hi all,

As mentioned in the features of oVirt, I should be able to use an
USB-drive on my (Spice) guest.However, the option to choose an USB
device is greyed out in the Spice Console.

"Big Uncle" RHEV 3.1 tells in
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html/Power_User_Portal_Guide/Using_Desktop-Using_USB_on_VM.html#Using_Desktop-Using_USB_on_VM_Native_PUP
to use "Native USB"

Am I missing something? Or: I tried using a serverprofile. Is USB
redirection only available using a desktop profile? Anyway: how can I
enable USB on my Spice Client. (Fedora 18)


which cluster version do you have?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-02-28 Thread Alex Leonhardt
FWIW, restarting the HV "resolves" the issue and brings the storage domain
back up; but I dont know whether that is because that's where the target
(and iscsi initiator) runs or whether vdsmd then clears its cache / routes
to a/the target(s) ?

Alex



On 28 February 2013 16:25, Alex Leonhardt  wrote:

> another screenshot of how confused it can get
>
> alex
>
>
> On 28 February 2013 15:36, Alex Leonhardt  wrote:
>
>> Hi there,
>>
>> I was doing some testing around ovirt and iscsi and found an issue where
>> as when you use "dd" to create "backing-stores" for iscsi and you point
>> ovirt to it to discover & login, it thinks the LUN ID is the same although
>> the target is different and adds additional paths to the config
>> (automagically?) bringing down the iSCSI storage domain.
>>
>> See attached screenshot of what I got when trying to a "new iscsi san
>> storage domain" to ovirt. The Storage Domain is now down and I cannot get
>> rid of the config (???) how do I force it to logout of the targets ??
>>
>> Also, anyone know how to deal with the duplicate LUN ID issue ?
>>
>> Thanks
>> Alex
>>
>> --
>>
>> | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
>>
>
>
>
> --
>
> | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
>



-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to debug vdsm and node codes

2013-02-28 Thread Yaniv Bronheim
Its not easy :) I hope it would
Vdsm its a multiprocess program. It runs simultaneously tasks and monitors 
them. You can use GDB to debug the main process and watch threads step (if you 
want more information about that i can help)
Otherwise I prefer the oldschool print debuging.. it always works great with 
VDSM. you just need to add comment where you want to see the values or check if 
the program went there. All you need to do is to edit the specific installed 
files (located at /usr/share/vdsm) restart the service and wait for your print 
in the log.. 

Good luck 


- Original Message -
From: "bigclouds" 
To: users@ovirt.org
Sent: Thursday, February 28, 2013 5:26:14 PM
Subject: [Users] how to debug vdsm and node codes



a debug environment in which to debug vdsm and node code line by line 


thanks. 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] clone vm from snapshot problem in 3.2

2013-02-28 Thread Gianluca Cecchi
On Wed, Feb 27, 2013 at 1:21 PM, Liron Aravot  wrote:

>> Hi Gianluca,
>> I've built 3.2 and had success in reproducing your issue, I've also
>> tested the fix and after it the clone window shows fine - so this
>> should solve your issue (http://gerrit.ovirt.org/#/c/11254/).
>>
>> Thanks, Liron.

Hello,
so I rebuilt with the patch.
I built as in this thread:
http://lists.ovirt.org/pipermail/users/2013-February/012702.html

directly on engine server and with engine stopped:

sudo rpm -Uvh --force $(ls -1|grep -v all)

with
$ ls -1|grep -v all
ovirt-engine-3.2.0-4.fc18.noarch.rpm
ovirt-engine-backend-3.2.0-4.fc18.noarch.rpm
ovirt-engine-config-3.2.0-4.fc18.noarch.rpm
ovirt-engine-dbscripts-3.2.0-4.fc18.noarch.rpm
ovirt-engine-genericapi-3.2.0-4.fc18.noarch.rpm
ovirt-engine-notification-service-3.2.0-4.fc18.noarch.rpm
ovirt-engine-restapi-3.2.0-4.fc18.noarch.rpm
ovirt-engine-setup-3.2.0-4.fc18.noarch.rpm
ovirt-engine-tools-common-3.2.0-4.fc18.noarch.rpm
ovirt-engine-userportal-3.2.0-4.fc18.noarch.rpm
ovirt-engine-webadmin-portal-3.2.0-4.fc18.noarch.rpm

and then reboot the engine

Results:

OK, for the snapshot details pane. It seem the patch fixes this too.
Until now I was never able to see snapshot details,
Instead now I can see disk and nic details. See:
https://docs.google.com/file/d/0BwoPbcrMv8mvQmlCZTZBYjBadmc/edit?usp=sharing


OK, if I clone a VM from a snapshot of a running VM (CentOS 5.6)
I start the clone and no problem at all.

well done!


Corner cases and problems

1)
OK, if I clone a powered on VM from a snapshot with two disks and here
you can find clone in action with webadmin gui and iotop on node that
shows they are cloning in parallel.. well!
https://docs.google.com/file/d/0BwoPbcrMv8mvZ3lzY0l1MDc5OVE/edit?usp=sharing

The VM is a slackware 14 32bit with virtio disk that I obtained from a
virt-v2v from CentOS 6.3+Qemu/KVM
The problem is that the cloned VM recognizes the disks in reversed order

See these images where sl1432 is master slcone is the clone

disk layout in details pane seems equal with boot disk the one that
appears as the second, but the master boots ok, the slave no.
Disks are swapped

Master VM disk details:
https://docs.google.com/file/d/0BwoPbcrMv8mvSWNVNFI4bHg4Umc/edit?usp=sharing

Clone VM disks details:
https://docs.google.com/file/d/0BwoPbcrMv8mvM1N0bVcyNlFPS1U/edit?usp=sharing

Page with the two consoles where you can see that vda of master
becomes vdb of clone and vice-versa:
https://docs.google.com/file/d/0BwoPbcrMv8mveFpESEs5V1dUTFE/edit?usp=sharing

Can I swap again in some way? In VMware for example you can see and
edit SCSI IDs of disks...

2)
KO, if I clone a windows 7 VM from a snapshot (time 17:09) I get this on gui
https://docs.google.com/file/d/0BwoPbcrMv8mvaW9OVW84WVI1dkU/edit?usp=sharing

You can find the engine.log from server restart (at 17:06) here:
https://docs.google.com/file/d/0BwoPbcrMv8mvTDQzRTFfbFgxX0E/edit?usp=sharing

Are there any restrictions?
The VM was powered off when taking the snapshot and making the clone.

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to debug vdsm and node codes

2013-02-28 Thread Antoni Segura Puimedon
I normally use http://winpdb.org/about/ to attach to the vdsm
process. You can do it over the network even ;-)

- Original Message -
> From: "Yaniv Bronheim" 
> To: "bigclouds" 
> Cc: users@ovirt.org
> Sent: Thursday, February 28, 2013 5:48:52 PM
> Subject: Re: [Users] how to debug vdsm and node codes
> 
> Its not easy :) I hope it would
> Vdsm its a multiprocess program. It runs simultaneously tasks and
> monitors them. You can use GDB to debug the main process and watch
> threads step (if you want more information about that i can help)
> Otherwise I prefer the oldschool print debuging.. it always works
> great with VDSM. you just need to add comment where you want to see
> the values or check if the program went there. All you need to do is
> to edit the specific installed files (located at /usr/share/vdsm)
> restart the service and wait for your print in the log..
> 
> Good luck
> 
> 
> - Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, February 28, 2013 5:26:14 PM
> Subject: [Users] how to debug vdsm and node codes
> 
> 
> 
> a debug environment in which to debug vdsm and node code line by line
> 
> 
> thanks.
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rebuild of src.rpm not "self contained"?

2013-02-28 Thread Gianluca Cecchi
On Thu, Feb 28, 2013 at 9:22 AM, Juan Hernandez  wrote:

> The way to build the RPM is as you did.

Thanks Juan for your very detailed explanation!

So I also installed redhat-rpm-config and a new rpmbuild generated the
.pyc and .pyo files too
And I was able to update engine and verify solution of bug of clone
from snapshot with this build (and missing disk and nic info for
snapshots in details pane)
I notice only these "ERROR" messages in output of build phase, I don't
know if they are important or not:

Downloaded: 
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
(28 KB at 348.8 KB/sec)
[INFO] auto discovered modules [org.ovirt.engine.ui.webadmin.WebAdmin]
[WARNING] Don't declare gwt-dev as a project dependency. This may
introduce complex dependency conflicts
[ERROR] [AppClassLoader@2827f394] info AspectJ Weaver Version 1.6.11
built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[ERROR] [AppClassLoader@2827f394] info register classloader
sun.misc.Launcher$AppClassLoader@2827f394
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] Feb 28, 2013 4:05:40 PM java.util.prefs.FileSystemPreferences$1 run
[ERROR] INFO: Created user preferences directory.
[INFO] Compiling module org.ovirt.engine.ui.webadmin.WebAdmin
[ERROR] [AppClassLoader@2827f394] warning javax.* types are not being
woven because the weaver option '-Xset:weaveJavaxPackages=true' has
not been specified
[INFO]Scanning for additional dependencies:
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/pool/SubTabPoolGeneralView.java
[INFO]   Computing all possible rebind results for
'org.ovirt.engine.ui.webadmin.section.main.view.tab.pool.SubTabPoolGeneralView.ViewUiBinder'

...

[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ userportal ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- gwt-maven-plugin:2.3.0-1:compile (gwtcompile) @ userportal ---
[INFO] auto discovered modules [org.ovirt.engine.ui.userportal.UserPortal]
[WARNING] Don't declare gwt-dev as a project dependency. This may
introduce complex dependency conflicts
[ERROR] [AppClassLoader@2827f394] info AspectJ Weaver Version 1.6.11
built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[ERROR] [AppClassLoader@2827f394] info register classloader
sun.misc.Launcher$AppClassLoader@2827f394
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[INFO] Compiling module org.ovirt.engine.ui.userportal.UserPortal
[ERROR] [AppClassLoader@2827f394] warning javax.* types are not being
woven because the weaver option '-Xset:weaveJavaxPackages=true' has
not been specified
[INFO]Scanning for additional dependencies:
/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/userportal-gwtp/gen/org/ovirt/engine/ui/userportal/gin/ClientGinjectorImpl.java
[INFO]   Computing all possible rebind results for
'org.ovirt.engine.ui.userportal.ApplicationTemplates'
[INFO]  Rebinding org.ovirt.engine.ui.userportal.ApplicationTemplates
[INFO] Invoking generator
com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
...

Thanks again for the infos.
I had the time to learn something on maven, that I absolutely didn't
use until today:
- proxy set up
$ cat .m2/settings.xml

  
   
  true
  http
  my.proxy.server
  8080

  


- resize permgen of java process
(on my @home physical PC with 6Gb of ram and engine started it gave no
error, while on a similar VM also configuring 6Gb of ram and stopping
ovirt-engine gave error about exausted resources during the build)
I solved with
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=1024m"
before the build

;-)

Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] rebuild of src.rpm not "self contained"?

2013-02-28 Thread Juan Hernandez

On 02/28/2013 06:20 PM, Gianluca Cecchi wrote:

On Thu, Feb 28, 2013 at 9:22 AM, Juan Hernandez  wrote:


The way to build the RPM is as you did.


Thanks Juan for your very detailed explanation!

So I also installed redhat-rpm-config and a new rpmbuild generated the
.pyc and .pyo files too
And I was able to update engine and verify solution of bug of clone
from snapshot with this build (and missing disk and nic info for
snapshots in details pane)
I notice only these "ERROR" messages in output of build phase, I don't
know if they are important or not:


These errors are not important, in fact they are information messages 
sent to System.err (the Java name for stderr) by the AspectJ weaver. 
Maven takes them and assumes that then are ERROR messages, but they 
aren't. You can safely ignore them.




Downloaded: 
http://repo1.maven.org/maven2/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar
(28 KB at 348.8 KB/sec)
[INFO] auto discovered modules [org.ovirt.engine.ui.webadmin.WebAdmin]
[WARNING] Don't declare gwt-dev as a project dependency. This may
introduce complex dependency conflicts
[ERROR] [AppClassLoader@2827f394] info AspectJ Weaver Version 1.6.11
built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[ERROR] [AppClassLoader@2827f394] info register classloader
sun.misc.Launcher$AppClassLoader@2827f394
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] Feb 28, 2013 4:05:40 PM java.util.prefs.FileSystemPreferences$1 run
[ERROR] INFO: Created user preferences directory.
[INFO] Compiling module org.ovirt.engine.ui.webadmin.WebAdmin
[ERROR] [AppClassLoader@2827f394] warning javax.* types are not being
woven because the weaver option '-Xset:weaveJavaxPackages=true' has
not been specified
[INFO]Scanning for additional dependencies:
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/tab/pool/SubTabPoolGeneralView.java
[INFO]   Computing all possible rebind results for
'org.ovirt.engine.ui.webadmin.section.main.view.tab.pool.SubTabPoolGeneralView.ViewUiBinder'

...

[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ userportal ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- gwt-maven-plugin:2.3.0-1:compile (gwtcompile) @ userportal ---
[INFO] auto discovered modules [org.ovirt.engine.ui.userportal.UserPortal]
[WARNING] Don't declare gwt-dev as a project dependency. This may
introduce complex dependency conflicts
[ERROR] [AppClassLoader@2827f394] info AspectJ Weaver Version 1.6.11
built on Tuesday Mar 15, 2011 at 15:31:04 GMT
[ERROR] [AppClassLoader@2827f394] info register classloader
sun.misc.Launcher$AppClassLoader@2827f394
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info using configuration
file:/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/gwt-extension/target/gwt-extension-3.2.0-sources.jar!/META-INF/aop.xml
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[ERROR] [AppClassLoader@2827f394] info register aspect
org.ovirt.engine.ui.gwtextension.DontPrune
[INFO] Compiling module org.ovirt.engine.ui.userportal.UserPortal
[ERROR] [AppClassLoader@2827f394] warning javax.* types are not being
woven because the weaver option '-Xset:weaveJavaxPackages=true' has
not been specified
[INFO]Scanning for additional dependencies:
/home/g.cecchi/rpmbuild/BUILD/ovirt-engine-3.2.0/frontend/webadmin/modules/userportal-gwtp/gen/org/ovirt/engine/ui/userportal/gin/ClientGinjectorImpl.java
[INFO]   Computing all possible rebind results for
'org.ovirt.engine.ui.userportal.ApplicationTemplates'
[INFO]  Rebinding org.ovirt.engine.ui.userportal.ApplicationTemplates
[INFO] Invoking generator
com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
...

Thanks again for the infos.
I had the time to learn something on maven, that I absolutely didn't
use until today:
- proxy set up
$ cat .m2/settings.xml

   

   true
   http
   my.proxy.server
   8080
 
   


- resize permgen of java process
(on my @home physical PC with 6Gb of ram and engine started it gave no
error, while on a similar VM also configuring 6Gb of ram and stopping
ovirt-engine gave erro

Re: [Users] OS-independent ovirt-engine distribution archive

2013-02-28 Thread Jiri Belka
On Wed, 27 Feb 2013 06:41:07 -0500 (EST)
Eyal Edri  wrote:

> it is now available via ovirt nightly builds as
> 'ovirt-engine-archive.tar.gz':
> 
> http://resources.ovirt.org/releases/nightly/src/
> 
> Eyal.

Thank you very much! But.. can I respectfully ask archive tarball
having date/version in its filename
(ovirt-engine-archive-20130228.tar.gz)?

I suppose ports (makefiles to build a BSD package) with source files
without unique date/version in filenames would never be accepted.

Right now I'm quite busy, I've just made some tunning of path to python
interpreter, replaces absolute symlinks with relative... Real
modification for BSD system (here OpenBSD) is on my TODO.

I suppose hard stuff would be modification of engine-upgrade :D

jbelka
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Fwd: [node-devel] oVirt Node 2.6.1 Release

2013-02-28 Thread Mike Burns




 Original Message 
Subject: [node-devel] oVirt Node 2.6.1 Release
Date: Thu, 28 Feb 2013 22:26:19 +0100
From: Fabian Deutsch 
Organization: Red Hat, Inc.
To: node-devel 

Hey,

oVirt Node 2.6.1 has been released [0] and can be downloaded [1].

One big reason for this update was this bug [2], also known as
CVE-2013-0293. Additionally this release contains an updated
vdsm-4.10.3-9 and the latest Fedora 18 packages.

Thanks
The oVirt Node Team

---
[0] http://www.ovirt.org/Node_Release_Notes#2.6.1_Release_Notes
[1] http://www.ovirt.org/Node#Current_Release
[2] https://bugzilla.redhat.com/show_bug.cgi?id=911699





signature.asc
Description: PGP signature
___
node-devel mailing list
node-de...@ovirt.org
http://lists.ovirt.org/mailman/listinfo/node-devel

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] build vdsm error at TestSuperVdsm

2013-02-28 Thread bigclouds


 i get it  'git clone http://gerrit.ovirt.org/p/vdsm.git' this 
morning. and   make it again. error remains.

i fellow http://www.ovirt.org/Vdsm_Developers step by step  until(make rpm).but 
if add 'NOSE_EXCLUDE=.* '  ,make can success
thanks.

error message:
testConnectWithoutCertificateFails  OK
testSessionIsCached OK
SPM_MailMonitorTests
testThreadLeak  OK
TestSuperVdsm
testIsSuperUp   
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused
ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in launch
utils.retry(self._connect, Exception, timeout=60, tries=3)
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry
return func()
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in 
_connect
self._manager.connect()
  File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect
conn = Client(self._address, authkey=self._authkey)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in Client
c = SocketClient(address)
  File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in 
SocketClient
s.connect(address)
  File "", line 1, in connect
error: [Errno 111] Connection refused
Killed
[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure  --enable-hooks && 
make rpm



At 2013-02-28 23:33:10,"Yaniv Bronheim"  wrote:
>i dont think they're related at all
>
>run it without the tests:
>./autogen.sh --system && ./configure --enable-hooks && make rpm NOSE_EXCLUDE=.*
>
>tell me what you've got..
>what vdsm branch do you compile? master or ovirt-3.2?
>
>- Original Message -
>From: "bigclouds" 
>To: "Yaniv Bronheim" 
>Sent: Thursday, February 28, 2013 5:18:20 PM
>Subject: Re:Re: [Users] build vdsm error  at TestSuperVdsm
>
>
>
>hi, i think the error occurs when do unit test during compiling engine code. 
>my env is centos6.3,engine code is latest from git-repo. 
>
>
>
>
>
>
>
>
>At 2013-02-28 22:00:08,"Yaniv Bronheim"  wrote:
>>Hey,
>>Maybe you've got vdsm that already runs on your machine ? but it doesn't 
>>supposed to throw this exception anyway
>>/msg NickServ identify 
>>What version of vdsm do you compile?? maybe the tests couldn't create the 
>>socket for the communication between supervdsm and vdsm.. 
>>its wrong that all the compilation fails that way.. ill check it. but did you 
>>try more than once to run it?
>>
>>
>>- Original Message -
>>From: "bigclouds" 
>>To: users@ovirt.org
>>Sent: Thursday, February 28, 2013 7:47:37 AM
>>Subject: [Users] build vdsm error  at TestSuperVdsm
>>
>>
>>
>>
>>testThreadLeak OK 
>>TestSuperVdsm 
>>testIsSuperUp WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] 
>>Connection refused 
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>>WARNING:SuperVdsmProxy:Connect to svdsm failed [Errno 111] Connection refused 
>>ERROR:Storage.Misc:Panic: Couldn't connect to supervdsm 
>>Traceback (most recent call last): 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 202, in 
>>launch 
>>utils.ret ry(self._connect, Exception, timeout=60, tries=3) 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/utils.py", line 1001, in retry 
>>return func() 
>>File "/root/rpmbuild/BUILD/vdsm-4.10.3/vdsm/supervdsm.py", line 188, in 
>>_connect 
>>self._manager.connect() 
>>File "/usr/lib64/python2.6/multiprocessing/managers.py", line 474, in connect 
>>conn = Client(self._address, authkey=self._authkey) 
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 143, in 
>>Client 
>>c = SocketClient(address) 
>>File "/usr/lib64/python2.6/multiprocessing/connection.py", line 263, in 
>>SocketClient 
>>s.connect(address) 
>>File "", line 1, in connect 
>>error: [Errno 111] Connection refused 
>>Killed 
>>[root@ovirtdev vdsm]# ./autogen.sh --system && ./configure --enable-hooks && 
>>make rpm 
>>
>>
>>___
>>Users mailing list
>>Users@ovirt.org
>>http://lists.ovirt.org/mailman/listinfo/users 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] 'mvn install' error

2013-02-28 Thread bigclouds
hi:
os centos6.3, engine is pulled this moning from 'git clone 
git://gerrit.ovirt.org/ovirt-engine
'
i fellow 'http://www.ovirt.org/Building_oVirt_engine',  it error when reach 
'mvn clean install'.




error message:


[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /mnt/ovirt-engine/backend/manager/dependencies/target
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/main/java
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/mnt/ovirt-engine/backend/manager/dependencies/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 
/mnt/ovirt-engine/backend/manager/dependencies/target/dependencies-3.3.0-SNAPSHOT.jar
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to configure plugin parameters for: 
org.ovirt.engine:jboss-modules-maven-plugin:1.0-SNAPSHOT






Cause: Class 'java.util.List' cannot be instantiated
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 24 seconds
[INFO] Finished at: Thu Feb 28 20:26:34 CST 2013
[INFO] Final Memory: 56M/135M
[INFO] 
[root@ovirtdev ovirt-engine]# mvn clean install___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Move VM between two data centers with type Local on Host

2013-02-28 Thread Aleksey Kashin
Hello.

Is it possible to migrate VM between two datacenters with type Local
on Host and compatibility mode 3.2?

Thank you.

Regards, Aleksey Kashin
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Move VM between two data centers with type Local on Host

2013-02-28 Thread Gianluca Cecchi
Il giorno 01/mar/2013 06:33, "Aleksey Kashin"  ha
scritto:
>
> Hello.
>
> Is it possible to migrate VM between two datacenters with type Local
> on Host and compatibility mode 3.2?

For sure you can export / import, if the second can see the export domain
of the first, but I don't know if in general is possible to migrate between
different DCs at all...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users