[ODLPARENT-253] Karaf distribution has inconsistent versions Created: 20/May/21  Updated: 20/May/21  Resolved: 20/May/21

Status: Resolved
Project: odlparent
Component/s: Karaf
Affects Version/s: 8.1.2, 9.0.1, 7.0.10
Fix Version/s: 8.1.3, 9.0.2, 7.0.11

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Our startup.properties created in opendaylight-karaf-resources are not consistent with rest of karaf, leading to a rewire in SFT:

 

2021-05-20T18:01:12,247 | INFO  | features-3-thread-1 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | Stopping bundles:
2021-05-20T18:01:12,248 | INFO  | features-3-thread-1 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 |   org.apache.karaf.features.core/4.3.1
2021-05-20T18:01:12,258 | INFO  | features-3-thread-1 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | Refreshing bundles:
2021-05-20T18:01:12,258 | INFO  | features-3-thread-1 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 |     org.apache.karaf.features.core/4.3.1 (Should be wired to: org.osgi.service.event/1.4.0.201802012106 (through osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.serv
ice.event)(&(version>=1.4.0)(!(version>=2.0.0))))"; resolution:="optional"))
2021-05-20T18:01:12,733 | INFO  | Refresh Thread: Equinox Container: d1579daf-b974-46df-bcf6-9373eef3fd33 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | The specified feature: 'exam' version '4.13.4' is already installed
2021-05-20T18:01:12,734 | INFO  | Refresh Thread: Equinox Container: d1579daf-b974-46df-bcf6-9373eef3fd33 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | The specified feature: '83219ef2-93f6-4ce7-b0ef-6a5fa148c372' version '0.0.0' is already installed
2021-05-20T18:01:12,734 | INFO  | Refresh Thread: Equinox Container: d1579daf-b974-46df-bcf6-9373eef3fd33 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | The specified feature: 'test-dependencies' version '0.0.0' is already installed
2021-05-20T18:01:12,734 | INFO  | Refresh Thread: Equinox Container: d1579daf-b974-46df-bcf6-9373eef3fd33 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | The specified feature: 'scr' version '4.3.1' is already installed
2021-05-20T18:01:12,735 | INFO  | Refresh Thread: Equinox Container: d1579daf-b974-46df-bcf6-9373eef3fd33 | FeaturesServiceImpl              | 16 - org.apache.karaf.features.core - 4.3.1 | Adding features: exam/[4.13.4,4.13.4],scr/[4.3.1,4.3.1],test-dependencies/[0,0.0.0],83219ef2-93f6-4ce7-b0ef-6a5fa148c372/[0,0.0
.0]

The problem here is that we have service.event/1.3.1 as well as org.apache.felix.metatype/1.2.2 in startup.properties – while Karaf features have these at 1.4.0 and 1.2.4, respectively.

 



 Comments   
Comment by Robert Varga [ 20/May/21 ]

The 7.0.x release train is not as impacted, as the disconnect is only in org.apache.felix.metatype version, which does not cause a rewire (I think).

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