[ODLPARENT-85] Restconf does not start in Karaf 4.0.9 Created: 11/Apr/17 Updated: 24/Jan/18 Resolved: 24/Apr/17 |
|
| Status: | Verified |
| Project: | odlparent |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vratko Polak | Assignee: | Jakub Toth |
| 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: | 8208 | ||||||||
| Description |
|
Not sure whether this is a duplicate of Sandbox run [3] showing Restconf does not respond on port 8181. [3] https://jenkins.opendaylight.org/sandbox/job/distribution-deploy-nitrogen/1/console |
| Comments |
| Comment by Tomas Cere [ 11/Apr/17 ] |
|
Minor clarification, it seems that the 4.0.9 distribution doesnt start any jetty connectors that are configured in etc/jetty.xml no clue what is causing this for now. |
| Comment by Vratko Polak [ 11/Apr/17 ] |
|
Here [4] is a Carbon job output, as Nitrogen is not fully bumped yet. |
| Comment by Robert Varga [ 11/Apr/17 ] |
|
Looks like we need some rebuilds to get the features stabilized, because things are still pulling in 4.0.7: 13:13:57 2017-04-11 13:03:57,146 | INFO | pool-2-thread-1 | FeaturesServiceImpl | 7 - org.apache.karaf.features.core - 4.0.9 | Bundles to install: |
| Comment by Robert Varga [ 11/Apr/17 ] |
|
hence we are getting into: 2017-04-11 16:37:19,238 | INFO | pool-2-thread-1 | FeaturesServiceImpl | 7 - org.apache.karaf.features.core - 4.0.9 | Bundles to uninstall: |
| Comment by Robert Varga [ 11/Apr/17 ] |
|
This definitely is some versioning mismatch, using netconf karaf4 distro, I can get this working by: feature:install war Performing the inverse leads to StackOverflowError (https://bugs.opendaylight.org/show_bug.cgi?id=7890). Performing just 'feature:install odl-restconf' does not bring in the war feature. |
| Comment by Robert Varga [ 11/Apr/17 ] |
|
feature:install war odl-restconf seems to start, too. That means that something prevents war being brought in as a dependency, it sure does feel like a karaf bug.... |
| Comment by Robert Varga [ 13/Apr/17 ] |
|
I have tested this locally, and it does not quite help. But adding prerequisite=true to our jetty feature seems to do the trick. So let's see how https://git.opendaylight.org/gerrit/55003 plus the runtime downgrade to 4.0.7 fares. |
| Comment by Robert Varga [ 19/Apr/17 ] |
| Comment by Jakub Toth [ 20/Apr/17 ] |
|
(In reply to Robert Varga from comment #8) this works for me |
| Comment by Vratko Polak [ 24/Apr/17 ] |
|
VERIFIED on Carbon. Nitrogen not bumped back from .7 yet. |
| Comment by Vratko Polak [ 24/Apr/17 ] |
|
> Nitrogen not bumped back from .7 yet. Merged now: https://git.opendaylight.org/gerrit/55719 |