<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:33 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-819] An instance doesn&apos;t get an IP after deployment</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-819</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Description of problem&lt;br/&gt;
=======================&lt;br/&gt;
After deployment when launching an instance - it doesn&apos;t get an IP.&lt;br/&gt;
When launching a second instance on the same node - it gets and IP.&lt;br/&gt;
Then when rebooting the first one - it gets an IP&lt;/p&gt;

&lt;p&gt;Version&lt;br/&gt;
=======&lt;br/&gt;
opendaylight-6.1.0-2.el7ost.noarch&lt;/p&gt;

&lt;p&gt;Steps to Reproduce&lt;br/&gt;
=====================&lt;br/&gt;
1.Deploy an overcloud&lt;br/&gt;
2.Launch an instance.&lt;br/&gt;
3.Open The proper security group rules&lt;br/&gt;
4.Verify that it doesn&apos;t get an IP (can be pinged from the DHCP name space).&lt;br/&gt;
5.Launch an instance on the same node as the first one and make sure it gets an IP.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20740">NETVIRT-819</key>
            <summary>An instance doesn&apos;t get an IP after deployment</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="SridharG">Sridhar Gaddam</assignee>
                                    <reporter username="itzikb">Itzik Brown</reporter>
                        <labels>
                    </labels>
                <created>Thu, 3 Aug 2017 13:53:29 +0000</created>
                <updated>Thu, 3 May 2018 15:10:39 +0000</updated>
                            <resolved>Mon, 28 Aug 2017 06:54:14 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="38225" author="trozet@redhat.com" created="Tue, 15 Aug 2017 19:45:58 +0000"  >&lt;p&gt;Also seen in TripleO CI. See tripleo_ci attachment.  We need to get logs for flow dumps and ODL which are missing right now in OOO CI.&lt;/p&gt;</comment>
                            <comment id="38234" author="trozet@redhat.com" created="Tue, 15 Aug 2017 19:47:52 +0000"  >&lt;p&gt;Attachment overcloud_validate.log.txt.gz has been added with description: tripleo_ci_log&lt;/p&gt;</comment>
                            <comment id="38226" author="sgaddam@redhat.com" created="Fri, 18 Aug 2017 17:11:15 +0000"  >&lt;p&gt;In a fresh multinode deployment with Controller node running&lt;br/&gt;
ODL + dhcp-agent and a Compute node, when we spawn a first VM&lt;br/&gt;
on the compute node, it was seen that VM does not acquire the&lt;br/&gt;
IPAddress. On debugging, it turns out that the remote broadcast&lt;br/&gt;
group entries were not programmed on the Compute node. &lt;/p&gt;

&lt;p&gt;Setup details:&lt;br/&gt;
1. Multi-node with Controller and a Compute node.&lt;br/&gt;
2. Create a tenant neutron network with an IPv4 subnet.&lt;br/&gt;
3. Create a neutron router.&lt;br/&gt;
4. Associate the ipv4 subnet to the neutron router.&lt;/p&gt;

&lt;p&gt;At this stage, you can see that there is no tunnel between&lt;br/&gt;
Controller node and Compute node.&lt;/p&gt;

&lt;p&gt;5. Now spawn a VM on the Compute node (you can explicitly&lt;br/&gt;
   specify that VM has to be spawned on the compute node&lt;br/&gt;
   by passing --availability-zone to nova boot command).&lt;/p&gt;

&lt;p&gt;When the VM is spawned, following would be the sequence&lt;br/&gt;
of events.&lt;/p&gt;

&lt;p&gt;t1: Nova creates a tap interface for the VM, this translates&lt;br/&gt;
    to an add event for elanInterface (i.e., ElanInterfaceStateChangeListener&lt;br/&gt;
    is invoked, and addElanInterface gets processed)&lt;br/&gt;
t2: In addElanInterface, elanManager checks if the interface&lt;br/&gt;
    is part of existingElanDpnInterfaces (i.e., DpnInterfaces YANG model)&lt;br/&gt;
t3: Since its a new interface, it invokes createElanInterfacesList()&lt;br/&gt;
    which would update the DpnInterfaces model. At this stage, the&lt;br/&gt;
    transaction/information is still not comitted to the datastore.&lt;br/&gt;
t4: The processing continues to installEntriesForFirstInterfaceonDpn(),&lt;br/&gt;
    where we try to program the local/remote BC Group entries. &lt;br/&gt;
    In this API, we have an explicit sleep for (300 + 300) ms and when we&lt;br/&gt;
    try to query the getEgressActionsForInterface (which is an API in GENIUS).&lt;br/&gt;
    GENIUS returns an empty list with the following reason - &quot;Interface&lt;br/&gt;
    information not present in oper DS for the tunnel interface&quot;.&lt;br/&gt;
t5: So the remote BC Group does not include the actions to send the&lt;br/&gt;
    packets over the tunnel interface at this stage.&lt;br/&gt;
t6: addElanInterface processing continues further and we commit the&lt;br/&gt;
    transaction (i.e., DpnInterfaces model is now updated in the datastore).&lt;/p&gt;

&lt;p&gt;While t1 to t6 is going on, in parallel, auto-tunnel code in GENIUS&lt;br/&gt;
creates the tunnel interfaces.&lt;/p&gt;

&lt;p&gt;A1: A tunnel interface is created on the Compute node. When the tunnel interface&lt;br/&gt;
    state is up, TunnelsState YANG model is updated in GENIUS (ItmTunnelStateUpdateHelper).&lt;br/&gt;
