[ovirt-devel] [IMPORTANT] Re: Move to Jboss Wildfly - planned for Monday, June 22nd

2015-06-22 Thread Oved Ourfali
top-posting:

Running more in-depth tests, we found out that there is an issue with matrix 
parameters in the REST-API (see [1] for more details).

We are now trying to understand the cause for these issue, and also check 
whether there is a workaround or not.
If we won't resolve it soon we'll have to postpone the move to Wildfly until 
this gets resolved.

I'll keep you all posted.

Regards,
Oved

[1] For example, asking for only 2 VMs can be done via using the following 
resource URL
   http://engine:port/ovirt-engine/api/vms;max=2

- Original Message -
> From: "Oved Ourfali" 
> To: "Roy Golan" 
> Cc: "devel" 
> Sent: Sunday, June 21, 2015 4:24:38 PM
> Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday, June 
> 22nd
> 
> 
> 
> - Original Message -
> > From: "Roy Golan" 
> > To: "Oved Ourfali" 
> > Cc: "devel" 
> > Sent: Sunday, June 21, 2015 4:05:13 PM
> > Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday, June
> > 22nd
> > 
> > On 06/21/2015 03:21 PM, Oved Ourfali wrote:
> > >
> > > - Original Message -
> > >> From: "Roy Golan" 
> > >> To: "Oved Ourfali" , "devel" 
> > >> Sent: Sunday, June 21, 2015 3:19:28 PM
> > >> Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday,
> > >> June 22nd
> > >>
> > >> On 06/18/2015 09:13 AM, Oved Ourfali wrote:
> > >>> Hi all!
> > >>>
> > >>> On Monday, June 22nd, 11:00 CET, we plan to drop JBoss 7.1 support in
> > >>> oVirt
> > >>> 3.6 and move to Jboss WildFly 8.2
> > >>> (we're still doing final verifications, but it looks promising).
> > >>>
> > >>> This will allow us to support Fedora 22 properly, and in future
> > >>> versions
> > >>> to
> > >>> leverage some new and cool features.
> > >>>
> > >>> In addition, Jboss WildFly 8.2 works with OpenJDK 1.8 so you can easily
> > >>> use
> > >>> it for
> > >>> development on newer distributions where OpenJDK 1.7 is not available
> > >>> (Fedora 21 and 22, for example).
> > >> May need a separate thread for that, but we will be able to code using
> > >> JDK 8. its about time. jdk 8 was out April 2014.
> > >>
> > > We will still work with JDK7 for downstream.
> > 
> > this should go on a separate thread :)
> > >
> > >>> When the patch [1] is merged, you will need WildFly 8.2 to be able to
> > >>> develop
> > >>> oVirt engine 3.6. Please use following guideline and update your
> > >>> development
> > >>> environment:
> > >>>
> > >>> I. Using WildFly 8.2 for oVirt 3.6 development
> > >>>
> > >>>1. Enable ovirt-master-snapshot-static repository on your
> > >>>development
> > >>>machine
> > >>> [ovirt-master-snapshot-static]
> > >>> name=Latest oVirt master additional nightly snapshot
> > >>> 
> > >>> baseurl=http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/@DIST@$releasever/
> > >>> enabled=1
> > >>> skip_if_unavailable=1
> > >>> gpgcheck=0
> > >>>
> > >>>   Please replace "@DIST@" with "fc" for Fedora or "el" for
> > >>>   Centos/RHEL
> > >>>
> > >>>2. Install WildFly packages:
> > >>> yum install ovirt-engine-wildfly ovirt-engine-wildfly-overlay
> > >>>
> > >>>3. Rebase your patches and build oVirt engine (assuming
> > >>>"~/ovirt-engine"
> > >>>as
> > >>>   destination)
> > >>> make install-dev
> > >>>
> > >>>5. Setup WildFly overlay (assuming "~/ovirt-engine" as destination)
> > >>> echo
> > >>> 
> > >>> "ENGINE_JAVA_MODULEPATH=\"/usr/share/ovirt-engine-wildfly-overlay/modules:\${ENGINE_JAVA_MODULEPATH}\""
> > >>> \
> > >>> > 
> > >>> ~/ovirt-engine/etc/ovirt-engine/engine.conf.d/20-setup-jboss-overlay.conf
> > >>>
> > >>>6. Execute setup
> > >>> cd ~/ovirt-engine
> > >>> ./bin/engine-setup
> > >>>
> > >>>7. Start engine service
> > >>> cd ~/ovirt-engine
> > >>> ./share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
> > >>> start
> > >>>
> > >>>
> > >>> II. Using JBoss 7.1.1 for 3.5 environment
> > >> why would anyone want to do that?
> > >>
> > > Bugs!
> > 
> > only for out (last?) z stream which will be 3.5.4. other then that, its
> > really the end.
> > >
> 
> We might also have 3.5.5.
> 
> > >>>Using JBoss 7.1.1 on 3.5 is still possible, by doing the following:
> > >>>
> > >>> 1. Install JBoss 7.1.1 RPM from ovirt-master-snapshot-static repo
> > >>> using
> > >>>  yum install ovirt-engine-jboss-as
> > >>>
> > >>> 2. Build oVirt engine 3.5 with your backported feature (assuming
> > >>>"~/ovirt-engine" as destination)
> > >>>  make install-dev
> > >>> 
> > >>> 3. Execute setup
> > >>>  cd ~/ovirt-engine
> > >>>  ./bin/engine-setup--jboss-home=/usr/share/ovirt-engine-jboss-as
> > >>>
> > >>> 4. Start engine service
> > >>>  cd ~/ovirt-engine
> > >>>  ./share/ovirt-engine/services/ovirt-engine/ovirt-engine.py
> > >>>  start
> > >>>   
> > >

Re: [ovirt-devel] [IMPORTANT] Re: Move to Jboss Wildfly - planned for Monday, June 22nd

2015-06-23 Thread Martin Perina
Hi,

we were able to resolve all known issues with oVirt engine running
on WildFly 8.2. So we are going to merge WildFly related patches
for engine

  TOMORROW JUNE 24th, 9:30 CEST

We will send email when all patches are merged but please make
preparations for your development environment described below
(here's link [1] to list archive).

Don't hesitate to contact me if you have any issues.

Thanks

Martin Perina

[1] http://lists.ovirt.org/pipermail/devel/2015-June/010832.html


- Original Message -
> From: "Oved Ourfali" 
> To: "devel" 
> Sent: Monday, June 22, 2015 10:14:32 AM
> Subject: [ovirt-devel] [IMPORTANT] Re: Move to Jboss Wildfly - planned for 
> Monday, June 22nd
> 
> top-posting:
> 
> Running more in-depth tests, we found out that there is an issue with matrix
> parameters in the REST-API (see [1] for more details).
> 
> We are now trying to understand the cause for these issue, and also check
> whether there is a workaround or not.
> If we won't resolve it soon we'll have to postpone the move to Wildfly until
> this gets resolved.
> 
> I'll keep you all posted.
> 
> Regards,
> Oved
> 
> [1] For example, asking for only 2 VMs can be done via using the following
> resource URL
>http://engine:port/ovirt-engine/api/vms;max=2
> 
> - Original Message -
> > From: "Oved Ourfali" 
> > To: "Roy Golan" 
> > Cc: "devel" 
> > Sent: Sunday, June 21, 2015 4:24:38 PM
> > Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday, June
> > 22nd
> > 
> > 
> > 
> > - Original Message -
> > > From: "Roy Golan" 
> > > To: "Oved Ourfali" 
> > > Cc: "devel" 
> > > Sent: Sunday, June 21, 2015 4:05:13 PM
> > > Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday,
> > > June
> > > 22nd
> > > 
> > > On 06/21/2015 03:21 PM, Oved Ourfali wrote:
> > > >
> > > > - Original Message -
> > > >> From: "Roy Golan" 
> > > >> To: "Oved Ourfali" , "devel" 
> > > >> Sent: Sunday, June 21, 2015 3:19:28 PM
> > > >> Subject: Re: [ovirt-devel] Move to Jboss Wildfly - planned for Monday,
> > > >> June 22nd
> > > >>
> > > >> On 06/18/2015 09:13 AM, Oved Ourfali wrote:
> > > >>> Hi all!
> > > >>>
> > > >>> On Monday, June 22nd, 11:00 CET, we plan to drop JBoss 7.1 support in
> > > >>> oVirt
> > > >>> 3.6 and move to Jboss WildFly 8.2
> > > >>> (we're still doing final verifications, but it looks promising).
> > > >>>
> > > >>> This will allow us to support Fedora 22 properly, and in future
> > > >>> versions
> > > >>> to
> > > >>> leverage some new and cool features.
> > > >>>
> > > >>> In addition, Jboss WildFly 8.2 works with OpenJDK 1.8 so you can
> > > >>> easily
> > > >>> use
> > > >>> it for
> > > >>> development on newer distributions where OpenJDK 1.7 is not available
> > > >>> (Fedora 21 and 22, for example).
> > > >> May need a separate thread for that, but we will be able to code using
> > > >> JDK 8. its about time. jdk 8 was out April 2014.
> > > >>
> > > > We will still work with JDK7 for downstream.
> > > 
> > > this should go on a separate thread :)
> > > >
> > > >>> When the patch [1] is merged, you will need WildFly 8.2 to be able to
> > > >>> develop
> > > >>> oVirt engine 3.6. Please use following guideline and update your
> > > >>> development
> > > >>> environment:
> > > >>>
> > > >>> I. Using WildFly 8.2 for oVirt 3.6 development
> > > >>>
> > > >>>1. Enable ovirt-master-snapshot-static repository on your
> > > >>>development
> > > >>>machine
> > > >>> [ovirt-master-snapshot-static]
> > > >>> name=Latest oVirt master additional nightly snapshot
> > > >>> 
> > > >>> baseurl=http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/@DIST@$releasever/
> > > >>> enabled=1
> > > >>> skip_if_unavailable=1
&