<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OVSDB-412] OVSDB HWVTEP unable to find logical switch in operational datastore</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-412</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;I&apos;m able to configure a logical switch on a HWVTEP, but ODL seems unable to correlate the configured and operational topology entries for the HWVTEP.  So the logical switch is &quot;created&quot; rather than &quot;updated&quot;, and the operational topology is unchanged.&lt;/p&gt;

&lt;p&gt;so then when I create the termination point for the port/VLAN mapping to the logical switch ODL sends &quot;named-uuid&quot;,&quot;LogicalSwitch_ls0&quot; instead of &quot;uuid&quot;,&quot;c0d53932-dd4b-46b3-8d7f-b3bbceacdf05&quot; as expected by the switch.&lt;/p&gt;

&lt;p&gt;I&apos;m seeing this both with Boron-SR3 and with Carbon snapshot (with Carbon I also get an NPE).&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22104">OVSDB-412</key>
            <summary>OVSDB HWVTEP unable to find logical switch in operational datastore</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="thapar">Vishal Thapar</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 May 2017 13:49:59 +0000</created>
                <updated>Mon, 30 Oct 2017 19:50:56 +0000</updated>
                            <resolved>Sat, 6 May 2017 18:49:21 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Southbound.hw_vtep</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="41665" author="giheron@cisco.com" created="Tue, 2 May 2017 13:49:59 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: zipped logs&lt;/p&gt;</comment>
                            <comment id="41656" author="giheron@cisco.com" created="Tue, 2 May 2017 19:16:42 +0000"  >&lt;p&gt;example config/operational topologies (from another run trying - unsuccessfully - to make this work with Beryllium)&lt;/p&gt;

