<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:03 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-107] VTN portmap creation failed with vlan-id</title>
                <link>https://jira.opendaylight.org/browse/VTN-107</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;When i configure portmapping with vlan-id under vbridge interface, creation throws error &lt;span class=&quot;error&quot;&gt;&amp;#91;500 &amp;#39;internal server error&amp;#39;&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;Steps followed:&lt;br/&gt;
1) Create VTN, VBR&lt;br/&gt;
2) Create VBRIF&lt;br/&gt;
3) Failed - Create PORTMAP with vlan-id as below&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtnone/vbridges/vbrone/interfaces/vbrifone/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/vtnone/vbridges/vbrone/interfaces/vbrifone/portmap.json&lt;/a&gt; {&quot;portmap&quot;: {&quot;logical_port_id&quot;: &quot;PP-openflow:3-s3-eth1&quot;, &quot;tagged&quot;: &quot;true&quot;, &quot;vlan_id&quot;: &quot;1&quot;}}&lt;/p&gt;

&lt;p&gt;Portmap creation failed. Throws 500 internal error.&lt;/p&gt;


&lt;p&gt;Please find logs below,&lt;/p&gt;

&lt;p&gt;2016-02-03 00:03:05.959280: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: 25,keytype&lt;br/&gt;
    2016-02-03 00:03:05.959288: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: UNC_KT_VBRIF key type received&lt;br/&gt;
    2016-02-03 00:03:05.959295: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: keytype:25, config_operation:3&lt;br/&gt;
    2016-02-03 00:03:05.959301: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: execute_cmd: Translate Update Command string&lt;br/&gt;
    2016-02-03 00:03:05.959311: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: INFO: odcdriver: vbr des : first vbrif for vbrone&lt;br/&gt;
    2016-02-03 00:03:05.959317: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: settting vbrif admi_status default value as true&lt;br/&gt;
    2016-02-03 00:03:05.959350: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: User name and password is taken from controller pointer&lt;br/&gt;
    2016-02-03 00:03:05.959377: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: &lt;a href=&quot;http://10.106.138.124:8181/restconf/operations/vtn-vinterface:update-vinterface&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.124:8181/restconf/operations/vtn-vinterface:update-vinterface&lt;/a&gt; Url formed&lt;br/&gt;
    2016-02-03 00:03:05.959386: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: HTTP_METHOD_POST&lt;br/&gt;
    2016-02-03 00:03:05.959396: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Request Body  : { &quot;input&quot;: &lt;/p&gt;
{ &quot;update-mode&quot;: &quot;UPDATE&quot;, &quot;operation&quot;: &quot;ADD&quot;, &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge    -name&quot;: &quot;vbrone&quot;, &quot;description&quot;: &quot;first vbrif for vbrone&quot;, &quot;enabled&quot;: true, &quot;interface-name&quot;: &quot;vbrifone&quot; }
&lt;p&gt; }&lt;br/&gt;
    2016-02-03 00:03:05.959403: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: INFO: restjsonutil: requestbody : { &quot;input&quot;: &lt;/p&gt;
{ &quot;update-mode&quot;: &quot;UPDATE&quot;, &quot;operation&quot;: &quot;ADD&quot;, &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge-na    me&quot;: &quot;vbrone&quot;, &quot;description&quot;: &quot;first vbrif for vbrone&quot;, &quot;enabled&quot;: true, &quot;interface-name&quot;: &quot;vbrifone&quot; }
&lt;p&gt; }&lt;br/&gt;
    2016-02-03 00:03:05.971098: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Allocates Memory ............&lt;br/&gt;
    2016-02-03 00:03:05.971138: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Reallocate Memory...............&lt;br/&gt;
    2016-02-03 00:03:05.971716: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: logical port received : PP-openflow:3-s3-eth1&lt;br/&gt;
    2016-02-03 00:03:05.971733: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: INFO: odcdriver: switch_base:openflow&lt;br/&gt;
    2016-02-03 00:03:05.971740: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: Switch id in port map openflow:3&lt;br/&gt;
    2016-02-03 00:03:05.971746: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: Valid logical_port id&lt;br/&gt;
    2016-02-03 00:03:05.971755: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: VALUE RECEIVED for LOGICAL PORT 1&lt;br/&gt;
    2016-02-03 00:03:05.971762: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: logical_port_id is PP-openflow:3-s3-eth1&lt;br/&gt;
    2016-02-03 00:03:05.971780: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: port name : s3-eth1&lt;br/&gt;
    2016-02-03 00:03:05.971787: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: odcdriver: switch id : openflow:3&lt;br/&gt;
    2016-02-03 00:03:05.971814: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: User name and password is taken from controller pointer&lt;br/&gt;
    2016-02-03 00:03:05.971836: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: &lt;a href=&quot;http://10.106.138.124:8181/restconf/operations/vtn-port-map:set-port-map&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.124:8181/restconf/operations/vtn-port-map:set-port-map&lt;/a&gt; Url formed&lt;br/&gt;
    2016-02-03 00:03:05.971845: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: HTTP_METHOD_POST&lt;br/&gt;
    2016-02-03 00:03:05.971853: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Request Body  : { &quot;input&quot;: &lt;/p&gt;
{ &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge-name&quot;: &quot;vbrone&quot;, &quot;interface-name&quot;: &quot;vbrifone    &quot;, &quot;node&quot;: &quot;openflow:3&quot;, &quot;port-name&quot;: &quot;s3-eth1&quot;, &quot;vlan&quot;: 1 }
&lt;p&gt; }&lt;br/&gt;
    2016-02-03 00:03:05.971860: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: INFO: restjsonutil: requestbody : { &quot;input&quot;: &lt;/p&gt;
{ &quot;tenant-name&quot;: &quot;vtnone&quot;, &quot;bridge-name&quot;: &quot;vbrone&quot;, &quot;interface-name&quot;: &quot;vbrifone&quot;,     &quot;node&quot;: &quot;openflow:3&quot;, &quot;port-name&quot;: &quot;s3-eth1&quot;, &quot;vlan&quot;: 1 }
&lt;p&gt; }&lt;br/&gt;
    2016-02-03 00:03:05.983076: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Allocates Memory ............&lt;br/&gt;
    2016-02-03 00:03:05.983822: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: restjsonutil: Reallocate Memory...............&lt;br/&gt;
    2016-02-03 00:03:05.983878: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: ERROR: odcdriver: put is not success , resp_code 400&lt;br/&gt;
    2016-02-03 00:03:05.983959: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: ERROR: odcdriver: Vbr_if_portmap Update Failed&lt;br/&gt;
    2016-02-03 00:03:05.984047: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: deleted config_cmd_ptr&lt;br/&gt;
    2016-02-03 00:03:05.984060: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: 25,execute_cmd not success&lt;br/&gt;
    2016-02-03 00:03:05.984074: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: tclib: TcLibWriteControllerInfo 450 Write controller info involved for controller_id controller1&lt;br/&gt;
    2016-02-03 00:03:05.984094: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: INFO: tclib: TcLibWriteKeyValueDataInfo 683 write data succcess keytype 25 ctrlid controller1&lt;br/&gt;
    2016-02-03 00:03:05.984103: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: ERROR: vtndrvintf: VOTE Failure in driver, ret 1&lt;br/&gt;
    2016-02-03 00:03:05.984109: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: Exiting HandleCommitVoteRequest&lt;br/&gt;
    2016-02-03 00:03:05.984131: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: ~ControllerFwUtil--oper_type:4&lt;br/&gt;
    2016-02-03 00:03:05.984138: &lt;span class=&quot;error&quot;&gt;&amp;#91;16215&amp;#93;&lt;/span&gt;: DEBUG: vtndrvintf: Write completed set write_in_progress_ FALSE&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26487">VTN-107</key>
            <summary>VTN portmap creation failed with vlan-id</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="yogalakshmi.pa@hcl.com">YOGA LAKSHMI SWETHA PAYYAVULA</assignee>
                                    <reporter username="siva-karthik@hcl.com">Karthik Sivasamy</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Feb 2016 13:30:13 +0000</created>
                <updated>Wed, 10 Feb 2016 06:52:37 +0000</updated>
                            <resolved>Wed, 10 Feb 2016 06:52:37 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="53045" author="siva-karthik@hcl.com" created="Mon, 8 Feb 2016 09:21:20 +0000"  >&lt;p&gt;&lt;br/&gt;
Fix is not yet merged to Master, it is only merged in stable/beryllium. When it is merged into master branch, will verify and close the Bug.&lt;/p&gt;</comment>
                            <comment id="53046" author="yogalakshmi.pa@hcl.com" created="Wed, 10 Feb 2016 06:49:25 +0000"  >&lt;p&gt;The Response for Portmapping with vlan-id is:&lt;/p&gt;

&lt;p&gt; curl -v -X POST -H &apos;content-type: application/json&apos; -H &apos;username: admin&apos; -H &apos;password: adminpass&apos; -d &apos;{&quot;portmap&quot;: {&quot;logical_port_id&quot;: &quot;PP-openflow:3-s3-eth1&quot;, &quot;tagged&quot;: &quot;true&quot;, &quot;vlan_id&quot;: &quot;1&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;ul&gt;
	&lt;li&gt;About to connect() to 127.0.0.1 port 8083 (#0)&lt;/li&gt;
	&lt;li&gt;Trying 127.0.0.1... connected&lt;/li&gt;
	&lt;li&gt;Connected to 127.0.0.1 (127.0.0.1) port 8083 (#0)&lt;br/&gt;
&amp;gt; POST /vtn-webapi/vtns/vtn1/vbridges/vBridge1/interfaces/if1/portmap.json HTTP/1.1&lt;br/&gt;
&amp;gt; Authorization: Basic YWRtaW46YWRtaW5wYXNz&lt;br/&gt;
&amp;gt; User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.15.3 zlib/1.2.3 libidn/1.18 libssh2/1.4.2&lt;br/&gt;
&amp;gt; Host: 127.0.0.1:8083&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt; content-type: application/json&lt;br/&gt;
&amp;gt; Content-Length: 57&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;lt; HTTP/1.1 201 Created&lt;br/&gt;
&amp;lt; Server: Apache-Coyote/1.1&lt;br/&gt;
&amp;lt; Content-Type: application/json;charset=UTF-8&lt;br/&gt;
&amp;lt; Content-Length: 0&lt;br/&gt;
&amp;lt; Date: Wed, 10 Feb 2016 09:55:56 GMT&lt;br/&gt;
&amp;lt;&lt;/li&gt;
	&lt;li&gt;Connection #0 to host 127.0.0.1 left intact&lt;/li&gt;
	&lt;li&gt;Closing connection #0&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="53047" author="yogalakshmi.pa@hcl.com" created="Wed, 10 Feb 2016 06:52:37 +0000"  >&lt;p&gt;PFB the link for this patch in stable/beryllium:&lt;/p&gt;

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

&lt;p&gt;In the Master branch:&lt;/p&gt;

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

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

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