[NETCONF-909] Fix odl-yanglib feature usage Created: 08/Nov/22 Updated: 21/Jun/23 Resolved: 14/Feb/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | 4.0.3 |
| Fix Version/s: | 3.0.9, 4.0.6, 5.0.2 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Peter Suna | Assignee: | Yaroslav Lastivka |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
After converting YangLib project to blueprint feature, After installing odl-yanglib feature:
Initialization will fail at line: https://github.com/opendaylight/netconf/blob/master/netconf/yanglib/src/main/java/org/opendaylight/yanglib/impl/YangLibProvider.java#L86 With message:
More in provided karaf logs. After mentioned fix above for adding YangLib project to blueprint, is also not updated documentation for this feature. And is not clear how to use it. |
| Comments |
| Comment by Ivan Hrasko [ 02/Jan/23 ] |
|
The probable reason for incomplete activation is: The OSGi Blueprint extension, as available via the odl-controller-blueprint feature is no longer transitively depended on by odl-mdsal-broker. This change impacts downstreams who still use Blueprint as well as the OpenDaylight extensions, like odl:type, odl:rpc-service and odl:clustered-app-config. Users who do not already explicitly pull in odl-controller-blueprint will need to add this dependency to their feature.xml definitions, otherwise their Blueprint containers will fail to activate – and thus fail SingleFeatureTest check See ODL Sulfur docs. |
| Comment by Ivan Hrasko [ 02/Jan/23 ] |
|
Try to fix the issue to be able to verify completeness of |
| Comment by Ivan Hrasko [ 11/Jan/23 ] |
|
The most probable reason for the problem is missing default configuration. |
| Comment by Ivan Hrasko [ 14/Feb/23 ] |
|
We have fixed the problem with default configuration and found out new problems: NETCONF-967 and |