<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:17 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-164] VTN Coordinator Flowlistentry Creation fails for &quot;port-from&quot; and &quot;port-to&quot;</title>
                <link>https://jira.opendaylight.org/browse/VTN-164</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;Flowlistentry creation is failing for &quot;port-from&quot; and &quot;port-to&quot; in VTN Coordinator &lt;/p&gt;

&lt;p&gt;Steps to reproduce the bug:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&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;odc1&quot;, &quot;ipaddr&quot;:&quot;127.0.0.1&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&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&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&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;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&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;controllerone&quot;,&quot;domain_id&quot;:&quot;(DEFAULT)&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;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --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;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --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_desc2&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;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&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:72621089949254-veth1_ovs&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/portmap&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&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&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:72621089949254-veth1_ovs&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if2/portmap&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&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;flowlist&quot;: {&quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;ip_version&quot;:&quot;IP&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists.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/flowlists.json&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -X POST -d &apos;{&quot;flowlistentry&quot;: {&quot;seqnum&quot;:&quot;1&quot;,&quot;ipproto&quot;:&quot;6&quot;,&quot;l4dstport&quot;:&quot;5&quot;,&quot;l4dstendport&quot;:&quot;8&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.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/flowlists/flowlist1/flowlistentries.json&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -d &apos;{&quot;flowfilter&quot; : {&quot;ff_type&quot;: &quot;in&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/flowfilters.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/flowfilters.json&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -d &apos;{&quot;flowfilterentry&quot;: {&quot;seqnum&quot;: &quot;1&quot;, &quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;action_type&quot;:&quot;pass&quot;,&quot;priority&quot;:&quot;1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/flowfilters/in/flowfilterentries.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/flowfilters/in/flowfilterentries.json&lt;/a&gt;&lt;br/&gt;
{&quot;error&quot;:
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {&amp;quot;err_msg&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Coordinator logs:&lt;/p&gt;

&lt;p&gt;2017-09-18 16:18:33.734537: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: User name and password is taken from conf file&lt;br/&gt;
2017-09-18 16:18:33.734573: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: &lt;a href=&quot;http://10.106.138.150:8181/restconf/operations/vtn-flow-condition:set-flow-condition-match&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.150:8181/restconf/operations/vtn-flow-condition:set-flow-condition-match&lt;/a&gt; Url formed &lt;br/&gt;
2017-09-18 16:18:33.734580: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: HTTP_METHOD_POST&lt;br/&gt;
2017-09-18 16:18:33.734587: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Request Body  : { &quot;input&quot;: { &quot;name&quot;: &quot;flowlist1&quot;, &quot;flow-match-list&quot;: [ { &quot;index&quot;: 1, &quot;tcp-destination-range&quot;: &lt;/p&gt;
{ &quot;port_from&quot;: &quot;\u0005&quot;, &quot;port_to&quot;: &quot;\b&quot; }
&lt;p&gt; } ] } }&lt;br/&gt;
2017-09-18 16:18:33.734591: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: INFO: restjsonutil: requestbody : { &quot;input&quot;: { &quot;name&quot;: &quot;flowlist1&quot;, &quot;flow-match-list&quot;: [ { &quot;index&quot;: 1, &quot;tcp-destination-range&quot;: &lt;/p&gt;
{ &quot;port_from&quot;: &quot;\u0005&quot;, &quot;port_to&quot;: &quot;\b&quot; }
&lt;p&gt; } ] } }&lt;br/&gt;
2017-09-18 16:18:33.799612: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Allocates Memory ............&lt;br/&gt;
2017-09-18 16:18:33.799667: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: ERROR: odcdriver: post is not success , resp_code 400&lt;br/&gt;
2017-09-18 16:18:33.799756: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: ERROR: odcdriver: Flowlistentry Create Failed&lt;br/&gt;
2017-09-18 16:18:33.799766: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: deleted config_cmd_ptr&lt;br/&gt;
2017-09-18 16:18:33.799773: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: 6,execute_cmd not success&lt;br/&gt;
2017-09-18 16:18:33.799787: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: tclib: TcLibWriteControllerInfo 450 Write controller info involved for controller_id controllerone&lt;br/&gt;
2017-09-18 16:18:33.799812: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: INFO: tclib: TcLibWriteKeyValueDataInfo 683 write data succcess keytype 6 ctrlid controllerone&lt;br/&gt;
2017-09-18 16:18:33.799819: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: ERROR: vtndrvintf: VOTE Failure in driver, ret 1&lt;br/&gt;
2017-09-18 16:18:33.799822: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: Exiting HandleCommitVoteRequest&lt;br/&gt;
2017-09-18 16:18:33.799826: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: ~ControllerFwUtil--oper_type:4&lt;br/&gt;
2017-09-18 16:18:33.799830: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: Write completed set write_in_progress_ FALSE&lt;br/&gt;
2017-09-18 16:18:33.799836: &lt;span class=&quot;error&quot;&gt;&amp;#91;14119&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: write count:0&lt;/p&gt;

&lt;p&gt;Flowlistentry Creation failed with ERROR: odcdriver: post is not success , resp_code 400&lt;/p&gt;

&lt;p&gt;so the next step gave an internal server error&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -d &apos;{&quot;flowfilterentry&quot;: {&quot;seqnum&quot;: &quot;1&quot;, &quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;action_type&quot;:&quot;pass&quot;,&quot;priority&quot;:&quot;1&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/flowfilters/in/flowfilterentries.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/flowfilters/in/flowfilterentries.json&lt;/a&gt;&lt;br/&gt;
{&quot;error&quot;:
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {&amp;quot;err_msg&amp;quot;}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26544">VTN-164</key>
            <summary>VTN Coordinator Flowlistentry Creation fails for &quot;port-from&quot; and &quot;port-to&quot;</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="ananth.y">Y Ananth</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Sep 2017 12:13:32 +0000</created>
                <updated>Mon, 30 Oct 2017 15:21:32 +0000</updated>
                            <resolved>Mon, 25 Sep 2017 11:41:44 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="53189" author="ananth.y" created="Mon, 25 Sep 2017 11:41:44 +0000"  >&lt;p&gt;PFB the patch for this bug in:&lt;/p&gt;

&lt;p&gt;stable/carbon&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63457/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63457/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;stable/nitrogen&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/63476/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/63476/&lt;/a&gt;&lt;/p&gt;

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

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

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