From Fedora Project Wiki

 
(12 intermediate revisions by the same user not shown)
Line 16: Line 16:
|[[User:Jhernand|Juan Hernandez]]
|[[User:Jhernand|Juan Hernandez]]
|jhernand
|jhernand
|Packaging the oVirt engine backend and its dependencies.
|Helping with the packaging of JBoss AS7, Spring and RESTEasy
|UTC+1
|UTC+1
|-
|-
|[[User:asaf|Asaf Shakarchi]]
|[[User:asaf|Asaf Shakarchi]]
|?
|asaf
|Packaging the oVirt engine frontend and its dependencies.
|Packaging the oVirt engine frontend and its dependencies
|UTC+2
|UTC+2
|-
|-
Line 102: Line 102:


* <s>[http://mina.apache.org Apache Mina]</s> 2.0.1 or newer
* <s>[http://mina.apache.org Apache Mina]</s> 2.0.1 or newer
** jhernand - packaged the core only at the moment, as it is what is needed for oVirt - http://pkgs.fedoraproject.org/gitweb/?p=apache-mina.git
* <s>[http://mina.apache.org/sshd Apache SSHD]</s> 0.6.0 or newer
* <s>[http://mina.apache.org/sshd Apache SSHD]</s> 0.6.0 or newer
** jhernand - packaging the core only at the moment, as it is what is needed for oVirt
* <s>[http://jackson.codehaus.org/ Jackson]</s> 1.6.3 or newer
* <s>[http://jackson.codehaus.org/ Jackson]</s> 1.6.3 or newer
** jhernand - packaging it and its dependencies
* [http://code.google.com/webtoolkit GWT]
* <s>[http://jsr311.java.net JSR 311 API (Java API for RESTful Web Services)]</s> 1.1
* <s>[http://jsr311.java.net JSR 311 API (Java API for RESTful Web Services)]</s> 1.1
** jhernand - done, thanks to gil - http://pkgs.fedoraproject.org/gitweb/?p=jsr-311.git
* <s>[http://www.springsource.org/ldap Spring LDAP]</s> 1.3.0 or newer
* <s>[http://www.springsource.org/ldap Spring LDAP]</s> 1.3.0 or newer
** jhernand - spec done using fake spring dependencies, needs review once spring is done
** jhernand - spec done using fake spring dependencies, needs review once spring is done
* [http://www.springsource.org/download Spring Framework]
* <s>[http://www.springsource.org/download Spring Framework]</s>
** We currently use 2.5.6, but maybe should move to 3.1
** We currently use 2.5.6, but should move to 3.1.1
** At least spring-jdbc
** At least spring-jdbc
** Also spring-core, spring-tx, spring-orm and spring-context as they are needed for spring-ldap
** Also spring-core, spring-tx, spring-orm and spring-context as they are needed for spring-ldap
* <s>[http://mojo.codehaus.org/jaxb2-maven-plugin Maven JAXB plugin]</s>
* <s>[http://mojo.codehaus.org/jaxb2-maven-plugin Maven JAXB plugin]</s>
** Needed to build the RESTAPI
* [http://www.jboss.org/resteasy RESTEasy]
 
** The modules required have already been packaged and are ready for review, see {{bz|800720}}.
The following dependencies are required by RESTEasy, and thus by the oVirt RESTAPI, please coordinate with alee and update this page if you take one of this:
 
* org.hibernate:hibernate-validator:jar
* org.jboss.cache:jbosscache-core:jar
* org.xbill:dnsjava:jar
* net.oauth.core:oauth-provider:jar
* org.jboss.el:jboss-el:jar
* jboss.web:jbossweb:jar
* cglib:cglib-nodep:jar
* org.springframework:spring-core:jar
* org.springframework:spring-test:jar
* org.springframework:spring-webmvc:jar
* javax.enterprise:cdi-api:jar
* org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar
* org.mortbay.jetty:maven-jetty-plugin
* dnsjava - should be quite easy actually, its already been packaged by fedora and just needs the poms to be added


== Submitted Packages ==
== Submitted Packages ==
Line 165: Line 144:
|{{bz|789615}}
|{{bz|789615}}
|[[User:Jhernand|jhernand]]
|[[User:Jhernand|jhernand]]
|'''<span style="color:orange">Waiting for review</span>'''
|'''<span style="color:green">In Rawhide</span>'''
|Depends on <s>{{bz|789614}}</s>
|Depends on <s>{{bz|789614}}</s>
|-
|3
|springframework
|3.1.1
|{{bz|804048}}
|[[User:Jhernand|jhernand]]
|'''<span style="color:green">In Rawhide</span>'''
|
|-
|4
|spring-ldap
|1.3.1
|{{bz|804055}}
|[[User:Jhernand|jhernand]]
|'''<span style="color:green">In Rawhide</span>'''
|Depends on <s>{{bz|804048}}</s>
|-
|5
|ovirt-engine
|3.0.0_0001
|{{bz|807017}}
|[[User:Jhernand|jhernand]]
|'''<span style="color:green">In Rawhide</span>'''
|Depends on <s>{{bz|804055}}</s> <s>{{bz|804048}}</s> <s>{{bz|789615}}</s> <s>{{bz|789614}}</s>


|}
|}
Line 177: Line 183:


Log of progress:
Log of progress:
--[[User:Jhernand|Jhernand]] 12:26, 2 March 2012 (UTC) - Patched the POM for the .ear file in order to remove all the frontend related dependecies. The generated .ear file contains a lot of .jar files that are part of other packages. I think that these jar files shold be removed from the .ear file (specifying the scope as provided) and replaced with dependencies in the manifest.


--[[User:Jhernand|Jhernand]] 14:35, 27 February 2012 (UTC) - After some more patching all the backend modules build. Note that this is using dummy Spring dependencies and a partial packaging of RESTEasy. We should focus now on making those dependencies available.
--[[User:Jhernand|Jhernand]] 14:35, 27 February 2012 (UTC) - After some more patching all the backend modules build. Note that this is using dummy Spring dependencies and a partial packaging of RESTEasy. We should focus now on making those dependencies available.
Line 195: Line 203:


<pre>
<pre>
[INFO] oVirt Build Tools ................................. SUCCESS [4.708s]
[INFO] Reactor Summary:
[INFO] CSharp Compatibility .............................. SUCCESS [8.317s]
[INFO]
[INFO] Encryption Libraries .............................. SUCCESS [1.994s]
[INFO] oVirt Build Tools ................................. SUCCESS [4.610s]
[INFO] oVirt Tools Common Library ........................ SUCCESS [1.274s]
[INFO] CSharp Compatibility .............................. SUCCESS [7.754s]
[INFO] Common Code ....................................... SUCCESS [24.497s]
[INFO] Encryption Libraries .............................. SUCCESS [1.532s]
[INFO] Common utilities .................................. SUCCESS [10.799s]
[INFO] oVirt Tools Common Library ........................ SUCCESS [1.330s]
[INFO] Data Access Layer ................................. SUCCESS [14.521s]
[INFO] Common Code ....................................... SUCCESS [24.092s]
[INFO] engine scheduler bean ............................. SUCCESS [1.656s]
[INFO] Common utilities .................................. SUCCESS [10.712s]
[INFO] Vds broker ........................................ SUCCESS [12.226s]
[INFO] Data Access Layer ................................. SUCCESS [15.067s]
[INFO] Search Backend .................................... SUCCESS [3.773s]
[INFO] engine scheduler bean ............................. SUCCESS [1.845s]
[INFO] engine vdsbroker stateless session bean ........... SUCCESS [1.282s]
[INFO] Vds broker ........................................ SUCCESS [12.027s]
[INFO] Backend Logic @Service bean ....................... SUCCESS [27.191s]
[INFO] Search Backend .................................... SUCCESS [3.502s]
[INFO] oVirt Engine API Definition ....................... SUCCESS [11.671s]
[INFO] engine vdsbroker stateless session bean ........... SUCCESS [1.316s]
[INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [3.837s]
[INFO] Backend Logic @Service bean ....................... SUCCESS [26.515s]
[INFO] oVirt RESTful API Backend Integration Type Mappers  SUCCESS [5.001s]
[INFO] oVirt Engine API Definition ....................... SUCCESS [11.235s]
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources  SUCCESS [12.931s]
[INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [3.846s]
[INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS [2.255s]
[INFO] oVirt RESTful API Backend Integration Type Mappers  SUCCESS [4.893s]
[INFO] oVirt Configuration Tool .......................... SUCCESS [2.456s]
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources  SUCCESS [12.314s]
[INFO] Notifier Service .................................. SUCCESS [2.087s]
[INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS [2.134s]
[INFO] Notifier Service Resources ........................ SUCCESS [2.245s]
[INFO] oVirt Configuration Tool .......................... SUCCESS [2.311s]
[INFO] Notifier Service .................................. SUCCESS [2.041s]
[INFO] Notifier Service Resources ........................ SUCCESS [2.271s]
[INFO] oVirt Server EAR .................................. SUCCESS [10.580s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:37.437s
[INFO] Total time: 2:44.318s
[INFO] Finished at: Mon Feb 27 15:33:25 CET 2012
[INFO] Finished at: Fri Mar 02 13:22:25 CET 2012
[INFO] Final Memory: 107M/257M
[INFO] Final Memory: 109M/260M
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
</pre>
</pre>

Latest revision as of 14:11, 13 April 2012

oVirt Packaging

This page is used to track the status of the packaging effort for oVirt.


People involved

Below is the list of currently involved people in the process.

Name IRC Current work Additional info
Juan Hernandez jhernand Helping with the packaging of JBoss AS7, Spring and RESTEasy UTC+1
Asaf Shakarchi asaf Packaging the oVirt engine frontend and its dependencies UTC+2

Dependencies

Frontend

This is the list of dependencies identified to date and their status:

# Package Version Review request Packager Status Comments
1 gwt-servlet 2.3.0 asaf Building In Progress
2 gwt-dev 2.3.0 asaf Building In Progress
3 gwt-user 2.3.0 asaf Building In Progress
4 gwt-user 2.3.0 asaf Building In Progress
5 guice 3.0 asaf Building In Progress
6 gwt-platform - gwtp-mvp-client + gwtp-processors 0.6 asaf Building In Progress
7 org.aspectj - aspectjweaver 1.6.11 asaf Building In Progress

Backend

This is the list of dependencies identified to date and their status:

Submitted Packages

Table below shows what is submitted to Fedora (only those that are specific to oVirt, the rest are tracked in the JBossAS7 page):

# Package Version Review request Packager Status Comments
1 apache-mina 2.0.4 RHBZ #789614 jhernand In Rawhide
2 apache-sshd 0.6.0 RHBZ #789615 jhernand In Rawhide Depends on RHBZ #789614
3 springframework 3.1.1 RHBZ #804048 jhernand In Rawhide
4 spring-ldap 1.3.1 RHBZ #804055 jhernand In Rawhide Depends on RHBZ #804048
5 ovirt-engine 3.0.0_0001 RHBZ #807017 jhernand In Rawhide Depends on RHBZ #804055 RHBZ #804048 RHBZ #789615 RHBZ #789614

This is how far we are in the oVirt build process

This section tracks the progress of the build of the oVirt RPM itself. This requires patching to remove things that are not being used and also to update to versions supported in Fedora. The source code for the spec and the patches is available here:

https://github.com/jhernand/ovirt-rpm

Log of progress:

--Jhernand 12:26, 2 March 2012 (UTC) - Patched the POM for the .ear file in order to remove all the frontend related dependecies. The generated .ear file contains a lot of .jar files that are part of other packages. I think that these jar files shold be removed from the .ear file (specifying the scope as provided) and replaced with dependencies in the manifest.

--Jhernand 14:35, 27 February 2012 (UTC) - After some more patching all the backend modules build. Note that this is using dummy Spring dependencies and a partial packaging of RESTEasy. We should focus now on making those dependencies available.

--Jhernand 13:14, 27 February 2012 (UTC) - Using a partial build of RESTEasy (only the core and the JAXB, jackson and yaml) providers allmost all the RESTAPI modules build. This also required an small change in the RESTAPI to deal with the way bean serializers are created starting with Jackson 1.7 (we use 1.6 en oVirt currently and 1.9 in Fedora). Next step will be removing Spring from the web application.

--Jhernand 15:08, 22 February 2012 (UTC) - Updated the RESTAPI build process to use the now packaged maven-jaxb2-plugin. The Java code is correctly generated from the XSD, but this doesn't bring any advance in the build process as the RESTAPI modules also depend on RESTEasy.

--Jhernand 16:44, 16 February 2012 (UTC) - Removed all the local user authentication code (LU*) as it only makes sense in Windows and now almost all the backend builds, even some RESTAPI modules. The rest is going to be really hard.

--Jhernand 16:04, 16 February 2012 (UTC) - After patching the engine to use Quartz 2.1 (not sure if this will work) the scheduler bean, the search backend and VDS broker build!

--Jhernand 13:10, 16 February 2012 (UTC) - Removed all the references to Hibernate (hope this doesn't break other things) and now DAL builds!

--Jhernand 12:10, 16 February 2012 (UTC) - After some patching and using fake spring dependencies the common utilities build!

Result of the last build:

[INFO] Reactor Summary:
[INFO] 
[INFO] oVirt Build Tools ................................. SUCCESS [4.610s]
[INFO] CSharp Compatibility .............................. SUCCESS [7.754s]
[INFO] Encryption Libraries .............................. SUCCESS [1.532s]
[INFO] oVirt Tools Common Library ........................ SUCCESS [1.330s]
[INFO] Common Code ....................................... SUCCESS [24.092s]
[INFO] Common utilities .................................. SUCCESS [10.712s]
[INFO] Data Access Layer ................................. SUCCESS [15.067s]
[INFO] engine scheduler bean ............................. SUCCESS [1.845s]
[INFO] Vds broker ........................................ SUCCESS [12.027s]
[INFO] Search Backend .................................... SUCCESS [3.502s]
[INFO] engine vdsbroker stateless session bean ........... SUCCESS [1.316s]
[INFO] Backend Logic @Service bean ....................... SUCCESS [26.515s]
[INFO] oVirt Engine API Definition ....................... SUCCESS [11.235s]
[INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [3.846s]
[INFO] oVirt RESTful API Backend Integration Type Mappers  SUCCESS [4.893s]
[INFO] oVirt RESTful API Backend Integration JAX-RS Resources  SUCCESS [12.314s]
[INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS [2.134s]
[INFO] oVirt Configuration Tool .......................... SUCCESS [2.311s]
[INFO] Notifier Service .................................. SUCCESS [2.041s]
[INFO] Notifier Service Resources ........................ SUCCESS [2.271s]
[INFO] oVirt Server EAR .................................. SUCCESS [10.580s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:44.318s
[INFO] Finished at: Fri Mar 02 13:22:25 CET 2012
[INFO] Final Memory: 109M/260M
[INFO] ------------------------------------------------------------------------

Status legend

Status Meaning
Issue Package encountered a serious issue while packaging (license, etc) - see Comments field for more info.
Waiting for review Package is submitted for review and ready to be reviewed. Feel free to pick this package and do the review.
In review Package is submitted for review and being reviewed by someone.
After review, waiting for SCM Package passed review and packages is waiting for creating git repo in Fedora for this package.
In Rawhide Package is available in Rawhide.