&lt;p&gt;config:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;topology&quot;: [&lt;br/&gt;
    {&lt;br/&gt;
      &quot;topology-id&quot;: &quot;hwvtep:1&quot;,&lt;br/&gt;
      &quot;node&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
          &quot;node-id&quot;: &quot;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98&quot;,&lt;br/&gt;
          &quot;hwvtep:logical-switches&quot;: [&lt;/p&gt;
            {
              &quot;hwvtep-node-name&quot;: &quot;ls0&quot;,
              &quot;hwvtep-node-description&quot;: &quot;&quot;,
              &quot;tunnel-key&quot;: &quot;10000&quot;
            }
&lt;p&gt;          ]&lt;br/&gt;
        },&lt;br/&gt;
        {&lt;br/&gt;
          &quot;node-id&quot;: &quot;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98/physicalswitch/SB-DEV-NODE2&quot;,&lt;br/&gt;
          &quot;termination-point&quot;: [&lt;br/&gt;
            {&lt;br/&gt;
              &quot;tp-id&quot;: &quot;eth1/12&quot;,&lt;br/&gt;
              &quot;hwvtep:hwvtep-node-name&quot;: &quot;eth1/12&quot;,&lt;br/&gt;
              &quot;hwvtep:hwvtep-node-description&quot;: &quot;&quot;,&lt;br/&gt;
              &quot;hwvtep:vlan-bindings&quot;: [&lt;/p&gt;
                {
                  &quot;vlan-id-key&quot;: 100,
                  &quot;logical-switch-ref&quot;: &quot;/network-topology:network-topology/network-topology:topology[network-topology:topology-id=&apos;hwvtep:1&apos;]/network-topology:node[network-topology:node-id=&apos;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98&apos;]/hwvtep:logical-switches[hwvtep:hwvtep-node-name=&apos;ls0&apos;]&quot;
                }
&lt;p&gt;              ]&lt;br/&gt;
            }&lt;br/&gt;
          ]&lt;br/&gt;
        }&lt;br/&gt;
      ]&lt;br/&gt;
    }&lt;br/&gt;
  ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;operational:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;topology&quot;: [&lt;br/&gt;
    {&lt;br/&gt;
      &quot;topology-id&quot;: &quot;hwvtep:1&quot;,&lt;br/&gt;
      &quot;node&quot;: [&lt;br/&gt;
        {&lt;br/&gt;
          &quot;node-id&quot;: &quot;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98&quot;,&lt;br/&gt;
          &quot;hwvtep:connection-info&quot;: &lt;/p&gt;
{
            &quot;local-ip&quot;: &quot;10.195.94.43&quot;,
            &quot;local-port&quot;: 6640,
            &quot;remote-port&quot;: 52544,
            &quot;remote-ip&quot;: &quot;10.23.237.112&quot;
          }
&lt;p&gt;,&lt;br/&gt;
          &quot;hwvtep:managers&quot;: [&lt;/p&gt;
            {
              &quot;target&quot;: &quot;tcp:10.195.94.43:6640&quot;,
              &quot;manager-uuid&quot;: &quot;bc9a45d0-4dab-4a8a-ac6b-5791d4654c35&quot;,
              &quot;is-connected&quot;: true
            }
&lt;p&gt;          ],&lt;br/&gt;
          &quot;hwvtep:switches&quot;: [&lt;/p&gt;
            {
              &quot;switch-ref&quot;: &quot;/network-topology:network-topology/network-topology:topology[network-topology:topology-id=&apos;hwvtep:1&apos;]/network-topology:node[network-topology:node-id=&apos;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98/physicalswitch/SB-DEV-NODE2&apos;]&quot;
            }
&lt;p&gt;          ]&lt;br/&gt;
        },&lt;br/&gt;
        {&lt;br/&gt;
          &quot;node-id&quot;: &quot;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98/physicalswitch/SB-DEV-NODE2&quot;,&lt;br/&gt;
          &quot;hwvtep:hwvtep-node-description&quot;: &quot;&quot;,&lt;br/&gt;
          &quot;hwvtep:managed-by&quot;: &quot;/network-topology:network-topology/network-topology:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:topology-id=&amp;#39;hwvtep:1&amp;#39;&amp;#93;&lt;/span&gt;/network-topology:node&lt;span class=&quot;error&quot;&gt;&amp;#91;network-topology:node-id=&amp;#39;hwvtep://uuid/b4872522-2fc5-42c9-a9fd-441bb5dfef98&amp;#39;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
          &quot;hwvtep:hwvtep-node-name&quot;: &quot;SB-DEV-NODE2&quot;,&lt;br/&gt;
          &quot;hwvtep:tunnel-ips&quot;: [&lt;/p&gt;
            {
              &quot;tunnel-ips-key&quot;: &quot;50.50.50.1&quot;
            }
&lt;p&gt;          ],&lt;br/&gt;
          &quot;hwvtep:physical-switch-uuid&quot;: &quot;030f5109-0f32-431f-aed5-778cc108b7e9&quot;,&lt;br/&gt;
          &quot;hwvtep:management-ips&quot;: [&lt;/p&gt;
            {
              &quot;management-ips-key&quot;: &quot;10.23.237.112&quot;
            }
&lt;p&gt;          ],&lt;br/&gt;
          &quot;termination-point&quot;: [&lt;br/&gt;
            &lt;/p&gt;
{
              &quot;tp-id&quot;: &quot;eth1/11&quot;,
              &quot;hwvtep:hwvtep-node-name&quot;: &quot;eth1/11&quot;,
              &quot;hwvtep:hwvtep-node-description&quot;: &quot;&quot;,
              &quot;hwvtep:physical-port-uuid&quot;: &quot;ae4fb25e-19cd-4597-a604-d5708f039d41&quot;
            }
&lt;p&gt;,&lt;br/&gt;
            &lt;/p&gt;
{
              &quot;tp-id&quot;: &quot;eth1/10&quot;,
              &quot;hwvtep:hwvtep-node-name&quot;: &quot;eth1/10&quot;,
              &quot;hwvtep:hwvtep-node-description&quot;: &quot;&quot;,
              &quot;hwvtep:physical-port-uuid&quot;: &quot;91ca60d3-a6a0-4431-b8b1-ef4fec999820&quot;
            }
&lt;p&gt;,&lt;/p&gt;
            {
              &quot;tp-id&quot;: &quot;eth1/12&quot;,
              &quot;hwvtep:hwvtep-node-name&quot;: &quot;eth1/12&quot;,
              &quot;hwvtep:hwvtep-node-description&quot;: &quot;&quot;,
              &quot;hwvtep:physical-port-uuid&quot;: &quot;31d7390c-c3d2-4f20-8794-3813500e3564&quot;
            }
&lt;p&gt;          ]&lt;br/&gt;
        }&lt;br/&gt;
      ]&lt;br/&gt;
    }&lt;br/&gt;
  ]&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="41657" author="giheron@cisco.com" created="Wed, 3 May 2017 14:47:27 +0000"  >&lt;p&gt;is there any update on this?&lt;/p&gt;

