<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:25 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>[OVSDB-445] Port creation doesn&apos;t reflect in operational</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-445</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;When a port is deleted and recreated in same command, it doesn&apos;t reflect in operational. If it was present earlier, it ends up getting deleted. Openstack&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;Nova&amp;#93;&lt;/span&gt; from Newton onwards unplugs/plugs all VM ports when nova compute is restarted. This results in a call something like this:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;ovs-vsctl --timeout=120 &amp;#8211; --if-exists del-port vhu97ed12fa-9d &amp;#8211; add-port br-int vhu97ed12fa-9d &amp;#8211; set Interface vhu97ed12fa-9d external-ids:iface-id=97ed12fa-9d4b-41e3-847e-62307cd964f1 external-ids:iface-status=active external-ids:attached-mac=fa:16:3e:ea:2f:7d external-ids:vm-uuid=c5ea17fa-2e52-442f-a112-4a062ba76377 type=dpdkvhostuser&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;This results in port getting deleted and added in same JSON msg from OVS to ODL. In OvsdbTransactCommandAggregator for all resources we process add/udpates and then deletes. This means delete is processed after add and we end up deleting it.&lt;/p&gt;

&lt;p&gt;This will happen any time a command similar to above is used.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;tt&gt;Create a port on OVS -&#160;sudo ovs-vsctl add-port br-int test1&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Check operational DS to make sure port is present&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;Delete and add in same command:&#160;&#160;sudo ovs-vsctl --if-exists del-port br-int test1 &amp;#8211; add-port br-int test1&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Check operational DS, port will be no longer present.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29030">OVSDB-445</key>
            <summary>Port creation doesn&apos;t reflect in operational</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="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="thapar">Vishal Thapar</assignee>
                                    <reporter username="thapar">Vishal Thapar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Jan 2018 04:32:30 +0000</created>
                <updated>Wed, 21 Mar 2018 16:56:57 +0000</updated>
                            <resolved>Wed, 21 Mar 2018 16:56:52 +0000</resolved>
                                                    <fixVersion>Oxygen</fixVersion>
                                    <component>Southbound.Open_vSwitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                    <workratio workratioPercent="0"/>
                                    <progress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="100" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="57600">2 days</timeoriginalestimate>
                            <timeestimate seconds="57600">2 days</timeestimate>
                                        <comments>
                            <comment id="60594" author="thapar" created="Thu, 4 Jan 2018 14:33:12 +0000"  >&lt;p&gt;Fix:&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/66862&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/66862&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0398v:</customfieldvalue>

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