[OVSDB-323] HWVTEP exception when connecting to older devices Created: 17/Mar/16  Updated: 30/Oct/17  Resolved: 31/Mar/16

Status: Resolved
Project: ovsdb
Component/s: Southbound.hw_vtep
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Vishal Thapar Assignee: Vishal Thapar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5549

 Description   

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.



 Comments   
Comment by Vishal Thapar [ 31/Mar/16 ]

Gerrit: https://git.opendaylight.org/gerrit/36404

Generated at Wed Feb 07 20:36:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.