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

Cannot update termination point InterfaceExternalIds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • unspecified
    • Plugin
    • None

      Environment: Aluminium SR3 with a mininet simulated network

      When I try to change some settings in the OVS bridge I get the following exception:

       

      java.lang.UnsupportedOperationException: null 4 at java.util.ImmutableCollections.uoe(ImmutableCollections.java:72) ~[?:?] 5 at java.util.ImmutableCollections$AbstractImmutableMap.put(ImmutableCollections.java:731) ~[?:?] 6 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TerminationPointUpdateCommand.updateInterfaceExternalIds(TerminationPointUpdateCommand.java:244) ~[bundleFile:?] 7 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TerminationPointUpdateCommand.updateInterface(TerminationPointUpdateCommand.java:145) ~[bundleFile:?] 8 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TerminationPointUpdateCommand.updateTerminationPoint(TerminationPointUpdateCommand.java:106) ~[bundleFile:?] 9 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TerminationPointUpdateCommand.execute(TerminationPointUpdateCommand.java:90) ~[bundleFile:?] 10 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TerminationPointUpdateCommand.execute(TerminationPointUpdateCommand.java:79) ~[bundleFile:?] 11 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TransactCommandAggregator.execute(TransactCommandAggregator.java:59) ~[bundleFile:?] 12 at org.opendaylight.ovsdb.southbound.ovsdb.transact.TransactInvokerImpl.invoke(TransactInvokerImpl.java:48) ~[bundleFile:?] 13 at org.opendaylight.ovsdb.southbound.OvsdbConnectionInstance.transact(OvsdbConnectionInstance.java:147) ~[bundleFile:?] 14 at org.opendaylight.ovsdb.southbound.OvsdbDataTreeChangeListener.updateData(OvsdbDataTreeChangeListener.java:232) ~[bundleFile:?] 15 at org.opendaylight.ovsdb.southbound.OvsdbDataTreeChangeListener.onDataTreeChanged(OvsdbDataTreeChangeListener.java:100) ~[bundleFile:?] 16 at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:37) ~[bundleFile:?] 17 at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataTreeChanged(DataTreeChangeListenerActor.java:83) [bundleFile:?] 18 at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:44) [bundleFile:?] 19 at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) [bundleFile:2.5.32] 20 at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) [bundleFile:2.5.32] 21 at scala.PartialFunction.applyOrElse(PartialFunction.scala:189) [bundleFile:?] 22 at scala.PartialFunction.applyOrElse$(PartialFunction.scala:188) [bundleFile:?] 23 at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) [bundleFile:2.5.32] 24 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:244) [bundleFile:?] 25 at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:245) [bundleFile:?] 26 at akka.actor.Actor.aroundReceive(Actor.scala:539) [bundleFile:2.5.32] 27 at akka.actor.Actor.aroundReceive$(Actor.scala:537) [bundleFile:2.5.32] 28 at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:227) [bundleFile:2.5.32] 29 at akka.actor.ActorCell.receiveMessage(ActorCell.scala:614) [bundleFile:2.5.32] 30 at akka.actor.ActorCell.invoke(ActorCell.scala:583) [bundleFile:2.5.32] 31 at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268) [bundleFile:2.5.32] 32 at akka.dispatch.Mailbox.run(Mailbox.scala:229) [bundleFile:2.5.32] 33 at akka.dispatch.Mailbox.exec(Mailbox.scala:241) [bundleFile:2.5.32] 34 at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) [bundleFile:2.5.32] 35 at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) [bundleFile:2.5.32] 36 at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) [bundleFile:2.5.32] 37 at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) [bundleFile:2.5.32]

       

      It seems OVSDB doesn't support the changes required for immutable collections, see https://docs.opendaylight.org/en/stable-magnesium/release-notes/upgrade-process.html#runtime-bindings-dtos

            xcheara Chetan Arakere Gowdru
            leonardo.milleri Leonardo Milleri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: