Eucalyptus

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Optional dependencies and sub-dependencies)
(Optional dependencies and sub-dependencies)
(47 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
== Remaining tasks ==
 
== Remaining tasks ==
  
=== Write systemd units for eucalyptus services ===
+
=== Polish systemd units for eucalyptus services ===
  
 
There are three init scripts in eucalyptus:
 
There are three init scripts in eucalyptus:
Line 10: Line 10:
 
* eucalyptus-nc - starts a Node Controller (NC), which is a custom httpd instance with wso2-axis2 configured
 
* eucalyptus-nc - starts a Node Controller (NC), which is a custom httpd instance with wso2-axis2 configured
  
Currently, these services have complex init scripts, and we probably need to make the systemd units call"bootstrap" scripts derived from the current init scripts.
+
In Fedora 18, we provide systemd units which simple execute the old init scripts, which have been moved to /usr/libexec/eucalyptus.  Ideally, the old init scripts should go away completely.
  
 
=== Create SELinux contexts/policies ===
 
=== Create SELinux contexts/policies ===
  
The packaging guidelines don't explicitly state requirements related to SELinux, but it s understood that SELinux is enabled by default in Fedora, and just saying "turn it off" is not acceptableI'm not sure whether this actually blocks approval of the package, though.
+
Eucalyptus must run in permissive mode in Fedora 18We need to work on policy that will allow it to run in enforcing mode.
  
=== Adapt CC and NC code to WSO2 framework ===
+
=== Make Axis2/Java 1.6 work for code generation ===
  
The WSO2 web services framework has diverged a bit from the Apache version, and we need to ensure that the CC and NC can function properly. I've created a github repo to track my patches which are being tested:
+
The C code generated by Axis2/Java 1.6.0 does not work with Eucalyptus's currently defined handlers.  Currently, one must use an [http://arg.fedorapeople.org/axis2v14/noarch/ Axis2/Java 1.4 package] to build a tarball of generated code for inclusion in the eucalyptus package.
  
https://github.com/a13m/wso2-wsf-cpp
+
=== Fix the reporting module ===
  
There's a related concern that C code generated by Axis2/Java 1.6.0 may not work with Eucalyptus's currently defined handlersThis could require code change in Eucalyptus, or an Axis2/Java 1.4 compatibility package in Fedora.
+
There is a build issue in the reporting module due to the use of Guava 9 in the upstream Eucalyptus buildFor now, the module has been disabled.
  
=== Enabling modules in existing packages ===
+
=== Enable the admin console ===
 
+
* hibernate-jbosscache must be enabled
+
* mule-management may need to be enabled (mule was just approved, but the management module was disabled due to missing deps)
+
  
 +
The admin console is based on GWT, which is not yet in Fedora.  It may not be worth the time to build it, though, as Eucalyptus intends to phase out the GWT-based UI.
  
 
== Packaging Progress ==
 
== Packaging Progress ==
Line 44: Line 42:
 
!Status
 
!Status
 
!Comments
 
!Comments
|-
 
|1
 
|wss4j
 
|1.5.12
 
|
 
|{{bz|787738}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|
 
|-
 
|2
 
|aspectjweaver
 
|1.6.12
 
|
 
|{{bz|790519}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: Blocks spring
 
|-
 
|3
 
|ha-jdbc
 
|2.0.16
 
|
 
|{{bz|790256}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep
 
|-
 
|4
 
|hamcrest12
 
|1.2
 
|
 
|{{bz|790258}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep; also blocks ehcache-core
 
|-
 
|5
 
|hessian
 
|4.0.7
 
|
 
|{{bz|790551}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks Spring
 
|-
 
|6
 
|jamonapi
 
|2.73
 
|
 
|{{bz|791222}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks Spring
 
|-
 
|7
 
|xml-maven-plugin
 
|
 
|
 
|{{bz|782250}}
 
|[[User:Ke4qqq|ke4qqq]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep; blocks ehcache-core
 
|-
 
|8
 
|axis2c
 
|1.6.0
 
|
 
|{{bz|735225}}
 
|[[User:Gholms|gholms]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|
 
|-
 
|9
 
|rampartc
 
|
 
|1.3.0
 
|{{bz|796462}}
 
|[[User:Gholms|gholms]]
 
|'''<span style="color:green">Approved</span>'''
 
|
 
|-
 
|10
 
|jexcelapi
 
|2.6.12
 
|
 
|{{bz|791312}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks Spring
 
|-
 
|11
 
|axiom
 
|1.2.12
 
|
 
|{{bz|791053}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep; also blocks axis2
 
|-
 
|12
 
|neethi
 
|3.0.1
 
|
 
|{{bz|794941}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks axis2
 
|-
 
|13
 
|XmlSchema
 
|1.4.7
 
|
 
|{{bz|794946}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks axis2
 
|-
 
|14
 
|apache-commons-ognl
 
|3.0.4
 
|
 
|{{bz|794715}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks mule. Renamed from ognl to apache-commons-ognl during review.
 
|-
 
|15
 
|annogen
 
|0.1.0
 
|
 
|{{bz|790990}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks axis2
 
|-
 
|16
 
|geronimo-commonj
 
|
 
|
 
|{{bz|799392}}
 
|[[User:Jhernand|jhernand]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep; blocks spring
 
|-
 
|17
 
|netty3.1
 
|3.1.5
 
|
 
|{{bz|795492}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep
 
|-
 
|18
 
|stax-utils
 
|20110309
 
|
 
|{{bz|794923}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:orange">In Review, on hold</span>'''
 
|Indirect dep; blocks mule -- maybe unnecessary?
 
|-
 
|19
 
|woden
 
|1.0M9
 
|
 
|{{bz|795566}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Indirect dep: blocks axis2; blocked by axiom, XmlSchema
 
|-
 
|20
 
|axis2
 
|1.6.1
 
|
 
|{{bz|802549}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">SCM Requested</span>'''
 
|blocked by neethi, woden, XmlSchema
 
|-
 
|21
 
|jboss-connector-1.6-api
 
|1.0.1
 
|
 
|{{bz|801614}}
 
|
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep
 
|-
 
|22
 
|mule
 
|2.0.2
 
|
 
|
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">SCM Requested</span>'''
 
|Direct dep
 
|-
 
|23
 
|springframework
 
|3.1.1
 
|
 
|{{bz|804048}}
 
|[[User:Jhernand|jhernand]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep; also required for mule.
 
|-
 
|24
 
|hibernate-validator
 
|4.2.0
 
|
 
|{{bz|799976}}
 
|[[User:Jhernand|jhernand]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep; also blocks ehcache, hibernate, gwt, ...
 
|-
 
|25
 
|hibernate3
 
|3.6.10
 
|
 
|{{bz|803546}}
 
|[[User:Arg|arg]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep; NOTE: need to enable ehcache and jbosscache modules
 
|-
 
|26
 
|ehcache-core
 
|2.6.0
 
|
 
|{{bz|803558}}
 
|[[User:gil|gil]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|Direct dep
 
 
|-
 
|-
 
|27
 
|27
Line 286: Line 50:
 
|[[User:Arg|arg]]
 
|[[User:Arg|arg]]
 
|'''<span style="color:red">Clean-up Required</span>'''
 
|'''<span style="color:red">Clean-up Required</span>'''
|Direct dep, blocked by hibernate-validator
+
|Required for admin console
 
|-
 
|-
|28
+
|36
|jsf implementation - Is mojarra ok?
+
|josql
|2.1.7
+
|2.2
 
|
 
|
|{{bz|800890}}
+
|{{bz|822832}}
|[[User:Jhernand|jhernand]]
+
|'''<span style="color:green">In Rawhide</span>'''
+
|Indirect dep; blocks spring-web
+
|-
+
|29
+
|apache-commons-javaflow
+
|1.0
+
|
+
|{{bz|820344}}
+
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|
+
|ActiveMQ deps
 
|-
 
|-
|30
+
|47
|jasperreports
+
|mqtt-client
|4.0.2
+
|1.3
 
|
 
|
|{{bz|820548}}
+
|{{bz|853055}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|
+
|ActiveMQ deps
 
|-
 
|-
|31
+
|48
|apacheds
+
|groovy-gram
|1.5.7
+
|1.2
 
|
 
|
|{{bz|823967}}
+
|{{bz|846561}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:orange">Awaiting Review</span>'''
 
|'''<span style="color:orange">Awaiting Review</span>'''
|
+
|ActiveMQ deps
 
|-
 
|-
|32
+
|49
|portlet-2.0-api
+
|pax-logging
|1.0
+
|1.6.9
 
|
 
|
|{{bz|824539}}
+
|{{bz|849469}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|'''<span style="color:green">In Rawhide</span>'''
|springframework deps
+
|ActiveMQ deps
 
|-
 
|-
|33
+
|50
|jasypt
+
|sitemesh
|1.9.0
+
|2.4.2
 
|
 
|
|{{bz|822889}}
+
|{{bz|853439}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:orange">Awaiting Review</span>'''
 
|'''<span style="color:orange">Awaiting Review</span>'''
 
|ActiveMQ deps
 
|ActiveMQ deps
 
|-
 
|-
|34
+
|51
|activeio
+
|apache-commons-primitives
|3.1.4
+
|1.1
 
|
 
|
|{{bz|822920}}
+
|{{bz|832803}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
|'''<span style="color:blue">After review, waiting for SCM</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
 
|ActiveMQ deps
 
|ActiveMQ deps
 
|-
 
|-
|35
+
|52
|activemq-protobuf
+
|felix-fileinstall
|1.1
+
|3.2.0
 
|
 
|
|{{bz|822929}}
+
|{{bz|855192}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:orange">Awaiting Review</span>'''
 
|'''<span style="color:orange">Awaiting Review</span>'''
|ActiveMQ deps
+
|Apache Karaf deps
 
|-
 
|-
|36
+
|53
|josql
+
|felix-webconsole
|2.2
+
|4.0.0
 
|
 
|
|{{bz|822832}}
+
|{{bz|855193}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:orange">Awaiting Review</span>'''
 
|'''<span style="color:orange">Awaiting Review</span>'''
|ActiveMQ deps
+
|Apache Karaf deps
 
|-
 
|-
|37
+
|54
|eclipselink
+
|hawtbuf
|2.3.2
+
|1.9
 
|
 
|
|{{bz|809540}}
+
|{{bz|853050}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|'''<span style="color:green">In Rawhide</span>'''
|springframework deps
+
|mqtt-client deps
 
|-
 
|-
|38
+
|55
|openjpa
+
|hawtdispatch
|2.2.0
+
|1.11
 
|
 
|
|{{bz|823889}}
+
|{{bz|853052}}
 
|[[User:gil|gil]]
 
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|springframework deps
+
|mqtt-client deps
 
|-
 
|-
|39
+
|56
|jdbm
+
|oscache
 +
|2.4.1
 +
|
 +
|{{bz|849470}}
 +
|[[User:gil|gil]]
 +
|'''<span style="color:orange">Awaiting Review</span>'''
 +
|Hibernate 3.x deps (module of the same name)
 +
|-
 +
|57
 +
|swarmcache
 
|1.0
 
|1.0
 
|
 
|
|{{bz|844033}}
+
|{{bz|849471}}
|[[User:madsa|madsa]]
+
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|JBossCache deps
+
|Hibernate 3.x deps (module of the same name)
 
|-
 
|-
|40
+
|58
|jgroups212
+
|activemq
|2.12.3
+
|5.6.0
 
|
 
|
|{{bz|844479}}
+
|{{bz|857193}}
 
|[[User:madsa|madsa]]
 
|[[User:madsa|madsa]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|JBossCache deps
+
|
 
|-
 
|-
|41
+
|59
|jbosscache-support
+
|classmate
|1.6
+
|0.5.4
 
|
 
|
|{{bz|844769}}
+
|{{bz|815060}}
|[[User:madsa|madsa]]
+
|[[User:gil|gil]]
 
|'''<span style="color:green">In Rawhide</span>'''
 
|'''<span style="color:green">In Rawhide</span>'''
|JBossCache deps
+
|An Hibernate 4.x dependency. module hibernate-core
 +
|-
 +
|60
 +
|karaf
 +
|2.2.5
 +
|
 +
|{{bz|875692}}
 +
|[[User:gil|gil]]
 +
|'''<span style="color:orange">Awaiting Review</span>'''
 +
|ActiveMQ deps  
 
|-
 
|-
|42
+
|61
|jbosscache-core
+
|gemini-blueprint
|3.2.8
+
|1.0.2
 
|
 
|
|{{bz|844827}}
+
|{{bz|866239}}
|[[User:madsa|madsa]]
+
|[[User:gil|gil]]
|'''<span style="color:green">In Rawhide</span>'''
+
|'''<span style="color:orange">Awaiting Review</span>'''
|blocked by jgroups212, jbosscache-support
+
|ActiveMQ deps
 +
|-
 +
|62
 +
|springframework-ws
 +
|2.0.5.RELEASE
 +
|
 +
|{{bz|877152}}
 +
|[[User:gil|gil]]
 +
|'''<span style="color:orange">Awaiting Review</span>'''
 +
|ActiveMQ deps
 
|}
 
|}
  
 
=== Optional dependencies and sub-dependencies ===
 
=== Optional dependencies and sub-dependencies ===
  
ActiveMQ and JasperReports are only necessary for reporting, which, while it's a nice new feature of Eucalyptus 3, can easily be omitted from the build.
+
Enough of ActiveMQ is built for Eucalyptus to function.  Packages mentioned here are only necessary to activate more of the activemq modules.
  
Infinispan dependencies
+
ActiveMQ 5.6.0 dependencies:
* rhq
+
* activesoap jaxp-api (replace with glassfish-jaxb-api)
 
+
* annogen
ActiveMQ 5 dependencies:
+
* apache-commons-primitives
* easymock-classextension
+
* spring 2
+
 
* apacheds
 
* apacheds
* xbean 3.9 or major (maven-xbean-plugin, xbean-blueprint and xbean-spring modules)
+
* TODO camel 2.9.2 or major, http://camel.apache.org/ (required modules: camel-core, camel-jetty, camel-jms, camel-spring)
 +
* easymock-classextension
 +
* gentlyweb-utils
 +
* groovy-gram
 +
* TODO jrms
 +
* mqtt-client
 +
* karaf, module org.apache.karaf.shell.console
 +
* TODO fuse-extra (module fusemq-leveldb)
 +
* TODO pax-exam 1.x
 +
* pax-logging
 +
* sitemesh 2.4.2
 +
* gemini-blueprint see http://www.springsource.org/osgi (spring-osgi).
 +
* springframework-ws (require module spring-oxm-tiger 1.5.10 (depend on {{bz|820676}}) or spring-ws-core 2.0.5(?))
 +
* xbean 3.9 or major: maven-xbean-plugin, TODO xbean-blueprint (see {{bz|849955}}) and xbean-spring modules
 
* etc. (I am unsure of the full dep chain at this time
 
* etc. (I am unsure of the full dep chain at this time
 
JasperReports dependencies:
 
* castor (castor-core and castor-xml modules) see {{bz|820676}}
 
* barcode4j
 
* eigenbase-properties (for mondrian)
 
* eigenbase-resgen (for mondrian)
 
* jexcelapi
 
* olap4j (for mondrian)
 
* TODO: mondrian
 
* apache-commons-javaflow
 
* TODO: png-encoder
 
* TODO: barbecue
 
* TODO: jdt-compiler (is this already in as part of eclipse?? ecj >= 1:3.4.2-13)
 
* hibernate 3.x
 

Revision as of 00:19, 27 December 2012

This page is for tracking progress on the packaging Eucalyptus 3.x in Fedora. We've been tracking this for three releases now, and the dependency packaging is mostly complete, except for Google Web Toolkit, which we can omit for now. Therefore, it's more useful for the top of this page to summarize the _other_ changes needed to make Eucalyptus build and run on Fedora 18.

Contents

Remaining tasks

Polish systemd units for eucalyptus services

There are three init scripts in eucalyptus:

  • eucalyptus-cloud - starts a java service, which may be a Cloud Controller, Walrus, or Storage Controller
  • eucalyptus-cc - starts a Cluster Controller (CC), which is a custom httpd instance with wso2-axis2 configured
  • eucalyptus-nc - starts a Node Controller (NC), which is a custom httpd instance with wso2-axis2 configured

In Fedora 18, we provide systemd units which simple execute the old init scripts, which have been moved to /usr/libexec/eucalyptus. Ideally, the old init scripts should go away completely.

Create SELinux contexts/policies

Eucalyptus must run in permissive mode in Fedora 18. We need to work on policy that will allow it to run in enforcing mode.

Make Axis2/Java 1.6 work for code generation

The C code generated by Axis2/Java 1.6.0 does not work with Eucalyptus's currently defined handlers. Currently, one must use an Axis2/Java 1.4 package to build a tarball of generated code for inclusion in the eucalyptus package.

Fix the reporting module

There is a build issue in the reporting module due to the use of Guava 9 in the upstream Eucalyptus build. For now, the module has been disabled.

Enable the admin console

The admin console is based on GWT, which is not yet in Fedora. It may not be worth the time to build it, though, as Eucalyptus intends to phase out the GWT-based UI.

Packaging Progress

These are the packages still in progress which are necessary for the Eucalyptus build:

# Package Version POM Review request Packager Status Comments
27 gwt 2.4.0 arg Clean-up Required Required for admin console
36 josql 2.2 RHBZ #822832 gil Awaiting Review ActiveMQ deps
47 mqtt-client 1.3 RHBZ #853055 gil Awaiting Review ActiveMQ deps
48 groovy-gram 1.2 RHBZ #846561 gil Awaiting Review ActiveMQ deps
49 pax-logging 1.6.9 RHBZ #849469 gil In Rawhide ActiveMQ deps
50 sitemesh 2.4.2 RHBZ #853439 gil Awaiting Review ActiveMQ deps
51 apache-commons-primitives 1.1 RHBZ #832803 gil Awaiting Review ActiveMQ deps
52 felix-fileinstall 3.2.0 RHBZ #855192 gil Awaiting Review Apache Karaf deps
53 felix-webconsole 4.0.0 RHBZ #855193 gil Awaiting Review Apache Karaf deps
54 hawtbuf 1.9 RHBZ #853050 gil In Rawhide mqtt-client deps
55 hawtdispatch 1.11 RHBZ #853052 gil Awaiting Review mqtt-client deps
56 oscache 2.4.1 RHBZ #849470 gil Awaiting Review Hibernate 3.x deps (module of the same name)
57 swarmcache 1.0 RHBZ #849471 gil Awaiting Review Hibernate 3.x deps (module of the same name)
58 activemq 5.6.0 RHBZ #857193 madsa Awaiting Review
59 classmate 0.5.4 RHBZ #815060 gil In Rawhide An Hibernate 4.x dependency. module hibernate-core
60 karaf 2.2.5 RHBZ #875692 gil Awaiting Review ActiveMQ deps
61 gemini-blueprint 1.0.2 RHBZ #866239 gil Awaiting Review ActiveMQ deps
62 springframework-ws 2.0.5.RELEASE RHBZ #877152 gil Awaiting Review ActiveMQ deps

Optional dependencies and sub-dependencies

Enough of ActiveMQ is built for Eucalyptus to function. Packages mentioned here are only necessary to activate more of the activemq modules.

ActiveMQ 5.6.0 dependencies:

  • activesoap jaxp-api (replace with glassfish-jaxb-api)
  • annogen
  • apache-commons-primitives
  • apacheds
  • TODO camel 2.9.2 or major, http://camel.apache.org/ (required modules: camel-core, camel-jetty, camel-jms, camel-spring)
  • easymock-classextension
  • gentlyweb-utils
  • groovy-gram
  • TODO jrms
  • mqtt-client
  • karaf, module org.apache.karaf.shell.console
  • TODO fuse-extra (module fusemq-leveldb)
  • TODO pax-exam 1.x
  • pax-logging
  • sitemesh 2.4.2
  • gemini-blueprint see http://www.springsource.org/osgi (spring-osgi).
  • springframework-ws (require module spring-oxm-tiger 1.5.10 (depend on RHBZ #820676) or spring-ws-core 2.0.5(?))
  • xbean 3.9 or major: maven-xbean-plugin, TODO xbean-blueprint (see RHBZ #849955) and xbean-spring modules
  • etc. (I am unsure of the full dep chain at this time