Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
unspecified
-
None
-
None
-
Operating System: All
Platform: All
-
4756
Description
Adding a OvsdbNode via RESTCONF and then deleting it via RESTCONF fails to remove the OvsdbNode from config and operational.
I see exceptions like below. I think maybe the ownership has changed or been removed for this ODL and the pending mdsal updates fail because there is no owner. Some longer time later the config and operational do cleanup. karaf log is attached.
2015-12-10 16:16:03,081 | WARN | lt-dispatcher-17 | SimpleShardDataTreeCohort | 163 - org.opendaylight.controller.sal-distributed-datastore - 1.3.0.SNAPSHOT | Unexpected failure in validation phase
com.google.common.base.VerifyException: Total child count is -1 (from NodeModification [identifier=(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node,
Steps:
1. start ovsdb to pssive listen: sudo ovs-vsctl set-manager ptcp:6640
2. RESTCONF to add node [add]
3. RSTCONF to delete node [del]
4. ODL disconnects the ovsdb node.
5. exceptions
6. GET to see that both config and operation still exist. [get]
7. Some time later the mdsal does cleanup such that the GET's return nothing.
[add]
http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640
{
"network-topology:node": [
{
"node-id": "ovsdb://192.168.120.31:6640",
"connection-info":
}
]
}
[get]
http://localhost:8080/restconf/config/network-topology:network-topology/
Attachments
Issue Links
- duplicates
-
YANGTOOLS-559 Delete transactions fail in MinMaxElementsValidation under load
- Resolved