A2: A notification is received in ElanTunnelInterfaceStateListener, which&lt;br/&gt;
    is handled in the following api - handleInternalTunnelStateEvent.&lt;br/&gt;
A3: In this API, when we query the ElanDpnInterfaces it only includes&lt;br/&gt;
    the DPNInfo of the Controller and not the Compute node (because of&lt;br/&gt;
    the delay in updating the model step t3-t6 above) &lt;br/&gt;
A4: Due to this, in handleInternalTunnelStateEvent, we do not invoke&lt;br/&gt;
    setupElanBroadcastGroups() to program the Remote Group entries&lt;br/&gt;
    on the Compute node and the remote Broadcast Group entries on&lt;br/&gt;
    the Compute node never get updated.&lt;/p&gt;

&lt;p&gt;So, the fix is, not to delay the updation of model (i.e., DpnInterfaces&lt;br/&gt;
until step t6) since this information is used while processing&lt;br/&gt;
ElanTunnelInterfaceState.&lt;/p&gt;</comment>
                            <comment id="38227" author="sgaddam@redhat.com" created="Fri, 18 Aug 2017 17:11:51 +0000"  >&lt;p&gt;The following patch would address this issue:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61995/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61995/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38228" author="shague@redhat.com" created="Sat, 19 Aug 2017 19:00:48 +0000"  >&lt;p&gt;nitrogen and master are merged. Waiting for carbon.&lt;/p&gt;</comment>
                            <comment id="38229" author="shague@redhat.com" created="Sat, 19 Aug 2017 19:01:47 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62015/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62015/1&lt;/a&gt;&lt;br/&gt;
nitrogen: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62014/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62014/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38230" author="anipbu" created="Wed, 23 Aug 2017 17:16:10 +0000"  >&lt;p&gt;A patch was submitted to revert the changes and fix this bug in Carbon SR2:&lt;/p&gt;

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

&lt;p&gt;To better assess the impact of this bug and fix, could someone from your team please help us identify the following:&lt;br/&gt;
Regression: Is this bug a regression of functionality/performance/feature compared to Carbon?&lt;br/&gt;
Severity: Could you elaborate on the severity of this bug?  Is this a BLOCKER such that we cannot release Carbon SR2 without it?&lt;br/&gt;
Workaround: Is there a workaround such that we can write a release note instead?&lt;br/&gt;
Testing: Could you also elaborate on the testing of this patch?  How extensively has this patch been tested?  Is it covered by any unit tests or system tests?  &lt;br/&gt;
Impact: Does this fix impact any dependent projects?&lt;/p&gt;</comment>
                            <comment id="38231" author="sgaddam@redhat.com" created="Thu, 24 Aug 2017 09:39:27 +0000"  >&lt;p&gt;(In reply to A H from comment #7)&lt;br/&gt;
&amp;gt; A patch was submitted to revert the changes and fix this bug in Carbon SR2:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61995/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61995/&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; To better assess the impact of this bug and fix, could someone from your&lt;br/&gt;
&amp;gt; team please help us identify the following:&lt;br/&gt;
&amp;gt; Regression: Is this bug a regression of functionality/performance/feature&lt;br/&gt;
&amp;gt; compared to Carbon?&lt;br/&gt;
Yes, AFAIK its a regression.&lt;/p&gt;

&lt;p&gt;&amp;gt; Severity: Could you elaborate on the severity of this bug?  Is this a&lt;br/&gt;
&amp;gt; BLOCKER such that we cannot release Carbon SR2 without it?&lt;br/&gt;
Yes, its a blocker bug for a Multi-node setup. &lt;/p&gt;

&lt;p&gt;&amp;gt; Workaround: Is there a workaround such that we can write a release note&lt;br/&gt;
&amp;gt; instead?&lt;br/&gt;
One work-around is to create manual tunnels and not rely on the auto-tunnel code, but this is not an acceptable solution to many users.&lt;/p&gt;

&lt;p&gt;&amp;gt; Testing: Could you also elaborate on the testing of this patch?  How&lt;br/&gt;
&amp;gt; extensively has this patch been tested?  Is it covered by any unit tests or&lt;br/&gt;
&amp;gt; system tests?  &lt;br/&gt;
The issue is seen in TripleO CI and also in our downstream multi-node setup. &lt;/p&gt;

&lt;p&gt;&amp;gt; Impact: Does this fix impact any dependent projects?&lt;br/&gt;
No&lt;/p&gt;</comment>
                            <comment id="38232" author="trozet@redhat.com" created="Thu, 24 Aug 2017 21:37:07 +0000"  >&lt;p&gt;OPNFV Functest is now passing with the fix:&lt;br/&gt;
&lt;a href=&quot;https://build.opnfv.org/ci/job/apex-verify-master/756/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.opnfv.org/ci/job/apex-verify-master/756/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="38233" author="sgaddam@redhat.com" created="Mon, 28 Aug 2017 06:54:14 +0000"  >&lt;p&gt;(In reply to Timothy Rozet from comment #9)&lt;br/&gt;
&amp;gt; OPNFV Functest is now passing with the fix:&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://build.opnfv.org/ci/job/apex-verify-master/756/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://build.opnfv.org/ci/job/apex-verify-master/756/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks @Tim for confirming that fix is working.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12561" name="overcloud_validate.log.txt.gz" size="598885" author="trozet" created="Tue, 15 Aug 2017 19:47:52 +0000"/>
                    </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>8926</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=8926]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10337"><![CDATA[Carbon-SR2]]></customfieldvalue>

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

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