[ODLPARENT-97] Karaf 4 Dependency Resolution Created: 07/Jun/17 Updated: 24/Jan/18 Resolved: 25/Jul/17 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | General |
| Affects Version/s: | 2.0.5 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | A H | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | 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: | 8622 | ||||||||||||||||
| Description |
|
It seems like there are a few possible ways forward: (1) use the karaf 3 resolver in karaf 4, (2) fix all bundles/features to be reloadable, (3) we could move to using dependency=true, which won't reload them, but it doesn't load them for you, it's possible that adding prerequisite=true as well would fix it, but that seems to expose bugs in Karaf, (4) figure out if we can effectively enable --no-auto-refresh |
| Comments |
| Comment by Michael Vorburger [ 14/Jun/17 ] |
|
As far as I understood in yesterday's Kernel call, skitt is investigating this.. |
| Comment by Stephen Kitt [ 16/Jun/17 ] |
|
Upstream’s view on this is that we need to sort out our refresh issues before we start investigating any remaining dependency issues. The default dependency handling should be OK for us apparently. I’m guessing we might still need prerequisite="true" for some dependencies, e.g. the data broker... |
| Comment by Colin Dixon [ 20/Jun/17 ] |
|
Just so that people can find it. This thread with Stephen Kitt upstream in Karaf: Has Karaf saying that the general issue is our refreshes not dependency resolution being broken. Also, feature:install should not be refreshing bundles as a matter of course. Instead if we're seeing refreshes, that's probably a bug. This meeting has some notes too around section 2:
If you do feature:install -v it should note if it refreshes any bundles and if so, why. That should help figure things out. |