Re: [Engine-devel] [oVirt Jenkins] ovirt_engine_find_bugs - Build # 3413 - Unstable!

2013-02-01 Thread Eyal Edri
fyi,

new HIGH priority bug has been detected via findbugs in Managedomains.java file:

http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/3413/findbugsResult/HIGH/?

it was inserted in one of the commits since jan 29:

(git blames this commit 
..http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git&a=commit&h=35722c064f876ab9ead4b62105f7031623ec4471)
 


> 
> Changes Since Last Success:
> -

> [alkaplan] webadmin: Showing more than one canDoMessage for action in
> multiple action
> [alkaplan] engine: Extended error for pinned host missing non
> required network
> [alkaplan] webadmin: Add default description to multiple action
> result
> [gerrit2] engine: Moving Duplicate Code to Base Class
> [juan.hernandez] packaging: Bump version number to 3.3.0-SNAPSHOT
> [gerrit2] frontend: force admin-console only on AdminPortal
> [mkublin] engine: Stop flood a logs by Autorecovering 0 
> [rgolan] core: cancel migration better error handling
> [amureini] core: Remove dead JPA implementation
> [gerrit2] gluster: fixed NPE in GlusterAuditLogUtil
> [gerrit2] packaging: suggest path for local storage during AIO setup
> [ofrenkel] core: add support for tunnel migration
> [ofrenkel] restapi: Add support for tunnel migration
> [gerrit2] core: cleanup Handler classes
> [amureini] packaging: Complete removal of Hibernate
> [gerrit2] core: prevent changing display settings when vm isn't down
> [ahadas] webadmin: replace 'VM' with 'Virtual Machine'
> [alonbl] packaging: set both PGPASSFILE and ENGINE_PGPASS
> [alonbl] packaging: substitute engineVersion.js in target that
> actually create it
> [amureini] core,ui: test duplicate keys in appErrors 
> [gerrit2] core: Make dependency on commons-collections explicit
> [gerrit2] compat: convert to base64 without line feed
> [gerrit2] pki: process template files not in-place
> [gerrit2] pki: install private directories not world readable
> [gerrit2] pki: encryptpasswd: remove unneeded pushd/popd
> [gerrit2] cleanup: update .gitignore
> 


- Original Message -
> From: "Jenkins oVirt Server" 
> To: ee...@redhat.com, engine-patc...@ovirt.org, ol...@redhat.com, 
> yzasl...@redhat.com, dc...@redhat.com
> Sent: Friday, February 1, 2013 3:40:56 PM
> Subject: [oVirt Jenkins] ovirt_engine_find_bugs - Build # 3413 - Unstable!
> 
> Project: http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/
> Build: http://jenkins.ovirt.org/job/ovirt_engine_find_bugs/3413/
> Build Number: 3413
> Build Status:  Unstable
> Triggered By: Started by user David Caro Estevez
> 
> -
> Changes Since Last Success:
> -
> Changes for Build #3402
> [alkaplan] webadmin: Showing more than one canDoMessage for action in
> multiple action
> 
> [alkaplan] engine: Extended error for pinned host missing non
> required network
> 
> [alkaplan] webadmin: Add default description to multiple action
> result
> 
> [gerrit2] engine: Moving Duplicate Code to Base Class
> 
> [juan.hernandez] packaging: Bump version number to 3.3.0-SNAPSHOT
> 
> 
> Changes for Build #3403
> 
> Changes for Build #3404
> [gerrit2] frontend: force admin-console only on AdminPortal
> 
> 
> Changes for Build #3405
> [mkublin] engine: Stop flood a logs by Autorecovering 0 
> 
> [rgolan] core: cancel migration better error handling
> 
> 
> Changes for Build #3406
> 
> Changes for Build #3407
> [amureini] core: Remove dead JPA implementation
> 
> [gerrit2] gluster: fixed NPE in GlusterAuditLogUtil
> 
> 
> Changes for Build #3408
> 
> Changes for Build #3409
> [gerrit2] packaging: suggest path for local storage during AIO setup
> 
> [ofrenkel] core: add support for tunnel migration
> 
> [ofrenkel] restapi: Add support for tunnel migration
> 
> [gerrit2] core: cleanup Handler classes
> 
> [amureini] packaging: Complete removal of Hibernate
> 
> [gerrit2] core: prevent changing display settings when vm isn't down
> 
> [ahadas] webadmin: replace 'VM' with 'Virtual Machine'
> 
> [alonbl] packaging: set both PGPASSFILE and ENGINE_PGPASS
> 
> [alonbl] packaging: substitute engineVersion.js in target that
> actually create it
> 
> [amureini] core,ui: test duplicate keys in appErrors
> 
> [gerrit2] core: Make dependency on commons-collections explicit
> 
> 
> Changes for Build #3410
> [gerrit2] compat: convert to base64 without line feed
> 
> [gerrit2] pki: process template files not in-place
> 
> [gerrit2] pki: install private directories not world readable
> 
> [gerrit2] pki: encryptpasswd: remove unneeded pushd/popd
> 
> 
> Changes for Build #3411
> 
> Changes for Build #3412
> [gerrit2] cleanup: update .gitignore
> 
> 
> Changes for Build #3413
> 
> 
> 
> -
> Failed Tests:
> -
> No tests ran.
> 
> --
> Build Log:
> --
> [...truncated 32804 lines...]
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7

Re: [Engine-devel] java SDK question

2013-02-01 Thread Moti Asayag
On 02/01/2013 12:56 PM, navin p wrote:
> Hi,
>  When i do the api call for events from , i only get 100 events. Can
> someone tell me how to get all the events ?
> 

There are 2 options:
1. Use the overloaded Event.list method and specify the amount of result
you wish to get. In the next example you'll get 1000 entries.

Events events = api.getEvents();
events.list("", false, "", 1000);

You can use this method to retrieve events by extents.

2. Increase the value of the configuration value 'SearchResultsLimit' to
the desired reasonable value.

> List evlst=api.getEvents().list();
> for(Event obj:evlst) {
> System.out.println(obj.getDescription() + ":" +obj.getSeverity()
> +":"+obj.getTime().toString()+":"+k.toString());
> }
> 
> Regards,
> Navin
> 
> 
> ___
> 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


[Engine-devel] java SDK question

2013-02-01 Thread navin p
Hi,
 When i do the api call for events from , i only get 100 events. Can
someone tell me how to get all the events ?

List evlst=api.getEvents().list();
for(Event obj:evlst) {
 System.out.println(obj.getDescription() + ":" +obj.getSeverity()
+":"+obj.getTime().toString()+":"+k.toString());
}

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


[Engine-devel] How to show our VM template from web protal?

2013-02-01 Thread Chen, Wei D
Hi, 

We are trying to create a VM template which is similar with "blank template" 
and hope to display this template on web portal, our consideration is simple, 
that is, just execute "InsertVmTemplate"
procedure manually and expect our template would be showed from web portal. 
Unfortunately, there is no changes seen from portal even after restarting 
engine service. 
Definitely, we must miss something, would you anyone input any suggestion, any 
feedback is great appreciated. thanks in advance!

Best Regards,
Dave Chen


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


Re: [Engine-devel] Trusted Compute Pools

2013-02-01 Thread Wei, Gang
Design page updated according to in process Patchset 2.
http://wiki.ovirt.org/wiki/Trusted_compute_pools.

Jimmy

Wei, Gang wrote onĀ 2012-11-20:
> Hi,
> 
> I am an engineer working in Intel Open Source Technology Center,
interested
> in integrating Intel initiated OpenAttestation(OAT) project
> (https://github.com/OpenAttestation/OpenAttestation.git) into oVirt to
> provide a way for Administrator to deploy VMs on trusted hosts hardened
with
> H/W-based security features, such as Intel TXT.
> 
> I made a draft feature page for this:
> http://wiki.ovirt.org/wiki/Trusted_compute_pools
> 
> My draft idea is to provide trust_level requirement while doing vm
creation
> like below:
> 
> curl -v -u "vdcad...@qa.lab.tlv.redhat.com"
> -H "Content-type: application/xml"
> -d 'my_new_vm
> 
> 
> trusted'
> 'http://10.35.1.1/rhevm-api/vms'
> Then oVirt Engine should query attestation server built with OAT via
RESTful
> API to get all trusted hosts and select one to create the VM.
> 
> Attestation server performs host verification through following steps:
> 1. Hosts boot with Intel TXT technology enabled
> 2. The hosts' BIOS, hypervisor and OS are measured
> 3. These measured data is sent to Attestation server when challenged by
> attestation server
> 4. Attestation server verifies those measurements against good/known
> database to determine hosts' trustworthiness
> 
> Hosts need to be installed with OAT host agent to report host integrity to
> attestation server.
> 
> By far, I am still in process of getting familiar with oVirt code and not
> get solid idea yet on how the oVirt Engine should be modified to support
> this feature.
> 
> Any kind of comments or suggestions will be highly appreciated.
> 
> Thanks
> Gang (Jimmy) Wei


smime.p7s
Description: S/MIME cryptographic signature
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel