<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:02 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-98] VTN Dataflows GET operation error</title>
                <link>https://jira.opendaylight.org/browse/VTN-98</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Issue Scenario:Issue in Fetching VTN Dataflows, 500 internal server error returned when GET operation is performed using Query string from VTN Coordinator.&lt;/p&gt;

&lt;p&gt;Reproduce the BUG:&lt;/p&gt;

&lt;p&gt;Controller:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;controller&quot;: {&quot;controller_id&quot;: &quot;odc&quot;, &quot;ipaddr&quot;:&quot;10.106.138.191&quot;, &quot;type&quot;: &quot;odc&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;auditstatus&quot;:&quot;enable&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/controllers.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/controllers.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;VTN:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;vtn&quot; : {&quot;vtn_name&quot;:&quot;vtn1&quot;,&quot;description&quot;:&quot;test VTN&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;VBRIDGE:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;vbridge&quot; : {&quot;vbr_name&quot;:&quot;vBridge1&quot;,&quot;controller_id&quot;:&quot;odc&quot;,&quot;domain_id&quot;:&quot;(DEFAULT)&quot;,&quot;description&quot;: &quot;creating vbrif update&quot; }}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;INTERFACES:&lt;/p&gt;

&lt;p&gt;curl --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;interface&quot;: {&quot;if_name&quot;: &quot;if2&quot;,&quot;description&quot;: &quot;if_desc1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;interface&quot;: {&quot;if_name&quot;: &quot;if1&quot;,&quot;description&quot;: &quot;if_desc1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;PORTMAPPING:&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X PUT -d &apos;{&quot;portmap&quot;:{&quot;logical_port_id&quot;: &quot;PP-OF:openflow:2-s2-eth1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if2/portmap.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if2/portmap.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X PUT -d &apos;{&quot;portmap&quot;:{&quot;logical_port_id&quot;: &quot;PP-OF:openflow:3-s3-eth1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/portmap.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/portmap.json&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;THEN Give Ping in mininet (topo tree-2 level script) for h1 to h3:&lt;/p&gt;


&lt;p&gt;Now GET command with Query string:&lt;/p&gt;

&lt;p&gt;curl -v -X GET -H &apos;content-type: application/json&apos; --user &apos;admin:adminpass&apos; -H &apos;ipaddr:127.0.0.1&apos; &quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/dataflows?vnode_name=vBridge1&amp;amp;srcmacaddr=4690.da0b.3a29&amp;amp;no_vlan_id=true&quot;&lt;/p&gt;


&lt;p&gt;THE COORDINATOR LOGS:&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613480: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: INFO: odcdriver: write to cache succes&lt;br/&gt;
2016-01-14 23:31:02.613503: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: INFO: dataflow: 12. flow_count=1&lt;br/&gt;
2016-01-14 23:31:02.613557: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: inside sessOutDataflow fn with getres_pos as 13&lt;br/&gt;
2016-01-14 23:31:02.613776: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 13. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_CMN: valid: 111111111111111111001 &amp;#93;&lt;/span&gt;&lt;br/&gt;
 controller_name: odc&lt;br/&gt;
 controller_type: 5&lt;br/&gt;
 flow_id: 14&lt;br/&gt;
 created_time: 2147483647&lt;br/&gt;
 idle_timeout: 300&lt;br/&gt;
 hard_timeout:0&lt;br/&gt;
 ingress_vnode: vBridge1&lt;br/&gt;
 ingress_vinterface: if2&lt;br/&gt;
 ingress_switch_id: openflow:2&lt;br/&gt;
 ingress_port_id: s2-eth1&lt;br/&gt;
 ingress_logical_port_id: PP-openflow2-s2-eth1&lt;br/&gt;
 ingress_domain: (DEFAULT)&lt;br/&gt;
 egress_vnode: vBridge1&lt;br/&gt;
 egress_vinterface: if1&lt;br/&gt;
 egress_switch_id: openflow:3&lt;br/&gt;
 egress_port_id: s3-eth1&lt;br/&gt;
 egress_logical_port_id: PP-openflow3-s3-eth1&lt;br/&gt;
 egress_domain: (DEFAULT)&lt;br/&gt;
 match_count: 2&lt;br/&gt;
 action_count: 0&lt;br/&gt;
 path_info_count: 1&lt;/p&gt;


&lt;p&gt;2016-01-14 23:31:02.613823: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 14. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_MATCH: match_type: 1 &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613856: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 15. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_MATCH_DL_ADDR: dl_addr: 4690.da0b.3a29, v_mask: 0, dl_addr_mask: 0000.0000.0000 &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613868: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 16. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_MATCH: match_type: 2 &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613878: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 17. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_MATCH_DL_ADDR: dl_addr: 6e9e.c20d.b568, v_mask: 0, dl_addr_mask: 0000.0000.0000 &amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613886: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: inside sessOutDataflow fn sending actions after match struct sessout.&lt;br/&gt;
2016-01-14 23:31:02.613903: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: 18. &lt;span class=&quot;error&quot;&gt;&amp;#91;VAL_FLOW_PATH_INFO:  valid: 111111 &amp;#93;&lt;/span&gt;&lt;br/&gt;
 in_vnode: vBridge1&lt;br/&gt;
 in_vif: if2&lt;br/&gt;
 out_vnode: vBridge1&lt;br/&gt;
 out_vif: if1&lt;br/&gt;
 vlink_flag: 1&lt;br/&gt;
 status: 0&lt;/p&gt;

&lt;p&gt;2016-01-14 23:31:02.613914: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: Return value 0&lt;br/&gt;
2016-01-14 23:31:02.613922: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: DataflowCmn -Destructor call&lt;br/&gt;
2016-01-14 23:31:02.613935: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: DataflowCmn - Destructor call end&lt;br/&gt;
2016-01-14 23:31:02.613943: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: sessOutDataflowsFromDriver befor df_segment delete&lt;br/&gt;
2016-01-14 23:31:02.613948: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: DataflowDetail -Destructor call&lt;br/&gt;
2016-01-14 23:31:02.613954: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: out_matches map entry is deleted&lt;br/&gt;
2016-01-14 23:31:02.613958: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: out_matches map entry is deleted&lt;br/&gt;
2016-01-14 23:31:02.613964: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: TRACE: dataflow: vtn_path_infos vector entry is deleted&lt;br/&gt;
2016-01-14 23:31:02.613972: &lt;span class=&quot;error&quot;&gt;&amp;#91;26799&amp;#93;&lt;/span&gt;: DEBUG: dataflow: ~DataflowUtil ctrlr_dom_count_map.size=0 firstCtrlrFlows.size=0 pfc_flows.size=0&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26478">VTN-98</key>
            <summary>VTN Dataflows GET operation error</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="yogalakshmi.pa@hcl.com">YOGA LAKSHMI SWETHA PAYYAVULA</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jan 2016 14:08:49 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:11 +0000</updated>
                            <resolved>Wed, 10 Feb 2016 07:02:48 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="53026" author="yogalakshmi.pa@hcl.com" created="Wed, 3 Feb 2016 09:19:21 +0000"  >&lt;p&gt;Fixed the bug in the below patch for stable/beryllium:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33619&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33619&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53027" author="yogalakshmi.pa@hcl.com" created="Wed, 10 Feb 2016 04:32:11 +0000"  >&lt;p&gt;Vtn_dataflows Response after resolving the bug:&lt;/p&gt;

&lt;p&gt;{&quot;dataflows&quot;:[{&quot;reason&quot;:&quot;success&quot;,&quot;controller_domain_dataflows&quot;:[{&quot;egress_domain_id&quot;:&quot;(DEFAULT)&quot;,&quot;egress_if_name&quot;:&quot;if1&quot;,&quot;ingress_domain_id&quot;:&quot;(DEFAULT)&quot;,&quot;pathinfos&quot;:[&lt;/p&gt;
{&quot;in_if_name&quot;:&quot;if2&quot;,&quot;in_vnode_name&quot;:&quot;vBridge1&quot;,&quot;out_vnode_name&quot;:&quot;vBridge1&quot;,&quot;status&quot;:&quot;normal&quot;,&quot;vlink_flag&quot;:&quot;not_exists&quot;,&quot;out_if_name&quot;:&quot;if1&quot;}
&lt;p&gt;,&lt;/p&gt;
{&quot;in_if_name&quot;:&quot;if2&quot;,&quot;in_vnode_name&quot;:&quot;vBridge1&quot;,&quot;out_vnode_name&quot;:&quot;vBridge1&quot;,&quot;status&quot;:&quot;normal&quot;,&quot;vlink_flag&quot;:&quot;exists&quot;,&quot;out_if_name&quot;:&quot;if1&quot;}
&lt;p&gt;],&quot;idletimeout&quot;:&quot;300&quot;,&quot;egress_port_name&quot;:&quot;s3-eth1&quot;,&quot;ingress_port_name&quot;:&quot;s2-eth1&quot;,&quot;controller_id&quot;:&quot;odc&quot;,&quot;flow_id&quot;:&quot;24&quot;,&quot;ingress_switch_id&quot;:&quot;openflow:2&quot;,&quot;createdtime&quot;:&quot;2147483647&quot;,&quot;match&quot;:&lt;/p&gt;
{&quot;macsrcaddr&quot;:[&quot;ca3d.6726.a1bc&quot;],&quot;macdstaddr&quot;:[&quot;8ee0.a24d.3689&quot;]}
&lt;p&gt;,&quot;egress_logical_port_id&quot;:&quot;PP-openflow:3-s3-eth1&quot;,&quot;controller_type&quot;:&quot;odc&quot;,&quot;ingress_logical_port_id&quot;:&quot;PP-openflow:2-s2-eth1&quot;,&quot;egress_vnode_name&quot;:&quot;vBridge1&quot;,&quot;ingress_vnode_name&quot;:&quot;vBridge1&quot;,&quot;egress_switch_id&quot;:&quot;openflow:3&quot;,&quot;ingress_if_name&quot;:&quot;if2&quot;,&quot;hardtimeout&quot;:&quot;0&quot;}]}]}&lt;span class=&quot;error&quot;&gt;&amp;#91;root@u12 odcdriver&amp;#93;&lt;/span&gt;#&lt;/p&gt;


&lt;p&gt;This Patch is merged in the Master in the below given link:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34223/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34223/&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>4965</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=4965]]></customfieldvalue>

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

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