[INTDIST-31] ODL does not start without an internet connection Created: 10/Jun/15  Updated: 20/Oct/17  Resolved: 19/Nov/16

Status: Resolved
Project: integration-distribution
Component/s: Karaf
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Ed Warnicke Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by INTDIST-12 karaf distribution does not work offline Resolved
External issue ID: 3656

 Description   

ODL does not start without an internet connection due to deficiencies in how we populate the system/ directory. This could be fixed with a simple maven plugin that populates system by recursively walking the features.xml files and copying in what is needed from them.



 Comments   
Comment by Luis Gomez [ 11/Jun/15 ]

I have more findings on this bug. After connecting a wireshark at the moment of restoring the connection I can see karaf tries to fetch this:

http://repository.springsource.com/maven/bundles/external/org/eclipse/equinox/region/1.0.0.v20110506/region-1.0.0.v20110506.jar

And looking at the distribution system folder, the path below is empty:

system/org/eclipse/equinox/region/1.0.0.v20110506

BR/Luis

Comment by Luis Gomez [ 11/Jun/15 ]

Can we remove the region from our distribution?

http://karaf.922171.n3.nabble.com/Karaf-3-0-0-taking-long-time-to-start-up-td4031319.html

After I removed this from etc/org.apache.karaf.features.cfg it seems it goes 1 step ahead.

BR/Luis

Comment by Luis Gomez [ 11/Jun/15 ]

Maybe this works too:

https://issues.apache.org/jira/browse/KARAF-3091

BR/Luis

Comment by Colin Dixon [ 18/Jun/15 ]

Where are we with this? I see that the two patches listed in the blocking bugs tracking sheet have been merged:
https://git.opendaylight.org/gerrit/#/c/22735/
https://git.opendaylight.org/gerrit/#/c/22736/

Should the bug thus be shifted down on the blocking bugs list and/or closed here?

Comment by Luis Gomez [ 29/Jan/16 ]

This was fixed by Ed in Li release time. Berylium release is passing the test for this:

https://jenkins.opendaylight.org/integration/job/integration-distribution-offline-beryllium/

BR/Luis

Generated at Wed Feb 07 20:02:36 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.