[NEUTRON-32] feature:install odl-neutorn-service binds to the wrong eclipse.persistence bundle Created: 24/Apr/15 Updated: 08/Jun/15 Resolved: 08/Jun/15 |
|
| Status: | Resolved |
| Project: | neutron |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | James Gregory Hall | Assignee: | James Gregory Hall |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3058 |
| Description |
|
This issue only occurs if you feature:install odl-neutron-service on a running controller where some other feature has loaded an earlier version of org.eclipse.persistence. If you load all features from featuresBoot this problem doesn't occur. To be clear, we package a controller which leverages feature:install so we are broken by this issue. See that northbound-api/pom.xml has an explicit Import-Package without a version specification. We need the version specification added. |
| Comments |
| Comment by James Gregory Hall [ 24/Apr/15 ] |
|
Reproduction: Remove odl-neutron-service from the featuresBoot in org.ops4j.apache.features.cfg as well as any features which depends on neutron such as ovsdb. Remove the data directory to force a rewiring on restart. Restart the controller, and make sure odl-neutron-service is not installed yet. POST to http://localhost:8181/controller/nb/v2/neutron/networks { You get a http 500 error: <html> |
| Comment by James Gregory Hall [ 24/Apr/15 ] |
| Comment by Ryan Moats [ 08/Jun/15 ] |