<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 06:01:24 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>Akraino JIRA</title>
    <link>https://jira.akraino.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.5</version>
        <build-number>940005</build-number>
        <build-date>11-04-2023</build-date>
    </build-info>


<item>
            <title>[ICN-614] Network config cannot be renamed when deploying ovn4nfv as a secondary CNI with Multus</title>
                <link>https://jira.akraino.org/browse/ICN-614</link>
                <project id="10400" key="ICN">Integrated Cloud Native NFV</project>
                    <description>&lt;p&gt;The ovn4nfv is deployed as a secondary CNI along with multus.&#160; The steps used&#160; and the issue observed are as follows,&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Deploy the flannel as primary CNI in the k8s cluster.&lt;/li&gt;
	&lt;li&gt;Deploy the multus CNI.&#160; After this the CNI files installed in the host are as below,&#160; &#160; &#160; &#160; &#160; &#160; &#160;$ ls /etc/cni/net.d/&lt;br/&gt;
&lt;b&gt;00-multus.conf 10-flannel.conflist multus.d&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;Deploy the ovn4nfv CNI. Now the folder &quot;/etc/cni/net.d/&quot; has the following files,folders&lt;br/&gt;
&lt;b&gt;00-multus.conf 00-network.conf 10-flannel.conflist multus.d ovn4nfv-k8s.d&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;$ sudo cat /etc/cni/net.d/00-multus.conf&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
	&lt;li&gt;{ &quot;cniVersion&quot;: &quot;0.3.1&quot;, &quot;name&quot;: &quot;multus-cni-network&quot;, &quot;type&quot;: &quot;multus&quot;, &quot;kubeconfig&quot;: &quot;/etc/cni/net.d/multus.d/multus.kubeconfig&quot;, &quot;delegates&quot;: [ { &quot;name&quot;: &quot;ovn4nfv-k8s-plugin&quot;, &quot;type&quot;: &quot;ovn4nfvk8s-cni&quot;, &quot;cniVersion&quot;: &quot;0.3.1&quot; }&lt;br/&gt;
] }*&lt;/li&gt;
&lt;/ul&gt;


&lt;ol&gt;
	&lt;li&gt;$ sudo cat /etc/cni/net.d/00-network.conf&lt;br/&gt;
&lt;b&gt;{&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;&quot;name&quot;: &quot;ovn4nfv-k8s-plugin&quot;,&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;&quot;type&quot;: &quot;ovn4nfvk8s-cni&quot;,&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;&quot;cniVersion&quot;: &quot;0.3.1&quot;&lt;/b&gt;&lt;br/&gt;
&lt;b&gt;}&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;The ovn4nfv network conf is installed (alphabetically) before the flannel network configuration and the multus has the configuration of ovn4nfv (instead of flannel).&lt;/p&gt;

&lt;p&gt;Due to this issue, the new pods are assigned the IP address from the ovn4nfv subnet as below,&lt;/p&gt;

&lt;p&gt;$ kubectl get pods -A -o wide&lt;br/&gt;
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES&lt;br/&gt;
&lt;b&gt;default busy-deployment-5bc54b854c-h8jns 1/1 Running 0 4s 10.158.142.6 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;/b&gt;&lt;br/&gt;
kube-system coredns-558bd4d5db-4ltb8 1/1 Running 0 8m29s 10.244.0.3 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system coredns-558bd4d5db-c4tsd 1/1 Running 0 8m29s 10.244.0.2 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system etcd-kube-two 1/1 Running 0 8m45s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-apiserver-kube-two 1/1 Running 0 8m45s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-controller-manager-kube-two 1/1 Running 0 8m45s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-flannel-ds-l7gfn 1/1 Running 0 5m26s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-flannel-ds-s9nsm 1/1 Running 0 8m29s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-multus-ds-5gqk7 1/1 Running 0 8m29s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-multus-ds-894r5 1/1 Running 0 5m25s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-proxy-bdvtb 1/1 Running 0 5m26s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-proxy-cvp8b 1/1 Running 0 8m29s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system kube-scheduler-kube-two 1/1 Running 0 8m45s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system nfn-agent-9grcw 1/1 Running 0 7m48s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system nfn-agent-kwmd5 1/1 Running 0 5m25s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system nfn-operator-6cf6bf57c6-6cks4 1/1 Running 0 7m49s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system ovn-control-plane-846b975c8-z4gpw 1/1 Running 0 8m9s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system ovn-controller-h8c96 1/1 Running 0 5m25s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system ovn-controller-md2hh 1/1 Running 0 8m9s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system ovn4nfv-cni-fxptw 1/1 Running 0 7m48s 192.168.20.52 kube-two &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;br/&gt;
kube-system ovn4nfv-cni-x7qcl 1/1 Running 0 5m25s 192.168.20.53 kube-three &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The issue seems to be with the &quot;entrypoint&quot; file where the filename for the network.conf is fixed to 00-network.conf&lt;/p&gt;

&lt;p&gt;&lt;b&gt;OVN4NFV_NET_CONF_FILE=&quot;/tmp/ovn4nfv-cni/00-network.conf&quot;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;CNI_CONF_DIR=&quot;/host/etc/cni/net.d&quot;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;cp -f $OVN4NFV_NET_CONF_FILE $CNI_CONF_DIR&lt;/b&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Kubernetes v1.21.0&lt;/p&gt;</environment>
        <key id="11907">ICN-614</key>
            <summary>Network config cannot be renamed when deploying ovn4nfv as a secondary CNI with Multus</summary>
                <type id="10004" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.akraino.org/images/icons/priorities/high.svg">High</priority>
                        <status id="3" iconUrl="https://jira.akraino.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="r.kuralamudhan">Kuralamudhan Ramakrishnan</assignee>
                                    <reporter username="palaniap">Palaniappan Ram</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Oct 2021 13:49:48 +0000</created>
                <updated>Thu, 28 Oct 2021 16:24:40 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="11704" author="JIRAUSER11411" created="Thu, 28 Oct 2021 16:24:40 +0000"  >&lt;p&gt;I have tested the fix and the nodus as the secondary CNI works fine. But the network config file is always created with the name &quot;20-network.conf&quot;. It is preferred if this file name is configurable from the deployment yaml files.&lt;/p&gt;</comment>
                            <comment id="11703" author="JIRAUSER11411" created="Wed, 20 Oct 2021 01:21:37 +0000"  >&lt;p&gt;I will test this fix and update.&lt;/p&gt;</comment>
                            <comment id="11702" author="r.kuralamudhan" created="Tue, 19 Oct 2021 23:10:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=palaniap&quot; class=&quot;user-hover&quot; rel=&quot;palaniap&quot;&gt;palaniap&lt;/a&gt;&#160;Updated the fix in the master. Please use the nodus yaml file here -&#160;&lt;a href=&quot;https://github.com/akraino-edge-stack/icn-nodus/blob/master/deploy/ovn4nfv-k8s-plugin.yaml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/akraino-edge-stack/icn-nodus/blob/master/deploy/ovn4nfv-k8s-plugin.yaml&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11701" author="r.kuralamudhan" created="Tue, 19 Oct 2021 16:02:54 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=palaniap&quot; class=&quot;user-hover&quot; rel=&quot;palaniap&quot;&gt;palaniap&lt;/a&gt;&#160;. I will provide the fix by creating a config map variable, where user can specify the name of the file to customize with their deployment.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10105" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i005mc:</customfieldvalue>

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