<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:12 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>[NETVIRT-681] SFC Classifier tables not created when client, server and SF are in one OVS</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-681</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;I am using RC1 of Carbon. When running the topology of all VMs created in the same compute, rsp is created correctly. However, after configuring the classifier, the classification flows are not created and I can see the following in the karaf.log:&lt;/p&gt;


&lt;p&gt;2017-05-17 15:13:14,445 | DEBUG | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getDpnIdFromInterfaceName: starting (logical interface=ba798066-6cce-487d-9a28-98b2fa51edbb)&lt;br/&gt;
2017-05-17 15:13:14,446 | DEBUG | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getDpnIdFromInterfaceName: invoking rpc&lt;br/&gt;
2017-05-17 15:13:14,447 | DEBUG | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getDpnIdFromInterfaceName(GetDpidFromInterfaceInput [_intfName=ba798066-6cce-487d-9a28-98b2fa51edbb, augmentation=[]]) succeeded: RpcResult [successful=true, result=GetDpidFromInterfaceOutput [_dpid=176700523859095, augmentation=[]], errors=[]]&lt;br/&gt;
2017-05-17 15:13:14,448 | DEBUG | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getIpFromDpnId: invoking rpc&lt;br/&gt;
2017-05-17 15:13:14,449 | ERROR | ssifierService-0 | InterfaceManagerRpcService       | 344 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.Carbon | Retrieval of endpoint of for dpn 176700523859095 failed due to java.lang.NullPointerException&lt;br/&gt;
2017-05-17 15:13:14,449 | ERROR | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getIpFromDpnId(GetEndpointIpForDpnInput [_dpid=176700523859095, augmentation=[]]) failed: RpcResult [successful=false, result=null, errors=[]]&lt;br/&gt;
2017-05-17 15:13:14,449 | WARN  | ssifierService-0 | GeniusProvider                   | 389 - org.opendaylight.netvirt.sfc.classifier-impl - 0.4.0.Carbon | getIpFromInterfaceName empty ipList for interfaceName &lt;span class=&quot;error&quot;&gt;&amp;#91;ba798066-6cce-487d-9a28-98b2fa51edbb&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20602">NETVIRT-681</key>
            <summary>SFC Classifier tables not created when client, server and SF are in one OVS</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="mbuil@suse.com">Manuel Buil</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 May 2017 13:17:00 +0000</created>
                <updated>Fri, 6 Apr 2018 00:15:08 +0000</updated>
                            <resolved>Fri, 6 Apr 2018 00:15:08 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="37833" author="mbuil@suse.com" created="Mon, 22 May 2017 12:40:13 +0000"  >&lt;p&gt;Appanretly the problem is that when all nodes are contained in one, there is no need for vxlan interfaces and thus these are not created. This is the output of ovs-vsctl show:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;vagrant@localhost sfc&amp;#93;&lt;/span&gt;$ docker exec b74f1d561e89 ovs-vsctl show&lt;br/&gt;
76dfddff-4696-42ab-8c98-3d1218dab1ff&lt;br/&gt;
    Manager &quot;tcp:172.28.128.1:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:172.28.128.1:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port &quot;tap6c388d42-60&quot;&lt;br/&gt;
            Interface &quot;tap6c388d42-60&quot;&lt;br/&gt;
        Port &quot;tap35c4edbb-00&quot;&lt;br/&gt;
            Interface &quot;tap35c4edbb-00&quot;&lt;br/&gt;
        Port &quot;tap6b01dab3-cd&quot;&lt;br/&gt;
            Interface &quot;tap6b01dab3-cd&quot;&lt;br/&gt;
        Port br-int&lt;br/&gt;
            Interface br-int&lt;br/&gt;
                type: internal&lt;br/&gt;
    ovs_version: &quot;2.6.1&quot;&lt;/p&gt;

&lt;p&gt;However, the ConfigurationClassifierImpl.getEntries method requests the destinationIp which does not exist:&lt;/p&gt;

&lt;p&gt;String destinationIp = sfcProvider.getFirstHopSfInterfaceFromRsp(rsp)&lt;br/&gt;
           .flatMap(geniusProvider::getIpFromInterfaceName)&lt;br/&gt;
           .orElse(null);&lt;/p&gt;

&lt;p&gt;Which ends up calling GeniusProvider.getIpFromDpnID method which returns null in this call:&lt;/p&gt;

&lt;p&gt;RpcResult&amp;lt;GetEndpointIpForDpnOutput&amp;gt; output = interfaceManagerRpcService.getEndpointIpForDpn(input).get();&lt;/p&gt;

&lt;p&gt;Because, as said before, the detination IP does not exist.&lt;/p&gt;

&lt;p&gt;We should handle this by having another design of the pipelien because right now the destination IP is a required parameter&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>8489</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=8489]]></customfieldvalue>

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

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