[CONTROLLER-1285] Clustering : random "Error creating data" when writing flows to config DS Created: 28/Apr/15 Updated: 25/Jul/23 Resolved: 02/Jun/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Martin Bobak | Assignee: | Martin Bobak |
| 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: | 3080 |
| Priority: | Highest |
| Description |
|
I tried to POST xml files from integration test suite. I randomly ran into error described in next text. When I try to POST same data right away after receiving error POST succeeds. I was not able to trace any log data in karaf.log. This seems to be one of reasons of failing robot tests. martin@ncc1701e:~/programs/odlRestyScripts$ POST < /integration/test/csit/variables/xmls//f7.xml ]}} ]}} ]}} |
| Comments |
| Comment by Martin Bobak [ 28/Apr/15 ] |
|
URL to which I posted data is : http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/ |
| Comment by Vaclav Demcak [ 07/May/15 ] |
|
I've added patch for a deep logging in restconf: |
| Comment by Kamal Rameshan [ 11/May/15 ] |
|
Attachment flow-mod-exception.rtf has been added with description: flow-mod-exception |
| Comment by Kamal Rameshan [ 11/May/15 ] |
|
I tried with the integration f7 xml and am consistently getting the Error. There is an exception during parsing of the flow xml. I have attached the exception log. I have used the openflowplugin-all-li (lithium) feature to install on a single node setup. Anyway this does not seem to be related to clustering/datastore. f7.xml <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| Comment by Kamal Rameshan [ 12/May/15 ] |
|
Please ignore the above analysis. Got some errors with the url. |
| Comment by Kamal Rameshan [ 12/May/15 ] |
|
Unable to reproduce. I posted all the flow xmls form the integration/test/csit/variables/xmls/ folder, in loop within a script. And all the flows could be found both in config and in operational. |
| Comment by Moiz Raja [ 12/May/15 ] |
|
Martin, You changed the status of this bug to WAITING_FOR_REVIEW. Which patch has the fix? |
| Comment by Kamal Rameshan [ 15/May/15 ] |
|
Assigning this to Martin since he has a fix and marked it for review |
| Comment by Moiz Raja [ 15/May/15 ] |
|
What is the fix? |