Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-236

southbound fails to delete OvsdbNode from config and operational

    XMLWordPrintable

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":

      { "ovsdb:remote-port": 6640, "ovsdb:remote-ip": "192.168.120.31" }

      }
      ]
      }

      [del]
      http://localhost:8080/restconf/config/network-topology:network-topology/topology/ovsdb:1/node/ovsdb:%2F%2F192.168.120.31:6640

      [get]
      http://localhost:8080/restconf/config/network-topology:network-topology/

      Attachments

        1. 4756.karaf.log
          132 kB
        2. karaf.log
          155 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              shague Sam Hague
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: