[ODLPARENT-23] Milestone: Upgrade karaf to 4.0.1 or later Created: 28/Aug/15 Updated: 24/Jan/18 Resolved: 12/Sep/17 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| External issue ID: | 4219 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Karaf 4.0.x is a major update, featuring newer technologies (like log4j2) and having a smaller footprint. We should investigate and fix any issues preventing us from upgrading and move to this new version. |
| Comments |
| Comment by Stephen Kitt [ 28/Aug/15 ] |
|
Support for Karaf 4.0.1 in odlparent is available at https://git.opendaylight.org/gerrit/26158 |
| Comment by Stephen Kitt [ 28/Aug/15 ] |
|
The patch for controller is at https://git.opendaylight.org/gerrit/#/c/26161/ (currently broken). |
| Comment by Gary Wu [ 01/Dec/15 ] |
|
This is a gating issue for https://bugs.opendaylight.org/show_bug.cgi?id=3973 |
| Comment by Robert Varga [ 01/Aug/16 ] |
|
BUG-6318 requires karaf-4.1.x, due to the fact that they bundle sshd-core-0.14.0 as a startup feature in versions prior to that. |
| Comment by Vratko Polak [ 03/Oct/16 ] |
|
There may be multiple changes to be applied to karaf-parent in order to make it work correctly with Karaf 4, especially around the things karaf-plugin does. One approach would be to start developing karaf4-parent as an experimental functionality, and only replace karaf-parent with the new implementation when it becomes stable enough. The upside is that we can gradually implement CSIT jobs and open Bugzilla items, without the need to get everything right in a single Change. I would recommend to leave karaf-plugin out of initial karaf4-parent commits, and attempt to employ "assembly" goal of karaf-maven-plugin instead. And introduce karaf4-plugin only if it is still needed at the end. > karaf-4.1.x, due to the fact that they bundle sshd-core-0.14.0 as a startup feature In karaf-parent, there already are workarounds for org.apache.karaf.region.persist, org.apache.aries.proxy.impl and org.apache.servicemix.bundles.xalan-2.7.2_3, so I believe karaf-4.0.x could be made to work as well. |
| Comment by Stephen Kitt [ 25/Oct/16 ] |
|
(In reply to Vratko Polák from comment #5) I like this a lot. I've started https://git.opendaylight.org/gerrit/47484 (draft, ask me if you want to review it) which currently provides the default upstream Karaf 4 via karaf4-parent and opendaylight-karaf4-empty. Subsequent patch sets will align the resulting Karaf distribution with the requirements currently implemented in karaf-parent and opendaylight-karaf-empty. |
| Comment by Stephen Kitt [ 16/Nov/16 ] |
|
For people playing along at home, with https://git.opendaylight.org/gerrit/48415 and https://git.opendaylight.org/gerrit/47884 we can now get a Karaf 4-based distribution which starts correctly. Once it's started, feature:install wrap will load the pre-requisite "wrap" feature, and feature:install will then load ODL features as usual. Things currently fall over with bundles providing CLI commands since the Felix bundles have changed. |