&lt;p&gt;or any more info you need from me?&lt;/p&gt;</comment>
                            <comment id="41658" author="k.v.suneelu.verma@ericsson.com" created="Thu, 4 May 2017 09:19:38 +0000"  >&lt;p&gt;Can you enable TRACE for the following package aswell.&lt;br/&gt;
org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md&lt;/p&gt;

&lt;p&gt;From the logs it could be seen that logical switch is created in the device.&lt;br/&gt;
2017-05-01 11:09:46,448 | TRACE | entLoopGroup-5-1 | HwvtepMonitorCallback            | 191 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.3.3.Boron-SR3 | result: TableUpdates [map={Logical_Switch=TableUpdate [{c0d53932-dd4b-46b3-8d7f-b3bbceacdf05=RowUpdate [uuid=c0d53932-dd4b-46b3-8d7f-b3bbceacdf05, oldRow=null, newRow=Row [columns=&lt;/p&gt;
{name=[name=ls0], description=[description= ], tunnel_key=[tunnel_key=[10000]]}
&lt;p&gt;]]}]}, error=null, details=null, getError()=null, getDetails()=null, getClass()=class org.opendaylight.ovsdb.lib.message.TableUpdates, hashCode()=877596989, toString()=org.opendaylight.ovsdb.lib.message.TableUpdates@344f113d] dbSchema: hardware_vtep&lt;/p&gt;

&lt;p&gt;But it is not updated in operational datastore.&lt;/p&gt;

&lt;p&gt;It could be because the previous transaction threw an exception other than &lt;br/&gt;
NullPointerException | NoSuchElementException | ClassCastException e&lt;br/&gt;
as caught by &lt;a href=&quot;https://github.com/opendaylight/ovsdb/blob/stable/boron/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transactions/md/HwvtepOperationalCommandAggregator.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/ovsdb/blob/stable/boron/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/transactions/md/HwvtepOperationalCommandAggregator.java&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;That exception would have killed the operational datastore update thread in TransactionInvokerImpl and preventing any further updates to operational datastore.&lt;/p&gt;

&lt;p&gt;This patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51517/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51517/&lt;/a&gt; should address such issues.&lt;/p&gt;</comment>
                            <comment id="41659" author="giheron@cisco.com" created="Thu, 4 May 2017 17:34:54 +0000"  >&lt;p&gt;that trace ought to have been there already as I was tracing org.opendaylight.ovsdb?&lt;/p&gt;

&lt;p&gt;I&apos;ve tried building carbon/stable with the patch you noted.   Still fails &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;  This time I get an NPE just after getting the response to my command to create the logical switch:&lt;/p&gt;

&lt;p&gt;2017-05-04 10:13:51,107 | DEBUG | on-dispatcher-74 | LogicalSwitchUpdateCommand       | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Creating logical switch named: HwvtepNodeName &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ls0&amp;#93;&lt;/span&gt;&lt;br/&gt;
2017-05-04 10:13:51,108 | TRACE | on-dispatcher-74 | LogicalSwitchUpdateCommand       | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | execute: creating LogicalSwitch entry: Logical_Switch : Row [columns=&lt;/p&gt;
{name=[name=ls0], description=[description=], tunnel_key=[tunnel_key=[10000]]}
&lt;p&gt;]&lt;br/&gt;
2017-05-04 10:13:51,109 | DEBUG | on-dispatcher-74 | HwvtepDeviceInfo                 | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Marking device data as intransit KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches, path=[org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NetworkTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology[key=TopologyKey [_topologyId=Uri [_value=hwvtep:1]]], org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node[key=NodeKey [_nodeId=Uri [_value=hwvtep://uuid/0b197212-3ce8-4ea2-a2f7-3fc455a02485]]], org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepGlobalAugmentation, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.hwvtep.global.attributes.LogicalSwitches[key=LogicalSwitchesKey [_hwvtepNodeName=HwvtepNodeName [_value=ls0]]]]}
&lt;p&gt;2017-05-04 10:13:51,119 | TRACE | on-dispatcher-74 | JsonRpcEndpoint                  | 212 - org.opendaylight.ovsdb.library - 1.4.0.SNAPSHOT | getClient Request : {&quot;id&quot;:&quot;33d58219-fbef-4bee-b819-7ace9e8b151e&quot;,&quot;method&quot;:&quot;transact&quot;,&quot;params&quot;:[&quot;hardware_vtep&quot;,{&quot;op&quot;:&quot;insert&quot;,&quot;row&quot;:&lt;/p&gt;
{&quot;name&quot;:&quot;ls0&quot;,&quot;description&quot;:&quot;&quot;,&quot;tunnel_key&quot;:[&quot;set&quot;,[10000]]}
&lt;p&gt;,&quot;uuid-name&quot;:&quot;LogicalSwitch_ls0&quot;,&quot;table&quot;:&quot;Logical_Switch&quot;},&lt;/p&gt;
{&quot;op&quot;:&quot;comment&quot;,&quot;comment&quot;:&quot;Logical Switch: Creating ls0&quot;}
&lt;p&gt;]}&lt;br/&gt;
2017-05-04 10:13:51,119 | DEBUG | on-dispatcher-74 | TransactInvokerImpl              | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | invoke: command: org.opendaylight.ovsdb.hwvtepsouthbound.transact.TransactCommandAggregator@7f792b56, tb: org.opendaylight.ovsdb.lib.operations.TransactionBuilder@6b795c9f&lt;br/&gt;
2017-05-04 10:13:51,198 | TRACE | entLoopGroup-5-3 | JsonRpcDecoder                   | 212 - org.opendaylight.ovsdb.library - 1.4.0.SNAPSHOT | readable bytes 200, records read 6, incomplete record bytes 0&lt;br/&gt;
2017-05-04 10:13:51,200 | TRACE | entLoopGroup-5-3 | JsonRpcEndpoint                  | 212 - org.opendaylight.ovsdb.library - 1.4.0.SNAPSHOT | Request : null &quot;update&quot; &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;75384b61-4ea3-4b0c-a75b-38758ceb8c93&amp;quot;,{&amp;quot;Logical_Switch&amp;quot;:{&amp;quot;03611caf-c9af-4600-965f-4e7efaf3640d&amp;quot;:{&amp;quot;new&amp;quot;:{&amp;quot;description&amp;quot;:&amp;quot; &amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;ls0&amp;quot;,&amp;quot;tunnel_key&amp;quot;:10000}}}}&amp;#93;&lt;/span&gt;&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | entLoopGroup-5-3 | HwvtepMonitorCallback            | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | result: TableUpdates [map={Logical_Switch=TableUpdate [{03611caf-c9af-4600-965f-4e7efaf3640d=RowUpdate [uuid=03611caf-c9af-4600-965f-4e7efaf3640d, oldRow=null, newRow=Row [columns=&lt;/p&gt;
{name=[name=ls0], description=[description= ], tunnel_key=[tunnel_key=[10000]]}
&lt;p&gt;]]}]}, error=null, details=null, getError()=null, getDetails()=null, getClass()=class org.opendaylight.ovsdb.lib.message.TableUpdates, hashCode()=1025312520, toString()=org.opendaylight.ovsdb.lib.message.TableUpdates@3d1d0708] dbSchema: hardware_vtep&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | entLoopGroup-5-3 | HwvtepMonitorCallback            | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | update exit&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.GlobalUpdateCommand@63dd3577&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepPhysicalSwitchUpdateCommand@27e1e3d3&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepPhysicalSwitchRemoveCommand@30e8b701&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepManagerUpdateCommand@37182927&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepManagerRemoveCommand@3de4d43e&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Executing command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepLogicalSwitchUpdateCommand@15b3472a&lt;br/&gt;
2017-05-04 10:13:51,251 | TRACE | entLoopGroup-5-3 | JsonRpcDecoder                   | 212 - org.opendaylight.ovsdb.library - 1.4.0.SNAPSHOT | readable bytes 132, records read 7, incomplete record bytes 0&lt;br/&gt;
2017-05-04 10:13:51,252 | TRACE | entLoopGroup-5-3 | JsonRpcEndpoint                  | 212 - org.opendaylight.ovsdb.library - 1.4.0.SNAPSHOT | Response : {&quot;error&quot;:null,&quot;id&quot;:&quot;33d58219-fbef-4bee-b819-7ace9e8b151e&quot;,&quot;result&quot;:[&lt;/p&gt;
{&quot;uuid&quot;:[&quot;uuid&quot;,&quot;03611caf-c9af-4600-965f-4e7efaf3640d&quot;]}
&lt;p&gt;,{}]}&lt;br/&gt;
2017-05-04 10:13:51,252 | ERROR | n-invoker-impl-0 | vtepOperationalCommandAggregator | 220 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.0.SNAPSHOT | Execution of command org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepLogicalSwitchUpdateCommand@15b3472a failed with the following exception. Continuing the execution of remaining commands&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepLogicalSwitchUpdateCommand.buildConnectionNode(HwvtepLogicalSwitchUpdateCommand.java:76)&lt;span class=&quot;error&quot;&gt;&amp;#91;220:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepLogicalSwitchUpdateCommand.updateLogicalSwitch(HwvtepLogicalSwitchUpdateCommand.java:58)&lt;span class=&quot;error&quot;&gt;&amp;#91;220:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepLogicalSwitchUpdateCommand.execute(HwvtepLogicalSwitchUpdateCommand.java:50)&lt;span class=&quot;error&quot;&gt;&amp;#91;220:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.HwvtepOperationalCommandAggregator.execute(HwvtepOperationalCommandAggregator.java:57)&lt;span class=&quot;error&quot;&gt;&amp;#91;220:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.ovsdb.hwvtepsouthbound.transactions.md.TransactionInvokerImpl.run(TransactionInvokerImpl.java:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;220:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_91&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_91&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_91&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="41660" author="giheron@cisco.com" created="Thu, 4 May 2017 18:00:15 +0000"  >&lt;p&gt;I&apos;ve also just tested using the latest carbon/stable (but without the patch).&lt;/p&gt;

