<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:54 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>[VTN-61] VTN Manager&apos;s REST API does not work with odl-integration-compatible-with-all</title>
                <link>https://jira.opendaylight.org/browse/VTN-61</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;I observed that the REST API of VTN Manager did not work at all when I installed the feature &quot;odl-vtn-manager-all&quot; with the feature &quot;odl-integration-compatible-with-all&quot;.&lt;/p&gt;

&lt;p&gt;I observed this issue on the Karaf distribution for integration tests which I built from the source code of the integration.git on 03/13 2015 (PDT).&lt;/p&gt;


&lt;p&gt;How to reproduce the issue&lt;br/&gt;
==========================&lt;/p&gt;

&lt;p&gt; 1. Build a Karaf distribution for integration tests.&lt;/p&gt;

&lt;p&gt;   $ cd &lt;/p&gt;
{integration.git}
&lt;p&gt;   $ cd distributions/test&lt;br/&gt;
   $ mvn clean install  -DskipTests&lt;/p&gt;


&lt;p&gt; 2. Run the Karaf.&lt;/p&gt;

&lt;p&gt;   $ cd target/assembly&lt;br/&gt;
   $ ./bin/karaf&lt;/p&gt;


&lt;p&gt; 3. Install features on the Karaf console.&lt;/p&gt;

&lt;p&gt;   opendaylight-user@root&amp;gt; feature:install odl-integration-compatible-with-all odl-openflowplugin-flow-services-ui odl-openflowplugin-adsal-compatibility odl-vtn-manager-all&lt;/p&gt;


&lt;p&gt; 4. Wait until VTN Manager bundles become &quot;Active&quot;.&lt;/p&gt;

&lt;p&gt;   You can check the state of VTN Manager bundles by executing the following command.&lt;/p&gt;

&lt;p&gt;     bundle:list | grep vtn&lt;/p&gt;


&lt;p&gt; 5. Call the REST API of VTN Manager.&lt;/p&gt;

&lt;p&gt;   $ curl -v --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H \&lt;br/&gt;
    &quot;Content-type: application/json&quot; -X GET \&lt;br/&gt;
    &lt;a href=&quot;http://localhost:8282/controller/nb/v2/vtn/default/vtns&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8282/controller/nb/v2/vtn/default/vtns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;   The response message from the controller should contain the empty VTN list, and the response code should be 200.&lt;/p&gt;

&lt;p&gt;   However, the response code was 503 (Service Unavailable), and response message was &quot;VTN Manager: Service is not available. Could be down for maintanence&quot;.&lt;/p&gt;


&lt;p&gt;Error log message&lt;br/&gt;
=================&lt;/p&gt;

&lt;p&gt;When I called the REST API, the controller output the following ERROR message into the karaf.log.&lt;/p&gt;

&lt;p&gt;2015-03-13 20:07:53,582 | ERROR | -bio-8282-exec-1 | ContainerResponse                | 108 - com.sun.jersey.jersey-server - 1.17.0 | Mapped exception to response: 503 (Service Unavailable)&lt;br/&gt;
org.opendaylight.controller.northbound.commons.exception.ServiceUnavailableException&lt;br/&gt;
    at org.opendaylight.vtn.manager.northbound.VTNNorthBoundBase.serviceUnavailable(VTNNorthBoundBase.java:133)&lt;span class=&quot;error&quot;&gt;&amp;#91;491:org.opendaylight.vtn.manager.northbound:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.vtn.manager.northbound.VTNNorthBoundBase.getVTNManager(VTNNorthBoundBase.java:180)&lt;span class=&quot;error&quot;&gt;&amp;#91;491:org.opendaylight.vtn.manager.northbound:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.vtn.manager.northbound.VTenantNorthbound.getTenants(VTenantNorthbound.java:89)&lt;span class=&quot;error&quot;&gt;&amp;#91;491:org.opendaylight.vtn.manager.northbound:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;For your investigation, I attached the karaf.log on the issue into this bug report.&lt;/p&gt;


&lt;p&gt;Complementary Information&lt;br/&gt;
=========================&lt;/p&gt;

&lt;p&gt;When I just installed the feature odl-vtn-manager-all, the REST API of VTN Manager worked fine.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26441">VTN-61</key>
            <summary>VTN Manager&apos;s REST API does not work with odl-integration-compatible-with-all</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="-1">Unassigned</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Sat, 14 Mar 2015 00:37:59 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:17 +0000</updated>
                            <resolved>Tue, 30 Jun 2015 00:27:46 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="52915" author="hideyuki.tai@necam.com" created="Sat, 14 Mar 2015 00:37:59 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: The karaf.log on the issue.&lt;/p&gt;</comment>
                            <comment id="52913" author="hideyuki.tai@necam.com" created="Sat, 28 Mar 2015 01:17:40 +0000"  >&lt;p&gt;It seems to me that this problem (&lt;a href=&quot;https://jira.opendaylight.org/browse/VTN-61&quot; title=&quot;VTN Manager&amp;#39;s REST API does not work with odl-integration-compatible-with-all&quot; class=&quot;issue-link&quot; data-issue-key=&quot;VTN-61&quot;&gt;&lt;del&gt;VTN-61&lt;/del&gt;&lt;/a&gt;) occurred in the CSIT.&lt;/p&gt;

&lt;p&gt;For example, we observed that all REST APIs of the VTN Manager returned &quot;503&quot; on the build #111 of the vtn-csit-1node-imds-manager-all-master job.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-imds-manager-all-master/111/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-imds-manager-all-master/111/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I saw the following WARN message in the karaf.log of the build #111.&lt;/p&gt;

&lt;p&gt;2015-03-26 09:09:02,235 | WARN  | pool-61-thread-2 | AbstractLifeCycle                | 179 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.14.v20131031 | FAILED HttpServiceContext{httpContext=WebAppHttpContext{org.opendaylight.vtn.manager.northbound - 509}}: java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@1cc27df8 in org.eclipse.jetty.security.ConstraintSecurityHandler@24dc3388&lt;br/&gt;
java.lang.IllegalStateException: No LoginService for org.eclipse.jetty.security.authentication.BasicAuthenticator@1cc27df8 in org.eclipse.jetty.security.ConstraintSecurityHandler@24dc3388&lt;br/&gt;
	at org.eclipse.jetty.security.authentication.LoginAuthenticator.setConfiguration(LoginAuthenticator.java:61)&lt;span class=&quot;error&quot;&gt;&amp;#91;179:org.eclipse.jetty.aggregate.jetty-all-server:8.1.14.v20131031&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="52914" author="hideyuki.tai@necam.com" created="Tue, 30 Jun 2015 00:27:46 +0000"  >&lt;p&gt;The following patches fix this issue.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22714/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22714/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22734/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22734/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13704" name="karaf.log" size="373744" author="Hideyuki1985" created="Sat, 14 Mar 2015 00:37:59 +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>2844</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=2844]]></customfieldvalue>

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

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