<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:24 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>[NETVIRT-759] Physical_Locator DB duplication error occurs when adding new L2GW Node to Open vSwitch HWVTEP Emulator</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-759</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Issue&#65306;&lt;br/&gt;
The following Physical_Locator DB duplication error occurs when adding new L2GW Node to the environment which has multiple L2GW Nodes running.&lt;br/&gt;
Frequency: 4 times / 300 times&lt;/p&gt;

&lt;p&gt;Environment details:&lt;br/&gt;
OpenStack Version&#65306;stable/ocata&lt;br/&gt;
ODL Version&#65306;Carbon-FR + patch&lt;br/&gt;
   patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56773/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56773/&lt;/a&gt;&lt;br/&gt;
          &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56710/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56710/&lt;/a&gt;&lt;br/&gt;
          &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/58787/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/58787/&lt;/a&gt;&lt;br/&gt;
          &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59598/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59598/&lt;/a&gt;&lt;br/&gt;
HWVTEP: Open vSwitch 2.6.1 HWVTEP Emulator&lt;br/&gt;
      : HA Cluster&lt;/p&gt;

&lt;p&gt;What we did (Steps):&lt;br/&gt;
1. Create a L2GW Node with Open vSwitch HWVTEP Emulator&lt;br/&gt;
   Set &apos;other_config:ha_enabled=true&apos; and &apos;other_config:ha_id=0123456789&apos; when creating.&lt;br/&gt;
2. Create gateway and connection&lt;br/&gt;
   Confirmed the communication via L2GW Node was OK&lt;br/&gt;
3. Create a new L2GW Node with Open vSwitch HWVTEP Emulator&lt;br/&gt;
   Create a HA Cluster with node created in step1&lt;br/&gt;
   Set &apos;other_config:ha_enabled=true&apos;, and &apos;other_config:ha_id=0123456789&apos;&lt;br/&gt;
   VTEP and MAC were also set to the same vaule of the first node&lt;/p&gt;

&lt;p&gt;karaf.log&#65306;&lt;br/&gt;
2017-06-27 12:35:00,784 | ERROR | -dispatcher-1805 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | HWVTEP transaction operation failed constraint violation Transaction causes multiple rows in &quot;Physical_Locator&quot; table to have identical values (&quot;vxlan_over_ipv4&quot;, &quot;10.0.0.50&quot;, and []) for index on columns &quot;encapsulation_type&quot;, &quot;dst_ip&quot;, and &quot;tunnel_key&quot;.  First row, with UUID dbde4b90-efae-45a5-9915-5344419e8605, was inserted by this transaction.  Second row, with UUID 2dea828b-9d22-45b3-a497-936eb38204bd, existed in the database before this transaction and was not modified by the transaction.&lt;br/&gt;
2017-06-27 12:35:00,784 | ERROR | -dispatcher-1805 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | Failed transaction insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.50 , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , &amp;#93;&lt;/span&gt;   insert [locators : &lt;span class=&quot;error&quot;&gt;&amp;#91;PhysicalLocator_Random_95fa2b466a6244ee8a4f57f48557e564, PhysicalLocator_Random_6a62a9ed9ec64d8a85772e754e3ceafa&amp;#93;&lt;/span&gt; , ]   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator_set : PhysicalLocatorSet_Random_55b5d246d8ee4e6da7381d9d638db0d6 , logical_switch : 6a78ca17-30bf-43ec-894e-e70eae6ec1db , MAC : unknown-dst , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator : PhysicalLocator_Random_6a62a9ed9ec64d8a85772e754e3ceafa , logical_switch : 6a78ca17-30bf-43ec-894e-e70eae6ec1db , MAC : fa:16:3e:be:92:3a , &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2017-06-27 13:15:42,560 | ERROR | -dispatcher-2057 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | HWVTEP transaction operation failed constraint violation Transaction causes multiple rows in &quot;Physical_Locator&quot; table to have identical values (&quot;vxlan_over_ipv4&quot;, &quot;10.0.0.50&quot;, and []) for index on columns &quot;encapsulation_type&quot;, &quot;dst_ip&quot;, and &quot;tunnel_key&quot;.  First row, with UUID 55bffcc5-a542-4ed2-884a-bd70bdb9bbde, was inserted by this transaction.  Second row, with UUID 7536f345-0201-4c77-ae7d-43ce86e31203, existed in the database before this transaction and was not modified by the transaction.&lt;br/&gt;
2017-06-27 13:15:42,560 | ERROR | -dispatcher-2057 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | Failed transaction insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.50 , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , &amp;#93;&lt;/span&gt;   insert [locators : &lt;span class=&quot;error&quot;&gt;&amp;#91;PhysicalLocator_Random_6102b7f69527404081046b57fd03ba33, PhysicalLocator_Random_47ca470f4e2d40e2a60c8f8cafc49193&amp;#93;&lt;/span&gt; , ]   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator_set : PhysicalLocatorSet_Random_87850b97ff0c4e1f8f37e257dedba038 , logical_switch : 37072e87-83be-47db-93c8-04415e4254b9 , MAC : unknown-dst , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator : PhysicalLocator_Random_6102b7f69527404081046b57fd03ba33 , logical_switch : 37072e87-83be-47db-93c8-04415e4254b9 , MAC : fa:16:3e:be:92:3a , &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2017-06-27 13:19:03,067 | ERROR | -dispatcher-2101 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | HWVTEP transaction operation failed constraint violation Transaction causes multiple rows in &quot;Physical_Locator&quot; table to have identical values (&quot;vxlan_over_ipv4&quot;, &quot;10.0.0.50&quot;, and []) for index on columns &quot;encapsulation_type&quot;, &quot;dst_ip&quot;, and &quot;tunnel_key&quot;.  First row, with UUID 7d83e1ae-e9e2-4189-97a8-10ab91114222, existed in the database before this transaction and was not modified by the transaction.  Second row, with UUID 332f6fb7-87b6-495b-9251-c6d8c2204a9d, was inserted by this transaction.&lt;br/&gt;
2017-06-27 13:19:03,067 | ERROR | -dispatcher-2101 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | Failed transaction insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.50 , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , &amp;#93;&lt;/span&gt;   insert [locators : &lt;span class=&quot;error&quot;&gt;&amp;#91;PhysicalLocator_Random_07b07470f608461e82d1aaaee2123b48, PhysicalLocator_Random_6e7c9589a7a04bfeabaf103048f11789&amp;#93;&lt;/span&gt; , ]   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator_set : PhysicalLocatorSet_Random_779f830d34dc4e208ddf03fe6d3fc932 , logical_switch : 6ac880ce-9a4a-45f6-ad1d-457e594a95c5 , MAC : unknown-dst , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator : PhysicalLocator_Random_6e7c9589a7a04bfeabaf103048f11789 , logical_switch : 6ac880ce-9a4a-45f6-ad1d-457e594a95c5 , MAC : fa:16:3e:be:92:3a , &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2017-06-27 14:56:52,409 | ERROR | -dispatcher-2689 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | HWVTEP transaction operation failed constraint violation Transaction causes multiple rows in &quot;Physical_Locator&quot; table to have identical values (&quot;vxlan_over_ipv4&quot;, &quot;10.0.0.50&quot;, and []) for index on columns &quot;encapsulation_type&quot;, &quot;dst_ip&quot;, and &quot;tunnel_key&quot;.  First row, with UUID 7ece5c74-a22c-4673-aedd-dad23d40d644, was inserted by this transaction.  Second row, with UUID 21b8c191-3e2a-4b27-a3ec-a9e2523e4814, existed in the database before this transaction and was not modified by the transaction.&lt;br/&gt;
2017-06-27 14:56:52,409 | ERROR | -dispatcher-2689 | TransactInvokerImpl              | 292 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.4.1.SNAPSHOT | Failed transaction insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.50 , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , &amp;#93;&lt;/span&gt;   insert [locators : &lt;span class=&quot;error&quot;&gt;&amp;#91;PhysicalLocator_Random_8a14020aa01d4b4089a9af9fc060eba4, PhysicalLocator_Random_b961b9e77430480cbaa26c742d6fb7ac&amp;#93;&lt;/span&gt; , ]   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator_set : PhysicalLocatorSet_Random_e063a76102cb486aa763452684acd5cd , logical_switch : 31cdeaf6-62e7-4b44-91f8-a0844ab7614e , MAC : unknown-dst , &amp;#93;&lt;/span&gt;   insert &lt;span class=&quot;error&quot;&gt;&amp;#91;locator : PhysicalLocator_Random_b961b9e77430480cbaa26c742d6fb7ac , logical_switch : 31cdeaf6-62e7-4b44-91f8-a0844ab7614e , MAC : fa:16:3e:be:92:3a , &amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;Cause&#65306;&lt;br/&gt;
When trying to insert the following two rows into Physical_Locator table,&lt;br/&gt;
insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.10 , &amp;#93;&lt;/span&gt;&lt;br/&gt;
insert &lt;span class=&quot;error&quot;&gt;&amp;#91;encapsulation_type : vxlan_over_ipv4 , dst_ip : 10.0.0.50 , &amp;#93;&lt;/span&gt;&lt;br/&gt;
the second row, with UUID 21b8c191-3e2a-4b27-a3ec-a9e2523e4814, already existed in the database.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20680">NETVIRT-759</key>
            <summary>Physical_Locator DB duplication error occurs when adding new L2GW Node to Open vSwitch HWVTEP Emulator</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ran-xiao@vf.jp.nec.com">Ran Xiao</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Jul 2017 10:00:35 +0000</created>
                <updated>Fri, 6 Apr 2018 00:23:45 +0000</updated>
                            <resolved>Fri, 6 Apr 2018 00:23:45 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>15</watches>
                                                                                                                <comments>
                            <comment id="38044" author="k.v.suneelu.verma@ericsson.com" created="Tue, 5 Sep 2017 13:04:20 +0000"  >&lt;p&gt;Review in progress &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61535/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61535/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>8795</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=8795]]></customfieldvalue>

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

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