&lt;p&gt;I get the same NPE (only at line 98 rather than line 107 of TransactionInvokerImpl.java).&lt;/p&gt;

&lt;p&gt;it&apos;s the same line of code (just before/after the patch was applied).&lt;/p&gt;

&lt;p&gt;any thoughts?&lt;/p&gt;</comment>
                            <comment id="41661" author="k.v.suneelu.verma@ericsson.com" created="Fri, 5 May 2017 09:45:44 +0000"  >
&lt;p&gt;The npe is coming from this line&lt;br/&gt;
lsBuilder.setLogicalSwitchUuid(new Uuid(lSwitch.getUuid().toString()));&lt;/p&gt;

&lt;p&gt;which means either lswitch is null or its uuid is null.&lt;/p&gt;

&lt;p&gt;controller is not able to parse the logical switch update properly and create the lswitch object.&lt;/p&gt;

&lt;p&gt;What is the version of openvswitch you are using ?&lt;/p&gt;</comment>
                            <comment id="41662" author="giheron@cisco.com" created="Fri, 5 May 2017 09:48:26 +0000"  >&lt;p&gt;I think 1.3 with a plan to use 1.4 - but can check with the developer later on (she&apos;s in SJ so won&apos;t be in for a while).  Both the UUID and logical switch should be there.&lt;/p&gt;

&lt;p&gt;will see if can make progress on my own for now...&lt;/p&gt;</comment>
                            <comment id="41663" author="giheron@cisco.com" created="Fri, 5 May 2017 18:01:04 +0000"  >&lt;p&gt;so we&apos;ve made progress - we fixed a bug in our code where we were sending a notification with a missing UUID.   So yeah - maybe in future it might be worth programming a little more defensively in ODL and checking whether a value is null before calling &quot;toString()&quot; on it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; &lt;/p&gt;

&lt;p&gt;so now we&apos;ve got the logical switch in our operational topology &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;as a result we&apos;ve been able to update the ethernet port mapping also and now we see the local-mcast-macs entry for 00:00:00:00:00:00 and also the termination point for the VXLAN tunnel.&lt;/p&gt;

&lt;p&gt;our next step is to try and add the remote-mcast-macs entry and the remote termination point for the far end of the tunnel.  At that point we should be able to pass traffic (I hope!)&lt;/p&gt;</comment>
                            <comment id="41664" author="giheron@cisco.com" created="Sat, 6 May 2017 18:49:04 +0000"  >&lt;p&gt;all seems to work now - even without the patch.&lt;/p&gt;

&lt;p&gt;will close the bug&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12922" name="karaf.zip" size="52594" author="giheron@cisco.com" created="Tue, 2 May 2017 13:49:59 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8353</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8353]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i022kn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>