Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-828

Missing key is getVrfId. Supplied key is VpnInstanceOpDataEntryKey []

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Done
    • Affects Version/s: Nitrogen
    • Fix Version/s: None
    • Component/s: General
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • External issue ID:
      8945

      Description

      Seen in https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-nitrogen/165/odl1_karaf.log.gz

      2017-08-07 21:19:57,419 | ERROR | eChangeHandler-0 | ExternalRoutersListener | 307 - org.opendaylight.netvirt.natservice-impl - 0.5.0.SNAPSHOT | Exception while handling disableSNAT : {}
      java.lang.IllegalArgumentException: All keys must be specified for class org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.instance.op.data.VpnInstanceOpDataEntryKey. Missing key is getVrfId. Supplied key is VpnInstanceOpDataEntryKey []
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:411)[26:com.google.guava:22.0.0]
      at org.opendaylight.yangtools.binding.data.codec.impl.ValueContext.getAndSerialize(ValueContext.java:44)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.IdentifiableItemCodec.serialize(IdentifiableItemCodec.java:116)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.IdentifiableItemCodec.serialize(IdentifiableItemCodec.java:29)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.KeyedListNodeCodecContext.addYangPathArgument(KeyedListNodeCodecContext.java:52)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.DataObjectCodecContext.bindingPathArgumentChild(DataObjectCodecContext.java:187)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.getCodecContextNode(BindingCodecContext.java:127)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:29)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.InstanceIdentifierCodec.serialize(InstanceIdentifierCodec.java:19)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toYangInstanceIdentifier(BindingNormalizedNodeCodecRegistry.java:87)[246:org.opendaylight.mdsal.binding-dom-codec:0.11.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toYangInstanceIdentifierBlocking(BindingToNormalizedNodeCodec.java:101)[197:org.opendaylight.controller.sal-binding-broker-impl:1.6.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedTransaction.doRead(AbstractForwardedTransaction.java:64)[197:org.opendaylight.controller.sal-binding-broker-impl:1.6.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMReadTransactionAdapter.read(BindingDOMReadTransactionAdapter.java:31)[197:org.opendaylight.controller.sal-binding-broker-impl:1.6.0.SNAPSHOT]
      at org.opendaylight.genius.datastoreutils.SingleTransactionDataBroker.syncReadOptionalAndTreatReadFailedExceptionAsAbsentOptional(SingleTransactionDataBroker.java:158)[236:org.opendaylight.genius.mdsalutil-api:0.3.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.NatEvpnUtil.getVpnInstanceOpData(NatEvpnUtil.java:131)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.NatEvpnUtil.getL3Vni(NatEvpnUtil.java:122)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.NatEvpnUtil.releaseLPortTagForRouter(NatEvpnUtil.java:75)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.ExternalRoutersListener.removeNaptSwitch(ExternalRoutersListener.java:1773)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.ExternalRoutersListener.handleDisableSnat(ExternalRoutersListener.java:1661)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.ExternalRoutersListener.remove(ExternalRoutersListener.java:1629)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.netvirt.natservice.internal.ExternalRoutersListener.remove(ExternalRoutersListener.java:139)[307:org.opendaylight.netvirt.natservice-impl:0.5.0.SNAPSHOT]
      at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:150)[236:org.opendaylight.genius.mdsalutil-api:0.3.0.SNAPSHOT]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
      at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]

      Fails for:
      1. suites/openstack/tempest/tempest.robot

      • Test: tempest.api.network

        Attachments

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

          Activity

            People

            Assignee:
            kiran.n.upadhyaya@ericsson.com Kiran N Upadhyaya
            Reporter:
            JankiChhatbar Janki Chhatbar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: