[YANGTOOLS-447] Change in yangtools results in exception when loading SFC Created: 15/Apr/15 Updated: 10/Apr/22 Resolved: 17/Apr/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Thomas Bachman | Assignee: | Tony Tkacik |
| 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: | 2997 |
| Priority: | Highest |
| Description |
|
While attempting to run the SFC project (integrating with GBP), I got the following exception: I cloned yangtools locally and built it using a git hash from yesterday: commit 98dbda7e7184036e0bc9144c0b2b1b9203a9f500 Change-Id: Ibb943777604f61dde20bb84fce2a7f13c38333c7 and it works. If I go to the one after it: commit c7c67c1ad9fbd77e2705345400f1db5b3d46e200 Merge " It fails. |
| Comments |
| Comment by Tony Tkacik [ 15/Apr/15 ] |
|
Please provide additional details about which data was posted using RESTCONF or written using datastore in order to replicate this bug. |
| Comment by Tony Tkacik [ 15/Apr/15 ] |
|
https://git.opendaylight.org/gerrit/#/c/18311/ Seems instanceof checks were bit off in JSON codec. |
| Comment by Thomas Bachman [ 15/Apr/15 ] |
|
It sounds like you've been able to reproduce the issue and found it's cause, but just in case you hadn't – I get this simply by loading the following features from SFC: feature:install odl-sfc-core odl-sfcofl2 odl-sfc-ui odl-sfc-provider odl-sfc-test-consumer odl-sfc-model odl-sfc-netconf odl-sfc-sb-rest odl-sfc-ovs |
| Comment by Tony Tkacik [ 15/Apr/15 ] |
|
That would effectivelly mean some SFC component is posting / commiting data back to controller via Restconf - since only data exiting / entering system via RESTCONF+JSON were affected. |
| Comment by Andrej Kincel [ 16/Apr/15 ] |
|
That's true. odl-sfc-provider contains SfcProviderBootstrapRestAPI class, which is populating controller with bootstrap data contained in sfc-jsonconfig bundle. |