<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33: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>[OPNFLWPLUG-790] failed to update port status - all new OVS ports fail from this point</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-790</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;openflowplugin fails to update port status on creation of VM using netvirt.&lt;br/&gt;
it always happens on the same compute host. VMs created on other computes work fine.&lt;/p&gt;

&lt;p&gt;this is the relevant lines in the jaraf.log&lt;br/&gt;
2016-10-09 07:07:17,263 | WARN  | ntLoopGroup-9-15 | DeviceContextImpl                | 265 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Error processing port status message for port 13 on device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:79818282140722&amp;#93;&lt;/span&gt; : java.lang.IllegalStateException: Previous transaction member-1-datastore-operational-fe-0-chn-591-txn-6 is not ready yet&lt;br/&gt;
2016-10-09 07:07:17,364 | WARN  | Thread-16795     | DeviceContextImpl                | 265 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Error processing port status message for 0 on port 13 on device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:79818282140722&amp;#93;&lt;/span&gt; : java.lang.IllegalStateException: Previous transaction member-1-datastore-operational-fe-0-chn-591-txn-6 is not ready yet&lt;br/&gt;
2016-10-09 07:07:17,475 | WARN  | Thread-16795     | DeviceContextImpl                | 265 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Error processing port status message for 1 on port 13 on device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:79818282140722&amp;#93;&lt;/span&gt; : java.lang.IllegalStateException: Previous transaction member-1-datastore-operational-fe-0-chn-591-txn-6 is not ready yet&lt;br/&gt;
2016-10-09 07:07:17,576 | WARN  | Thread-16795     | DeviceContextImpl                | 265 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Error processing port status message for 2 on port 13 on device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:79818282140722&amp;#93;&lt;/span&gt; : java.lang.IllegalStateException: Previous transaction member-1-datastore-operational-fe-0-chn-591-txn-6 is not ready yet&lt;br/&gt;
2016-10-09 07:07:17,576 | WARN  | Thread-16795     | DeviceContextImpl                | 265 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Failed to update port status for port 13 on device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:79818282140722&amp;#93;&lt;/span&gt; even after 3 retries&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28058">OPNFLWPLUG-790</key>
            <summary>failed to update port status - all new OVS ports fail from this point</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="10000">Done</resolution>
                                        <assignee username="ayahel@hpe.com">Arnon Yahel</assignee>
                                    <reporter username="ayahel@hpe.com">Arnon Yahel</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Oct 2016 13:19:25 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:55 +0000</updated>
                            <resolved>Mon, 19 Jun 2017 12:19:07 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="58372" author="ayahel@hpe.com" created="Sun, 9 Oct 2016 13:53:12 +0000"  >&lt;p&gt;Attachment karaf.logs.tar has been added with description: karaf logs&lt;/p&gt;</comment>
                            <comment id="58350" author="dotan.sokolover@hpe.com" created="Tue, 8 Nov 2016 09:50:49 +0000"  >&lt;p&gt;I also encountered that problem:&lt;br/&gt;
repetetive creating of VMs failed&lt;/p&gt;</comment>
                            <comment id="58373" author="dotan.sokolover@hpe.com" created="Tue, 8 Nov 2016 11:08:08 +0000"  >&lt;p&gt;Attachment qsvc.zip has been added with description: q-svc log (fail @08/11, 9:22)&lt;/p&gt;</comment>
                            <comment id="58374" author="dotan.sokolover@hpe.com" created="Tue, 8 Nov 2016 11:08:41 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: Karaf log (fail @08/11, 9:22)&lt;/p&gt;</comment>
                            <comment id="58351" author="dotan.sokolover@hpe.com" created="Sun, 13 Nov 2016 08:22:43 +0000"  >&lt;p&gt;This bug is reproduced when using this script:&lt;br/&gt;
for i in &lt;/p&gt;
{1..1000}
&lt;p&gt;;do&lt;br/&gt;
        date;&lt;br/&gt;
        neutron net-create net1;&lt;br/&gt;
        neutron subnet-create net1 192.168.1.0/24 --name subnet1;&lt;br/&gt;
        nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.nano --nic net-name=net1 VM$i;&lt;br/&gt;
        IP_NETNS=`ip netns | head -n 1`;&lt;br/&gt;
        sleep 15;&lt;br/&gt;
        echo sudo ip netns exec ${IP_NETNS} ping -c 3 192.168.1.3;&lt;br/&gt;
        sudo ip netns exec ${IP_NETNS} ping -c 3 192.168.1.3;&lt;br/&gt;
        nova delete VM$i;&lt;br/&gt;
        neutron net-delete net1;&lt;br/&gt;
done&lt;br/&gt;
At some point, the update port failure appears and from that point, each new VM is not pingable.&lt;/p&gt;</comment>
                            <comment id="58375" author="koby.aizer@hpe.com" created="Wed, 16 Nov 2016 16:17:50 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: karaf.log - TransactionChainManager in DEBUG level&lt;/p&gt;</comment>
                            <comment id="58352" author="alonko@hpe.com" created="Tue, 6 Dec 2016 11:20:32 +0000"  >&lt;p&gt;openflowplugin can&apos;t figure it out - need to try to recreate with a running tcpdump and debug logs for whole openflowplugin.impl&lt;br/&gt;
Shuva, I think this happened when using only 2 computes - will ask Dotan to try to recreate, have you tried his script though?&lt;/p&gt;

&lt;p&gt;From Shuva:&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-December/006436.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-December/006436.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&quot;Sorry for the late response, got pulled into multiple things.&lt;br/&gt;
The actual issue was reported as a part of &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-760&quot; title=&quot;OVS Port remains DOWN in OpenFlow inventory when using Mininet 2.1.0 with OVS 2.0 OF1.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-760&quot;&gt;&lt;del&gt;OPNFLWPLUG-760&lt;/del&gt;&lt;/a&gt;(&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=6595&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=6595&lt;/a&gt;) wherein the OpenFlow plugin failed to process a port status message because the message came from a switch before it started the service as MASTER for the switch.&lt;/p&gt;

&lt;p&gt;Analysing the logs attached to this bug I was not able to come to any conclusion. To analyse the issue further we need the logs by setting the log level as&lt;br/&gt;
log:set DEBUG org.opendaylight.openflowplugin.impl&lt;/p&gt;

&lt;p&gt;I assume that we  see the issue when the number of switches(DPNs) are high, hence we need to check what is the typical delay between the MASTERSHIP grant and the ports coming up and adjust the delay accordingly.&lt;/p&gt;

&lt;p&gt;We can also get the relevant information in a wireshark capture that would demarcate when the ROLE_REQ is processed by the switch and when the PORT STATUS is sent.&quot;&lt;/p&gt;</comment>
                            <comment id="58353" author="alonko@hpe.com" created="Sun, 11 Dec 2016 13:23:24 +0000"  >&lt;p&gt;This was reproduced using Dotan&apos;s instructions, with only 1 compute (one devstack machine that is &quot;all in one&quot; - controller+compute).&lt;/p&gt;

&lt;p&gt;An updated karaf.log with all openflowplugin set to DEBUG was provided via mail on 12/8 (too large to attach here), as requested by Shuva.&lt;/p&gt;

&lt;p&gt;Updating to blocker to at least get openflowplugin&apos;s feedback as this bug has blocked us from proceeding several times. Thanks.&lt;/p&gt;</comment>
                            <comment id="58354" author="anipbu" created="Tue, 13 Dec 2016 01:20:00 +0000"  >&lt;p&gt;Is this only for Carbon or does it apply to Boron-SR2 as well?&lt;/p&gt;</comment>
                            <comment id="58355" author="alonko@hpe.com" created="Tue, 13 Dec 2016 12:02:37 +0000"  >&lt;p&gt;(In reply to A H from comment #10)&lt;br/&gt;
&amp;gt; Is this only for Carbon or does it apply to Boron-SR2 as well?&lt;/p&gt;

&lt;p&gt;This applies to Boron SR2.&lt;/p&gt;

&lt;p&gt;When it occurs, that DPN is stuck in a zombie state and cannot be used further.&lt;br/&gt;
Waiting for analysis/feedback from openflowplugin, details and reproduction info provided to Shuva below and by Koby, at least to figure out a workaround for SR2.&lt;/p&gt;</comment>
                            <comment id="58356" author="anipbu" created="Mon, 19 Dec 2016 23:35:56 +0000"  >&lt;p&gt;As per the discussion on the following email thread below, this bug is being retargeted for Boron SR3:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-December/006490.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-December/006490.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58357" author="abhijit2511" created="Wed, 11 Jan 2017 16:42:43 +0000"  >&lt;p&gt;Is this still blocking?&lt;/p&gt;</comment>
                            <comment id="58358" author="koby.aizer@hpe.com" created="Wed, 11 Jan 2017 19:50:16 +0000"  >&lt;p&gt;I think we can say this is no longer blocking (at least for netvirt), since we have a workaround (disabling statistics polling in openflowplugin). I believe it is still critical, as statistics collection is on by default, and users may encounter those issues which make the entire OVS unusable.&lt;/p&gt;

&lt;p&gt;CC&apos;d Sam &amp;amp; Alon - maybe they&apos;d like to comment as well.&lt;/p&gt;</comment>
                            <comment id="58359" author="tomas.slusny@pantheon.tech" created="Tue, 21 Mar 2017 09:33:40 +0000"  >&lt;p&gt;Changing importance to critical from blocking as Koby said it is non blocking anymore.&lt;/p&gt;</comment>
                            <comment id="58360" author="shague@redhat.com" created="Wed, 22 Mar 2017 02:40:31 +0000"  >&lt;p&gt;Is this on boron or just master?&lt;/p&gt;

&lt;p&gt;Is the workaround a simple config option?&lt;/p&gt;

&lt;p&gt;What deployment and setup does this bug happen?&lt;/p&gt;

&lt;p&gt;Answers to the above would help to decide lowering the priority.&lt;/p&gt;</comment>
                            <comment id="58361" author="tomas.slusny@pantheon.tech" created="Tue, 28 Mar 2017 08:05:23 +0000"  >&lt;p&gt;Can you test this again on this patch please? &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/53905/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/53905/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I added collecting of early port status updates and after initial statistics gathering is done these collected port status updates will be written to operational datastore.&lt;/p&gt;</comment>
                            <comment id="58362" author="dotan.sokolover@hpe.com" created="Tue, 28 Mar 2017 11:19:52 +0000"  >&lt;p&gt;I will test this patch.&lt;br/&gt;
usually, it takes about 1 day to reproduce.&lt;/p&gt;</comment>
                            <comment id="58363" author="dotan.sokolover@hpe.com" created="Sun, 2 Apr 2017 11:42:59 +0000"  >&lt;p&gt;I&apos;m sorry for the delay-&lt;br/&gt;
I encountered several problems on testing it.&lt;br/&gt;
As for now, it looks good.&lt;br/&gt;
I will give another update when finish testing it&lt;/p&gt;</comment>
                            <comment id="58364" author="tomas.slusny@pantheon.tech" created="Mon, 3 Apr 2017 08:54:13 +0000"  >&lt;p&gt;Okay great&lt;/p&gt;</comment>
                            <comment id="58365" author="dotan.sokolover@hpe.com" created="Tue, 4 Apr 2017 08:27:46 +0000"  >&lt;p&gt;It looks good.&lt;br/&gt;
The message of &quot;failed to update port status&quot; was not reproduced&lt;br/&gt;
Thanks&lt;/p&gt;</comment>
                            <comment id="58366" author="tomas.slusny@pantheon.tech" created="Mon, 24 Apr 2017 08:04:54 +0000"  >&lt;p&gt;So patch was merged, is it working and can this one be closed?&lt;/p&gt;</comment>
                            <comment id="58367" author="tomas.slusny@pantheon.tech" created="Mon, 24 Apr 2017 12:14:38 +0000"  >&lt;p&gt;Last patch will probably not work properly with statistics gathering disabled, so I need to make another one that tries to solve this better.&lt;/p&gt;</comment>
                            <comment id="58368" author="tomas.slusny@pantheon.tech" created="Thu, 27 Apr 2017 06:38:16 +0000"  >&lt;p&gt;GERRIT: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/55868/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/55868/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58369" author="tomas.slusny@pantheon.tech" created="Wed, 17 May 2017 12:37:41 +0000"  >&lt;p&gt;Patch was merged, but there is also cherry-pick for stable/carbon, so it needs to be updated and merged too before this can be closed: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56132/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56132/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="58370" author="tomas.slusny@pantheon.tech" created="Mon, 5 Jun 2017 12:06:31 +0000"  >&lt;p&gt;Closing this.&lt;/p&gt;</comment>
                            <comment id="58371" author="tomas.slusny@pantheon.tech" created="Mon, 5 Jun 2017 12:09:05 +0000"  >&lt;p&gt;Forgot that this is still waiting for carbon merge, so leaving this in review.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20181">NETVIRT-260</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24537">UNIMGR-27</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14084" name="karaf.logs.tar" size="952466" author="ayahel@hpe.com" created="Sun, 9 Oct 2016 13:53:12 +0000"/>
                            <attachment id="14087" name="karaf.zip" size="229566" author="koby.aizer@hpe.com" created="Wed, 16 Nov 2016 16:17:50 +0000"/>
                            <attachment id="14086" name="karaf.zip" size="650700" author="dotan.sokolover@hpe.com" created="Tue, 8 Nov 2016 11:08:41 +0000"/>
                            <attachment id="14085" name="qsvc.zip" size="830759" author="dotan.sokolover@hpe.com" created="Tue, 8 Nov 2016 11:08:08 +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>6908</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=6908]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10344"><![CDATA[Boron-3]]></customfieldvalue>

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

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