<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:24:09 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-1474] Race condition between default SNAT group and flow</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-1474</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Observed&#160;a problem where the default SNAT flow fails to add&lt;br/&gt;
because openflowplugin misses a group used on the flow that is added&lt;br/&gt;
just before the flow, which makes sense that it could happen as both&lt;br/&gt;
things are not synchronized in any way.&lt;/p&gt;

&lt;p&gt;Relevant code is org.opendaylight.netvirt.natservice.internal.SNATDefaultRouteProgrammer#addOrDelDefaultFibRouteToSNATForSubnet&lt;/p&gt;

&lt;p&gt;No idea why this is not happening in CSIT but happens to me in a devstack environment. But is related to timing.&lt;/p&gt;

&lt;p&gt;Traces&lt;/p&gt;

&lt;p&gt;2018-10-23T07:39:55,149 | INFO&#160; | jobcoordinator-main-task-0 |&lt;br/&gt;
ExternalNetworkGroupInstaller&#160;&#160;&#160; | 345 -&lt;br/&gt;
org.opendaylight.netvirt.natservice-impl - 0.7.1.SNAPSHOT |&lt;br/&gt;
installExtNetGroupEntry : Installing ext-net group 225000 entry for&lt;br/&gt;
subnet 9832209c-aad6-4c76-aadc-23b4bca18e0e with macAddress null&lt;br/&gt;
(extInterface: 48479895235134:br-ex-patch:trunk)&lt;br/&gt;
2018-10-23T07:39:55,150 | INFO&#160; | jobcoordinator-main-task-0 |&lt;br/&gt;
RouterDpnChangeListener&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 345 -&lt;br/&gt;
org.opendaylight.netvirt.natservice-impl - 0.7.1.SNAPSHOT |&lt;br/&gt;
installDefaultNatRouteForRouterExternalSubnets : Installing default&lt;br/&gt;
routes in FIB on dpn 48479895235134 for subnetId Uuid{_value=9832209c-&lt;br/&gt;
aad6-4c76-aadc-23b4bca18e0e} with vpnId 100004&lt;br/&gt;
2018-10-23T07:39:55,179 | INFO&#160; | jobcoordinator-main-task-0 |&lt;br/&gt;
RouterDpnChangeListener&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 345 -&lt;br/&gt;
org.opendaylight.netvirt.natservice-impl - 0.7.1.SNAPSHOT | add :&lt;br/&gt;
Installing default route in FIB on dpn 48479895235134 for router&lt;br/&gt;
04b29abd-f633-4c15-87e7-80481e766eb0 with vpn 100000&lt;br/&gt;
2018-10-23T07:39:55,179 | INFO&#160; | jobcoordinator-main-task-0 |&lt;br/&gt;
RouterDpnChangeListener&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 345 -&lt;br/&gt;
org.opendaylight.netvirt.natservice-impl - 0.7.1.SNAPSHOT | add : SNAT&lt;br/&gt;
enabled for router 04b29abd-f633-4c15-87e7-80481e766eb0&lt;br/&gt;
2018-10-23T07:39:55,206 | INFO&#160; | nc-exe-4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; |&lt;br/&gt;
FlowForwarder&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 367 -&lt;br/&gt;
org.opendaylight.openflowplugin.applications.forwardingrules-manager -&lt;br/&gt;
0.7.1.SNAPSHOT | Reading the group from config inventory: 225000&lt;br/&gt;
2018-10-23T07:39:55,206 | ERROR | nc-exe-4&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; |&lt;br/&gt;
FlowForwarder&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 367 -&lt;br/&gt;
org.opendaylight.openflowplugin.applications.forwardingrules-manager -&lt;br/&gt;
0.7.1.SNAPSHOT | Flow add with id SNAT.48479895235134.21.0.0.0.0.100004&lt;br/&gt;
failed for node Uri{_value=openflow:48479895235134} with error&lt;br/&gt;
[RpcError [message=Group 225000 not present in the config inventory,&lt;br/&gt;
severity=ERROR, errorType=APPLICATION, tag=operation-failed,&lt;br/&gt;
applicationTag=null, info=null, cause=null]]&lt;/p&gt;</description>
                <environment></environment>
        <key id="30927">NETVIRT-1474</key>
            <summary>Race condition between default SNAT group and flow</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="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="xcheara">Chetan Arakere Gowdru</assignee>
                                    <reporter username="jaicaa">Jaime Caama&#241;o Ruiz</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Oct 2018 08:26:12 +0000</created>
                <updated>Mon, 25 Nov 2019 07:56:25 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65419" author="jaicaa" created="Thu, 25 Oct 2018 08:26:37 +0000"  >&lt;p&gt;Patch proposed&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77257/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/77257/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="65433" author="shague@redhat.com" created="Mon, 29 Oct 2018 12:21:01 +0000"  >&lt;p&gt;I added JIRA: NETVIRT_1474 to the gerrit and it will automatically link the gerrit to this jira above in the Gerrit Reviews section. Sometimes it won&apos;t pop up until you select &quot;Show all&quot;&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03jvb:</customfieldvalue>

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