Uploaded image for project: 'neutron'
  1. neutron
  2. NEUTRON-14

Failed to use Neutron northbound interface.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 2441

    Description

      I failed to use Neutron northbound interface when I installed "odl-adsal-compatibility" before installed "odl-adsal-northbound".
      For example, GET requests for neutron/networks returned the response code 500 (Internal Server Error) and an error message, although it should return the response code 200 and network information.

      curl --user "admin":"admin" -H "Accept: application/json" -H \
      "Content-type: application/json" -X GET \
      http://localhost:8080/controller/nb/v2/neutron/networks

      I observed this issue on both Helium and Helium SU1.

      When I sent a GET request to Neutron interface, Helium output the following ERROR message into karaf.log.

      ERROR | -bio-8080-exec-1 | [/controller/nb/v2/neutron] | 309 - org.apache.juli.extras - 7.0.53.v201406060720 | StandardWrapper.Throwable
      java.lang.NoClassDefFoundError: org/eclipse/persistence/jaxb/rs/MOXyJsonProvider

      How to reproduce the issue
      ==========================

      1. Run Karaf.

      $ bin/karaf

      2. Install VTN features.

      feature:install odl-adsal-compatibility
      feature:install odl-adsal-northbound

      3. Send a GET request to Neutron interface.
      curl --user "admin":"admin" -H "Accept: application/json" -H \
      "Content-type: application/json" -X GET \
      http://localhost:8080/controller/nb/v2/neutron/networks

      The expected response message of the GET request is as follows:

      { "networks" : [ ] }

      The odd thing is that if I install just "odl-adsal-northbound", I successfully access the Neutron northbound interface.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              Hideyuki1985 Hideyuki Tai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: