Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-50

OpenStack support doesn't work.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • unspecified
    • None
    • VTN Manager
    • None
    • Operating System: All
      Platform: All

    • 2439

    Description

      I observed that OpenStack support didn't work correctly when I installed VTN features after other features.

      feature:install odl-adsal-compatibility-all odl-openflowplugin-all odl-vtn-manager-all

      Specifically, I observed that REST API of Neutron interface didn't work at all.
      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.

      Workaround
      ==========

      It seems to me that if we install VTN features firstly, we don't face the issue.

      feature:install odl-vtn-manager-all odl-openflowplugin-all odl-adsal-compatibility-all

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

      1. Run Karaf.

      $ bin/karaf

      2. Install VTN features.

      feature:install odl-adsal-compatibility-all odl-openflowplugin-all odl-vtn-manager-all

      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" : [ ] }

      Error log message
      =================

      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

      Failure example
      ===============

      I observed the issue when I installed features as follows:

      [Failure 1]
      feature:install odl-adsal-compatibility-all odl-openflowplugin-all odl-vtn-manager-all

      [Failure 2]
      feature:install odl-adsal-all odl-adsal-northbound
      feature:install odl-adsal-compatibility-all odl-openflowplugin-all odl-vtn-manager-all

      Successful examples
      ===================

      I didn't observe the issue when I installed features as follows:

      [Success 1]
      feature:install odl-vtn-manager-all odl-openflowplugin-all odl-adsal-compatibility-all

      [Success 2]
      feature:install odl-vtn-manager-neutron
      feature:install odl-vtn-manager-all
      feature:install odl-openflowplugin-all
      feature:install odl-adsal-compatibility-all

      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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: