<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:44 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-166] OF statistics not stable</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-166</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Port/Table/Flow statistics are not consistent. This is what I did:&lt;/p&gt;

&lt;p&gt;1) start controller -of13 option&lt;/p&gt;

&lt;p&gt;2) start mininet OF13:  sudo mn --controller &apos;remote,ip=127.0.0.1,port=6633&apos; --topo tree,2 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;3) check OF statistics with:&lt;br/&gt;
&lt;a href=&quot;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4) stop mininet and repeat 2,3&lt;/p&gt;

&lt;p&gt;Sometimes I get port/table stats immediately, sometimes it take few minutes to show up, sometimes I never get stats.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27434">OPNFLWPLUG-166</key>
            <summary>OF statistics not stable</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 May 2014 00:50:03 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:11 +0000</updated>
                            <resolved>Sun, 29 Jun 2014 10:09:00 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="55673" author="ecelgp" created="Tue, 20 May 2014 21:27:57 +0000"  >&lt;p&gt;First time I start mininet after controller start, I get statistics with node delay, second time is normally good, third and following times takes much longer...&lt;/p&gt;

&lt;p&gt;This only happens with OVS mininet, CPqD mininet does not show any issue after mininet multiple restarts.&lt;/p&gt;

&lt;p&gt;I will provide some logs once I get some slot.&lt;/p&gt;

&lt;p&gt;PS- I added new TC to OF13 test suite so we can track this bug&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="55674" author="ecelgp" created="Wed, 21 May 2014 04:57:48 +0000"  >&lt;p&gt;From last test today, still issues with mininet OVS, no issues with CPqD. I found a workaround for OVS that is to do pingall in mininet, after that statistics show immediately. So maybe the question is how the stats get invoked in OpenDaylight, and also why does it work with CPqD bit not with OVS?&lt;/p&gt;</comment>
                            <comment id="55675" author="tony.tkacik@gmail.com" created="Wed, 21 May 2014 08:10:36 +0000"  >&lt;p&gt;Does this still manifest fixing bug &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=995&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=995&lt;/a&gt; - Controller does not learn node connectors from mininet OF10. Fixed as patch was merged &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7127&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7127&lt;/a&gt; ?&lt;/p&gt;</comment>
                            <comment id="55676" author="ecelgp" created="Wed, 21 May 2014 18:07:11 +0000"  >&lt;p&gt;This does not look like a big issue, it is just that statistics get delayed after restarting mininet OVS. This could be the result of the statistics optimization work. As an improvement I would ask to collect stats, not only when flows change but also when something changes in the inventory: add/remove switch or port.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="55677" author="tony.tkacik@gmail.com" created="Thu, 29 May 2014 11:33:27 +0000"  >&lt;p&gt;Ok... so to summarize: &lt;br/&gt;
Statistics collection is not reliable in following ways&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;after switch disconnect logs are polluted with error:  Session for the cookie null is invalid.&lt;br/&gt;
java.lang.IllegalArgumentException: Session for the cookie is invalid. Reason: the switch has been recently disconnected OR inventory provides outdated information., which happens when Transaction submitted by stats manager changed status.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;after mininet / switch reconnect it takes some time to start retrieving new statistics&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="55678" author="vishnoianil@gmail.com" created="Thu, 29 May 2014 14:14:38 +0000"  >&lt;p&gt;I think its happening because statistics-manager request queue is not getting cleaned up when node is getting disconnected. Fixing it possible will fix both the issue. Working on it.&lt;/p&gt;</comment>
                            <comment id="55679" author="vishnoianil@gmail.com" created="Thu, 29 May 2014 21:10:47 +0000"  >&lt;p&gt;Hi Madhu,&lt;/p&gt;

&lt;p&gt;I pushed fix through following gerrit to the controller repo&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/7526&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/7526&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Can you please pull it and verify.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27445">OPNFLWPLUG-177</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>1034</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=1034]]></customfieldvalue>

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

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