[NETCONF-58] netconf connector replace causes transaction chain failure Created: 10/Aug/15 Updated: 15/Mar/19 Resolved: 18/Jan/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Andrej Marcinek | Assignee: | Alexis de Talhouët |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 4114 |
| Description |
|
i made some post, put and delete requests (see attachment), in random order and quantity and after while i got exception: java.lang.IllegalStateException: Transaction chain has failed i was tested it against testtool started with command: karaf log with trace logs is also attached |
| Comments |
| Comment by Andrej Marcinek [ 10/Aug/15 ] |
|
Attachment bug_chain_failed.txt has been added with description: rest requests |
| Comment by Andrej Marcinek [ 10/Aug/15 ] |
|
Attachment karaf.log has been added with description: karaf log |
| Comment by Jozef Behran [ 17/Aug/15 ] |
|
Replicated reliably with today's ODL version (URL: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.3.1-SNAPSHOT//distribution-karaf-0.3.1-20150817.001526-244.tar.gz; SHA1SUM: 5b47dad7d4cb2f38b6a557992d418e30732fd8b4). See the attachmed file "4114.zip". |
| Comment by Jozef Behran [ 17/Aug/15 ] |
|
Attachment 4114.ZIP has been added with description: Scripts to reproduce and resulting log file |
| Comment by Tomas Cere [ 18/Aug/15 ] |
|
Seems to be a race condition submitting of a txchain and creating a new one, when a delete and initialization happen right after one another. For now a workaround is to first delete a configuration instead of replacing it right away, so instead of POST > PUT it would be POST > DELETE > POST |
| Comment by Alexis de Talhouët [ 12/Jan/16 ] |
| Comment by Alexis de Talhouët [ 14/Jan/16 ] |