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

transcriber for NeutronSecurityGroupInterface.toMd(NeutronSecurityGroupInterface.java:38) is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 3165

      POST /controller/nb/v2/neutron/security-groups HTTP/1.1
      Host: 192.168.50.17:8087
      Content-Length: 2000
      Accept-Encoding: gzip, deflate
      Accept: /
      User-Agent: python-requests/2.3.0 CPython/2.7.5 Linux/3.10.0-123.el7.x86_64
      Content-Type: application/json
      Authorization: Basic YWRtaW46YWRtaW4=

      {
      "security_group": {
      "tenant_id": "b42251abf32047848d328d644aeade0e",
      "description": "Default security group",
      "id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2",
      "security_group_rules": [

      { "remote_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "ethertype": "IPv4", "tenant_id": "b42251abf32047848d328d644aeade0e", "port_range_max": null, "port_range_min": null, "id": "e03776f5-010a-4102-b9ae-ca54c9e62343", "security_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2" }

      ,

      { "remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "ethertype": "IPv4", "tenant_id": "b42251abf32047848d328d644aeade0e", "port_range_max": null, "port_range_min": null, "id": "50db8387-edd4-4702-b8d9-0569698c6867", "security_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2" }

      ,

      { "remote_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "ethertype": "IPv6", "tenant_id": "b42251abf32047848d328d644aeade0e", "port_range_max": null, "port_range_min": null, "id": "ad68af30-6c6e-49a5-baae-2c3454af99c0", "security_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2" }

      ,

      { "remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "ethertype": "IPv6", "tenant_id": "b42251abf32047848d328d644aeade0e", "port_range_max": null, "port_range_min": null, "id": "63e12d55-c8c4-44f3-a708-202249e4b93e", "security_group_id": "aeeace5d-62ad-4eec-9b00-38b1efaeebc2" }

      ],
      "name": "default"
      }
      }HTTP/1.1 500 Server Error
      Content-Type: text/html;charset=ISO-8859-1
      Cache-Control: must-revalidate,no-cache,no-store
      Content-Length: 6449
      Server: Jetty(8.1.15.v20140411)

      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
      <title>Error 500 Server Error</title>
      </head>
      <body><h2>HTTP ERROR 500</h2>
      <p>Problem accessing /controller/nb/v2/neutron/security-groups. Reason:
      <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.IllegalArgumentException: No enum constant org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev141002.SecurityRuleAttrs.Direction.ingress
      at java.lang.Enum.valueOf(Enum.java:236)
      at org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.secgroups.rev141002.SecurityRuleAttrs$Direction.valueOf(SecurityRuleAttrs.java:64)
      at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.toMd(NeutronSecurityGroupInterface.java:158)
      at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.toMd(NeutronSecurityGroupInterface.java:38)
      at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.addMd(AbstractNeutronInterface.java:44)
      at org.opendaylight.neutron.transcriber.NeutronSecurityGroupInterface.addNeutronSecurityGroup(NeutronSecurityGroupInterface.java:107)
      at org.opendaylight.neutron.northbound.api.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:199)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:370)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      at java.lang.Thread.run(Thread.java:745)
      </pre>
      <hr /><i><small>Powered by Jetty://</small></i><br/>
      <br/>
      <br/>

            jaiswal.rajesh@tcs.com Rajesh Jaiswal
            flavio@flaviof.com Flavio Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: