<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:58 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>[VTN-80] VTN Coordinator returns error in CSIT</title>
                <link>https://jira.opendaylight.org/browse/VTN-80</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;When the CSIT Test cases are executed in sandbox, It is noted that the VTN Coordiantor returns 503 in some scenarios. &lt;/p&gt;

&lt;p&gt;the current order of test cases is as follows&lt;/p&gt;

&lt;p&gt;a. add controller&lt;br/&gt;
b. wait until the controller status is &quot;up&quot; to ensure that audit is complete&lt;/p&gt;

&lt;p&gt;c. Continue to create vtn+vbridge+interface and portmaps to ensure some successful ping test using mininet.&lt;/p&gt;

&lt;p&gt;The problem here is when the (c) executes, sometimes Coordinaotr returns 503 causing the tests to fail.&lt;/p&gt;

&lt;p&gt;It needs to be analyzed what blocking operation occurs after the status is &quot;up&quot; as AUDIT is complete.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26460">VTN-80</key>
            <summary>VTN Coordinator returns error in CSIT</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="-1">Unassigned</assignee>
                                    <reporter username="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jul 2015 20:20:20 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:14 +0000</updated>
                            <resolved>Wed, 7 Oct 2015 09:22:59 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="52961" author="siva-karthik@hcl.com" created="Thu, 6 Aug 2015 15:03:04 +0000"  >&lt;p&gt;When we increase waiting time of controller status from 32 to 40s, the issue 503 error code is not reproducible.&lt;/p&gt;</comment>
                            <comment id="52962" author="hideyuki.tai@necam.com" created="Thu, 6 Aug 2015 16:58:43 +0000"  >&lt;p&gt;(In reply to Karthik Sivasamy from comment #1)&lt;br/&gt;
&amp;gt; When we increase waiting time of controller status from 32 to 40s, the issue&lt;br/&gt;
&amp;gt; 503 error code is not reproducible.&lt;/p&gt;

&lt;p&gt;Did you submit the change to the vtn.git?&lt;/p&gt;

&lt;p&gt;Could you add more explanation?&lt;/p&gt;</comment>
                            <comment id="52963" author="siva-karthik@hcl.com" created="Fri, 7 Aug 2015 11:43:45 +0000"  >&lt;p&gt;(In reply to Hideyuki Tai from comment #2)&lt;br/&gt;
&amp;gt; (In reply to Karthik Sivasamy from comment #1)&lt;br/&gt;
&amp;gt; &amp;gt; When we increase waiting time of controller status from 32 to 40s, the issue&lt;br/&gt;
&amp;gt; &amp;gt; 503 error code is not reproducible.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Did you submit the change to the vtn.git?&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Could you add more explanation?&lt;/p&gt;


&lt;p&gt;&amp;gt; Analysing the issue why VTN coordinator returns 503 when wait time is 32s, as controller status is UP, test case fail in creating VTN configurations i.e, (503 service unavailable) error returns.&lt;/p&gt;</comment>
                            <comment id="52964" author="siva-karthik@hcl.com" created="Thu, 27 Aug 2015 12:00:54 +0000"  >&lt;p&gt;Observation:&lt;br/&gt;
 1.There is a fraction of delay between the controller status becoming &#8220;up&#8221; and then AUDIT operation actually completing. Between, next REST API gets executed in this time. &lt;br/&gt;
 2. This causes higher layer module to fail the commit operation by returning SYSTEM BUSY(503) error as AUDIT is yet to complete with all components.&lt;/p&gt;


&lt;p&gt;Workaround:&lt;br/&gt;
a.Create Controller with &#8220;Audit Disable&#8221;&lt;br/&gt;
b.Wait for atleast 10sec for controller to become ready for Audit from down state.&lt;br/&gt;
c.Manually trigger AUDIT using the AUDIT Controller REST API &lt;br/&gt;
d.Then continue the rest of TESTS.&lt;/p&gt;</comment>
                            <comment id="52965" author="vrpolak" created="Thu, 27 Aug 2015 13:45:40 +0000"  >&lt;p&gt;&amp;gt; b.Wait for atleast 10sec for controller to become ready for Audit from down&lt;br/&gt;
state.&lt;/p&gt;

&lt;p&gt;Previously it took longer. My brain pattern-matched the change to a change in test setup: value of odcdrv_ping_interval in /usr/local/vtn/modules/odcdriver.conf was changed from 30 (seconds) to 10. As ping itself takes some time, actual test waits up to 12 seconds.&lt;/p&gt;

&lt;p&gt;To me, it looks like the system under test waits for a ping to succeed (perhaps two pings separated by the interval?).&lt;/p&gt;

&lt;p&gt;As a committer on Integration project, I am willing to accept the new test (which hides the 503 issue) as soon as test case documentation points to this Bug discussion.&lt;/p&gt;</comment>
                            <comment id="52966" author="gvrangan" created="Thu, 27 Aug 2015 17:31:14 +0000"  >&lt;p&gt;Hi Vratko,&lt;/p&gt;

&lt;p&gt; Actually it is a little different. The issue reported here is about the time taken for the &quot;AUDIT&quot; operation to complete. The ping interval was made as 10 seconds for a different scneario. This paramter controls the frequency in which the vtn coordinator tries to chck if the ODL is connected. It is for the &quot;down&quot; state  checking when setting wrong IP address. We are checking the same.&lt;/p&gt;</comment>
                            <comment id="52967" author="siva-karthik@hcl.com" created="Wed, 7 Oct 2015 09:22:59 +0000"  >&lt;p&gt;This issue occurs only when testing vtn coordinator in csit. &lt;/p&gt;

&lt;p&gt;Occurance of the issue:&lt;br/&gt;
1) Add a controller.&lt;br/&gt;
2) Check controller status if &quot;UP&quot; &lt;br/&gt;
3) Add vtn, vbr (Here it returns error as SYSTEM BUSY).&lt;/p&gt;

&lt;p&gt;Reason of the issue:&lt;br/&gt;
 1.There is a fraction of delay between the controller status becoming &#8220;up&#8221; and then AUDIT operation actually completing. Between, next REST API gets (VTN and VBR creation)executed in this time. &lt;br/&gt;
 2. This causes higher layer module to fail the commit operation by returning SYSTEM BUSY(503) error as AUDIT is yet to complete with all components.And it is confirmed it is know behaviour to overcome this we need to do trigger manual audit in the test case after adding controller.&lt;/p&gt;

&lt;p&gt;This issue is ressolved by fixing manually trigerring audit in the CSIT test cases.&lt;/p&gt;

&lt;p&gt;The patch for this bug is fixed in CSIT test cases of vtn and it is merged in &quot;integration branch&quot;. Please find the below link for the same,&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24860/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24860/&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>4008</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=4008]]></customfieldvalue>

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

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