Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-1006

ODL Nitrogen (SR1): Cannot control switch with pre-existing meters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Oxygen-SR3, Fluorine
    • None
    • openflowplugin
    • PicaOS: 2.9.2.5/30f7332

      EdgeCore Switch: AS4610-54P

      If I start up NetOS with a nitrogen-based ODL, ODL can not take control of a switch which has pre-existing meters.

      The karaf log (attached) shows:

      Not able to set MASTER role on device openflow:2465100910524604673, reason: Initial transaction cannot be submitted.
      This mastering is mandatory, destroying context chain and closing connection for device openflow:2465100910524604673.
      

      We see other exceptions in the Karaf Log (see below).

      If I delete the meters before restarting NetOS, ODL can take control of the switch.

      If I leave the meters present and start NetOS with a boron-based ODL, that ODL can take control of the switch.

       

      Steps to Reproduce:
      1) Make sure there are no meters on the Switch
      2) Take latest nitrogen and run up controller (ODL Nitrogen SR1)
      3) Point switch back to controller
      4) Wait for connected status on switch
      6) Create meter on switch using OpenDaylight (or by CLI directly on the switch)

      Check ODL logs for exception below:

      2018-04-17 15:15:19,134 | WARN | ntLoopGroup-16-6 | StatisticsGatheringUtils | 432 - org.opendaylight.openflowplugin.impl - 0.5.1 | Stats processing of type OFPMPMETERCONFIG for node openflow:2465100910524604673 failed during write-to-tx step
      2018-04-17 15:15:22,224 | WARN | ntLoopGroup-16-6 | StatisticsGatheringUtils | 432 - org.opendaylight.openflowplugin.impl - 0.5.1 | Stats processing of type OFPMPMETERCONFIG for node openflow:2465100910524604673 failed during write-to-tx step
      java.lang.IllegalArgumentException: All keys must be specified for class org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.meter.meter.band.headers.MeterBandHeaderKey. Missing key is getBandId. Supplied key is MeterBandHeaderKey []

            Somashekhar Somashekhar Javalagi
            amachwe Azahar Machwe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: