EucalyptusInMainSpec
Size: 9770
Comment:
|
Size: 9646
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 47: | Line 47: |
* denotes a new package in karmic Direct dependencies |
|
Line 48: | Line 51: |
antlr3 groovy ivy (groovy) janino junit4 (groovy, spring) libasm2-java libasm-java (libcglib2.1-java) libaspectwerkz2-java (libcglib2.1-java) libbackport-util-concurrent-java (libdom4j-java, spring) libbcprov-java libc3p0-java libcglib2.1-java libclassworlds-java (groovy) libcommons-beanutils-java |
antlr3 (antlr3) eucalyptus-commons-ext-java* (eucalyptus-commons-ext-java) groovy (groovy) janino (janino) asm2 (libasm2-java) libaxiom-java* (libaxiom-java) bouncycastle (libbcprov-java) c3p0 (libc3p0-java) cglib2.1 (libcglib2.1-java) commons-beanutils (libcommons-beanutils-java) |
Line 63: | Line 62: |
libcommons-codec-java (libjaxme-java) | |
Line 67: | Line 65: |
libcommons-io-java | commons-io (libcommons-io-java) |
Line 69: | Line 67: |
libcommons-vfs-java (ivy) libdom4j-java libeasymock-java (libhamcrest-java) eucalyptus-javadeps libgeronimo-activation-1.1-spec-java libgeronimo-j2ee-connector-1.5-spec-java libgeronimo-javamail-1.4-provider-java libgeronimo-javamail-1.4-spec-java libgeronimo-jms-1.1-spec-java libgeronimo-jta-1.0.1b-spec-java libgeronimo-stax-1.0-spec-java |
dnsjava* (libdnsjava-java) dom4j (libdom4j-java) drools* (libdrools-core-java) excalibur-logkit (libexcalibur-logkit-java) libezmorph-java geronimo-activation-1.1-spec (libgeronimo-activation-1.1-spec-java) geronimo-ejb-3.0-spec* (libgeronimo-ejb-3.0-spec-java) geronimo-javamail-1.4-provider (libgeronimo-javamail-1.4-provider-java) geronimo-javamail-1.4-spec (libgeronimo-javamail-1.4-spec-java) geronimo-jms-1.1-spec (libgeronimo-jms-1.1-spec-java) geronimo-jpa-3.0-spec* (libgeronimo-jpa-3.0-spec-java) geronimo-jta-1.0.1b-spec (libgeronimo-jta-1.0.1b-spec-java) geronimo-jacc-1.1-spec* (libgeronimo-jacc-1.1-spec-java) geronimo-interceptor-3.0-spec* (libgeronimo-interceptor-3.0-spec-java) geronimo-stax-1.0-spec (libgeronimo-stax-1.0-spec-java) |
Line 81: | Line 83: |
libhamcrest-java (junit4) libjavassist-java |
gwt* (libgwt-java) javassist (libjavassist-java) |
Line 84: | Line 86: |
jetty* (libjetty-java) libjibx-java libjson-java jug* (libjug-asl-java) jakarta-log4j (liblog4j1.2-java) mvel* (libmvel-java) netty* (libnetty-java) libslf4j-java wss4j* (libwss4j-java) libxml-security-java xom (libxom-java) libxpp3-java wsdl4j (libwsdl4j-java) }}} 1st-level Dependencies of deps {{{ ivy (groovy) jruby1.1 (eucalyptus-commons-ext-java) junit4 (groovy) libaopalliance-java (eucalyptus-commons-ext-java) libasm-java (libcglib2.1-java, eucalyptus-commons-ext-java) libaspectwerkz2-java (libcglib2.1-java) libbackport-util-concurrent-java (libdom4j-java, eucalyptus-commons-ext-java) libclassworlds-java (groovy) libcommons-attributes-java (eucalyptus-commons-ext-java) libjamon-java (eucalyptus-commons-ext-java) |
|
Line 86: | Line 115: |
libjettison-java | |
Line 88: | Line 116: |
libjibx-java | |
Line 90: | Line 117: |
libjoda-time-java (libxstream-java) libjrexx-java (libaspectwerkz2-java) |
|
Line 96: | Line 121: |
libslf4j-java | |
Line 98: | Line 122: |
libswt-gtk-3.4-java (gwt) libxpp2-java (libdom4j-java) libxstream-java (drools, groovy, eucalyptus-commons-ext-java) }}} 2nd and more level {{{ libcommons-vfs-java (ivy) libeasymock-java (libhamcrest-java) libhamcrest-java (junit4) libicu4j-java (eclipse) libjoda-time-java (libxstream-java) libjrexx-java (libaspectwerkz2-java) liblucene-java (eclipse) |
|
Line 99: | Line 137: |
libwoodstox-java (libjibx-java) libwsdl4j-java libxml-security-java libxom-java libxpp2-java (libdom4j-java) libxpp3-java libxstream-java (groovy, euca-javadeps) |
|
Line 108: | Line 139: |
=== New dependencies expected for Eucalyptus 1.6 === * netty 3.1 * dnsjava * Excalibur Logkit * geronimo-ejb_3.0_spec-1.0.1 * geronimo-jpa_3.0_spec-1.1.1 * geronimo-interceptor * geronimo-jacc === Packages expected from RefactorEucalyptusJavadepsSpec === * Axiom * Drools * MVEL * WSS4J * openSAML1.1 * JUG * Jetty 6 * Google Web Toolkit? === Dependencies from new eucalyptus-javadeps === * jruby1.1 (spring) * libaopalliance-java (spring) * libcommons-attributes-java (spring) * libjamon-java (spring) * libjsr107cache-java (ehcache) |
|
Line 139: | Line 141: |
* 58 from primary list * 7 from new Eucalyptus deps * 8 from RefactorEucalyptusJavadepsSpec * 5 from new euca-javadeps |
|
Line 145: | Line 142: |
=== Other potential actions to reduce number of packages === * |
|
Line 168: | Line 161: |
Set 1 (100% sure, already in universe) {{{ libasm2-java* bouncycastle* groovy* (needs ivy junit4 libclassworlds-java libxstream-java libmockobjects-java libasm2-java) libjibx-java* (needs libxpp3-java libqdox-java) libc3p0-java* libcglib-2.1-java* (needs libasm-java libaspectwerkz2-java) libcommons-beanutils-java* libdom4j-java* (needs libxpp2-java libjunitperf-java libjaxme-java libcommons-codec-java libbackport-util-concurrent-java) janino* libxpp3-java* }}} Set 2 (100% sure, in PPA) {{{ libaxiom-java libdnsjava-java libnetty-java libjug-asl-java libmvel-java }}} |
Launchpad Entry: server-karmic-eucalyptus-in-main
Created: June 2nd, 2009
Contributors: ThierryCarrez
Packages affected: lots
Summary
Eucalyptus, as part of the Ubuntu Enterprise Cloud, needs to move to main to be properly supported by Canonical. That means that all runtime and build-time dependencies (and all dependencies of the dependencies) must also move to main. This specification tracks which packages will need to move to main and efforts made to reduce the total number as much as possible.
Release Note
Eucalyptus is now part of the Ubuntu "main" repository, and fully supported by Canonical.
Rationale
Eucalyptus is currently in universe, together with most of its Java library dependencies. Since Eucalyptus is part of the Ubuntu Enterprise Cloud product, it needs to be properly supported by Canonical, which means move to the "main" repository. However, packages in "main" also need to have all their runtime and build-time dependencies in "main" as well. Java software in general heavily makes use of other Java libraries, so this quickly snowballs into a large number of packages to move to main. Furthermore, there isn't so much Java-based software in main already (OpenOffice.org, tomcat6) so even some basic Java libraries need to be moved.
User stories
- Dave has been trying the UEC technology preview in 9.04 and aims to deploy UEC with the 9.10 release. As it will no longer be a technology preview, it needs to be properly supported.
Assumptions
This spec does not take care of any other non-Java MIR that Eucalyptus may need. iscsitarget for example could be a new 1.6 dependency, and it is in universe currently.
Design
We need to try to keep the number of packages as small as possible in order to avoid MIR team overload. Some hacks (like duplicating some greedy source packages to avoid bringing lots of unnecessary build dependencies) are worth the trouble if they save a significant amount of packages. However Debian doesn't care about keeping the number of dependency packages small, so those hacks don't really make sense from a Debian perspective.
Avoid packages difficult to maintain
- Large software stacks
- JBoss (pulled through Hibernate)
- Glassfish (pulled through glassfish-javaee and glassfish-toplink-essentials, used as build-deps)
Proposed actions for package number reduction
- Use a specific eucalyptus-javadeps with hibernate/ehcache/spring: saves 60+ packages
Remove dependency from libclassworlds-java -> maven-ant-helper: saves 8+ packages
- Avoid dependencies on Glassfish packages, use geronimo-specs-* instead
- Build MVEL with asm2 rather than asm3 (-1)
Resulting list (without those from RefactorEucalyptusJavadepsSpec)
* denotes a new package in karmic
Direct dependencies
antlr3 (antlr3) eucalyptus-commons-ext-java* (eucalyptus-commons-ext-java) groovy (groovy) janino (janino) asm2 (libasm2-java) libaxiom-java* (libaxiom-java) bouncycastle (libbcprov-java) c3p0 (libc3p0-java) cglib2.1 (libcglib2.1-java) commons-beanutils (libcommons-beanutils-java) libcommons-cli-java libcommons-collections3-java libcommons-discovery-java libcommons-fileupload-java commons-io (libcommons-io-java) libcommons-jxpath-java dnsjava* (libdnsjava-java) dom4j (libdom4j-java) drools* (libdrools-core-java) excalibur-logkit (libexcalibur-logkit-java) libezmorph-java geronimo-activation-1.1-spec (libgeronimo-activation-1.1-spec-java) geronimo-ejb-3.0-spec* (libgeronimo-ejb-3.0-spec-java) geronimo-javamail-1.4-provider (libgeronimo-javamail-1.4-provider-java) geronimo-javamail-1.4-spec (libgeronimo-javamail-1.4-spec-java) geronimo-jms-1.1-spec (libgeronimo-jms-1.1-spec-java) geronimo-jpa-3.0-spec* (libgeronimo-jpa-3.0-spec-java) geronimo-jta-1.0.1b-spec (libgeronimo-jta-1.0.1b-spec-java) geronimo-jacc-1.1-spec* (libgeronimo-jacc-1.1-spec-java) geronimo-interceptor-3.0-spec* (libgeronimo-interceptor-3.0-spec-java) geronimo-stax-1.0-spec (libgeronimo-stax-1.0-spec-java) libgoogle-collections-java gwt* (libgwt-java) javassist (libjavassist-java) libjaxen-java jetty* (libjetty-java) libjibx-java libjson-java jug* (libjug-asl-java) jakarta-log4j (liblog4j1.2-java) mvel* (libmvel-java) netty* (libnetty-java) libslf4j-java wss4j* (libwss4j-java) libxml-security-java xom (libxom-java) libxpp3-java wsdl4j (libwsdl4j-java)
1st-level Dependencies of deps
ivy (groovy) jruby1.1 (eucalyptus-commons-ext-java) junit4 (groovy) libaopalliance-java (eucalyptus-commons-ext-java) libasm-java (libcglib2.1-java, eucalyptus-commons-ext-java) libaspectwerkz2-java (libcglib2.1-java) libbackport-util-concurrent-java (libdom4j-java, eucalyptus-commons-ext-java) libclassworlds-java (groovy) libcommons-attributes-java (eucalyptus-commons-ext-java) libjamon-java (eucalyptus-commons-ext-java) libjaxme-java (libdom4j-java) libjdom1-java (libcommons-jxpath-java, libjaxen-java) libjexcelapi-java (drools) libjmock-java (libqdox-java) libjunitperf-java (libdom4j-java) libmockobjects-java (groovy) libow-util-ant-tasks-java (libasm2-java) libqdox-java (libjibx-java) libstringtemplate-java (antlr3) libswt-gtk-3.4-java (gwt) libxpp2-java (libdom4j-java) libxstream-java (drools, groovy, eucalyptus-commons-ext-java)
2nd and more level
libcommons-vfs-java (ivy) libeasymock-java (libhamcrest-java) libhamcrest-java (junit4) libicu4j-java (eclipse) libjoda-time-java (libxstream-java) libjrexx-java (libaspectwerkz2-java) liblucene-java (eclipse) libtrove-java (libaspectwerkz2-java)
Total
Total: 78 packages to MIR
Implementation
Create new eucalyptus-javadeps
Create the specific eucalyptus hibernate libraries, containing the subset of hibernate needed for Eucalyptus and not all the JBoss hooks the libhibernate3-java package contains. Same for ehcache and Spring.
Those should be shipped as the new "eucalyptus-javadeps" package (which is kept to include all the non-standard libraries required by Eucalyptus).
Implement other hacks
All the other number-reducing hacks should be implemented:
Remove dependency from libclassworlds-java -> maven-ant-helper: DONE
- Remove MVEL builddep on asm3: DONE
Determine final map of MIR, split into sets
The final dependencies should be determined and splitted into sets that can be handled separately.
Process MIR sets
Several options, to be discussed with MIR team:
- One bug per set, one task per package in set
- One bug per package
- One bug for everything
- Process outside Launchpad, with one metabug to track progress
Test/Demo Plan
It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage. This need not be added or completed until the specification is nearing beta.
Unresolved issues
None.
BoF agenda and discussion
UDS discussion
Current status
- 99 packages which would need to move to main.
Java in main is currently driven by OpenOffice. Tomcat6 is there, but has few dependencies.
Future
- Eucalyptus version for Karmic should have fewer dependencies anyway from upstream refactoring.
How can the number of build/runtime dependencies be reduced?
- Get rid of anything not necessary
- Geronimo spec packages (already provided by glassfish-j2ee)
- Move parts into Eucalyptus code
- Refactor packages (e.g. hibernate pulls in a lot of stuff)
- Requires multiple source packages or only to promote some resulting binaries to main.
- (doko recommends duplicating the source package and documenting it)
- Requires multiple source packages or only to promote some resulting binaries to main.
What could be expected to be refused inclusion to main
- Active upstream criteria
- Annogen
- OpenSAML
- WSS4J?
- Known to be insecure
- Nothing obvious
- Partial builds (because of non-free dependencies)
- Mule
- We don't really care
Size issues (adding to default CD)
- GWT is 6MB of binary
- 1.6 should be more granular and work with existing java packages more
- JRuby is 3MB
- Just be a build-time dependency of GWT
- libjgroups-java, 3MB. Not needed ?
- glassfish-toplink-essentials, 2.4MB, comes from hibernate
- Avoiding JDK would save about 50MB of CD space
- Avoiding GCJ would save about 20MB
Can we use the new Spring packaging from Debian?
- Not included yet in Debian, but work is underway
- Might make too hard choices for us ? Testing from Eucalyptus side needed.
Safety net
- Keep a eucalyptus-javadeps package to drop in any problematic parts which can't be fixed (hibernate?).
- One tiny part of Drools
Action Summary
- Which Eucalyptus version we'll use in Karmic and its dependencies?
- Can we use Spring from Debian?
- What can we do to reduce Hibernate size?
- Will it be acceptable to move JBoss to main?
- JDK dependency investigation
- Ask Colin about blacklisting for the server seed only to solve GCJ issue
- Once it's known what is required, start preparing/filing MIRs to avoid a last minute panic.
EucalyptusInMainSpec (last edited 2009-08-10 09:46:57 by lns-bzn-48f-81-56-218-246)