<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:22 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>[NEUTRON-33] Validation in addRouterInterface is not factoring in cases when neutron port contains router ownership</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-33</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;When router adds interface in neutron, the neutron port used by it&lt;br/&gt;
will be created and will contain the deviceId and deviceOnwer information.&lt;/p&gt;

&lt;p&gt;The current validation is not factoring that in, and returning a 409 upon&lt;br/&gt;
router&apos;s add_interface call.&lt;/p&gt;

&lt;p&gt;This is a day 1 bug: it exists in Helium and Lithium.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.dropbox.com/s/jifdzgn3agtzmmp/Screenshot%202015-04-27%2017.11.59.png?dl=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.dropbox.com/s/jifdzgn3agtzmmp/Screenshot%202015-04-27%2017.11.59.png?dl=0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The fix is to make the following code idem-potent:&lt;/p&gt;

&lt;p&gt;File: NeutronRoutersNorthbound.java&lt;/p&gt;

&lt;p&gt; addRouterInterface&lt;/p&gt;

&lt;p&gt; if (targetPort.getDeviceID() != null || targetPort.getDeviceOwner() != null)&lt;br/&gt;
   throw new ResourceConflictException(&quot;Target Port already allocated&quot;);&lt;/p&gt;

&lt;p&gt;======&lt;/p&gt;

&lt;p&gt;&quot;http-bio-8080-exec-5@15418&quot; daemon prio=5 tid=0x2d0 nid=NA runnable&lt;br/&gt;
  java.lang.Thread.State: RUNNABLE&lt;br/&gt;
	  at org.opendaylight.controller.networkconfig.neutron.northbound.NeutronRoutersNorthbound.addRouterInterface(NeutronRoutersNorthbound.java:438)&lt;br/&gt;
	  at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1)&lt;br/&gt;
	  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
	  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
	  at java.lang.reflect.Method.invoke(Method.java:606)&lt;br/&gt;
	  at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;br/&gt;
	  at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;br/&gt;
	  at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;br/&gt;
	  at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;br/&gt;
	  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	  at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)&lt;br/&gt;
	  at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	  at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;br/&gt;
	  at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;br/&gt;
	  at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;br/&gt;
	  at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;br/&gt;
	  at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;br/&gt;
	  at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;br/&gt;
	  at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;br/&gt;
	  at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;br/&gt;
	  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&lt;br/&gt;
	  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)&lt;br/&gt;
	  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)&lt;br/&gt;
	  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)&lt;br/&gt;
	  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)&lt;br/&gt;
	  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)&lt;br/&gt;
	  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)&lt;br/&gt;
	  at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:312)&lt;br/&gt;
	  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)&lt;br/&gt;
	  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)&lt;br/&gt;
	  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)&lt;br/&gt;
	  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)&lt;br/&gt;
	  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;locked &amp;lt;0x40c4&amp;gt; (a org.apache.tomcat.util.net.SocketWrapper)&lt;br/&gt;
	  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;br/&gt;
	  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;br/&gt;
	  at java.lang.Thread.run(Thread.java:745)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26595">NEUTRON-33</key>
            <summary>Validation in addRouterInterface is not factoring in cases when neutron port contains router ownership</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="flavio@flaviof.com">Flavio Fernandes</assignee>
                                    <reporter username="flavio@flaviof.com">Flavio Fernandes</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Apr 2015 21:25:58 +0000</created>
                <updated>Tue, 9 Jun 2015 19:01:30 +0000</updated>
                            <resolved>Tue, 9 Jun 2015 19:01:30 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53315" author="flavio@flaviof.com" created="Mon, 27 Apr 2015 21:28:26 +0000"  >&lt;p&gt;Steps to reproduce See: &lt;a href=&quot;http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.flaviof.com/blog/work/how-to-odl-with-openstack-part2.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53316" author="flavio@flaviof.com" created="Mon, 27 Apr 2015 23:10:07 +0000"  >&lt;p&gt;Gerrits:&lt;/p&gt;

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

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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