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

HWVTEP exception when connecting to older devices

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • Southbound.hw_vtep
    • None
    • Operating System: All
      Platform: All

    • 5549

      When conneting to devices using schema less than 1.3.0 HWVTEP plugin throws following exception and fails to process connection:

      2016-03-17 11:17:01,309 | ERROR | dispatcher-15139 | EntityOwnershipListenerActor | 146 - org.opendaylight.controller.sal-distributed-datastore - 1.3.1.SNAPSHOT | Error notifying listener org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager$HwvtepDeviceEntityOwnershipListener@1a80064a
      java.lang.IllegalArgumentException: Not able to create instance of class class org.opendaylight.ovsdb.lib.schema.GenericTableSchema using public constructor that accepts TableSchema object
      at org.opendaylight.ovsdb.lib.schema.DatabaseSchema.createTableSchema(DatabaseSchema.java:80)[213:org.opendaylight.ovsdb.library:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.lib.schema.DatabaseSchema.table(DatabaseSchema.java:62)[213:org.opendaylight.ovsdb.library:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.lib.schema.typed.TyperUtils.getTableSchema(TyperUtils.java:55)[213:org.opendaylight.ovsdb.library:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.lib.schema.typed.TyperUtils.extractRowUpdates(TyperUtils.java:515)[213:org.opendaylight.ovsdb.library:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.lib.schema.typed.TyperUtils.extractRowsUpdated(TyperUtils.java:424)[213:org.opendaylight.ovsdb.library:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.PhysicalSwitchUpdateCommand.<init>(PhysicalSwitchUpdateCommand.java:76)[228:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.2.2.SNAPSHOT]
      at

      This is similar to OVSDB-317 and the fix here is also on similar lines.

            thapar Vishal Thapar
            thapar Vishal Thapar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: