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

Null pointer on port creation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • master
    • None
    • transcriber
    • None
    • Operating System: All
      Platform: All

    • 6053

    Description

      The following Null Pointer Exception is thrown when creating a Neutron Port as specified below:

      <p>Problem accessing /controller/nb/v2/neutron/ports. Reason:
      <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
      at org.opendaylight.neutron.transcriber.NeutronPortInterface.toMd(NeutronPortInterface.java:288)
      at org.opendaylight.neutron.transcriber.NeutronPortInterface.toMd(NeutronPortInterface.java:55)
      at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.updateMd(AbstractNeutronInterface.java:119)
      at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.addMd(AbstractNeutronInterface.java:102)
      at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:283)
      at org.opendaylight.neutron.transcriber.AbstractNeutronInterface.add(AbstractNeutronInterface.java:293)

      "port": [
      {
      "binding:host_id": "overcloud-novacompute-1",
      "description": "",
      "allowed_address_pairs": [],
      "extra_dhcp_opts": [],
      "updated_at": "2016-06-10T17:15:19",
      "device_owner": "",
      "port_security_enabled": true,
      "binding:profile": {},
      "qos_policy_id": null,
      "fixed_ips": [

      { "subnet_id": "9eb9d4f7-1446-42e9-aa4d-f90b0c09919a", "ip_address": "10.100.1.48" }

      ],
      "id": "06bbd0b0-fda8-4c40-a793-99fcc0aaa746",
      "security_groups": [
      {
      "tenant_id": "0b18aae5ad924a01a594bd5148fc95df",
      "description": "Default security group",
      "id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af",
      "security_group_rules": [

      { "direction": "egress", "protocol": null, "description": "", "port_range_max": null, "id": "1c105dc5-36f6-4a3a-94fe-3ef666bf2356", "remote_group_id": null, "remote_ip_prefix": null, "security_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "tenant_id": "0b18aae5ad924a01a594bd5148fc95df", "port_range_min": null, "ethertype": "IPv4" }

      ,

      { "direction": "ingress", "protocol": null, "description": "", "port_range_max": null, "id": "31832742-5d34-49b9-bddb-dc4a56c98eb6”, "remote_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "remote_ip_prefix": null, "security_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "tenant_id": "0b18aae5ad924a01a594bd5148fc95df", "port_range_min": null, "ethertype": "IPv6" }

      ,

      { "direction": "egress", "protocol": null, "description": "", "port_range_max": null, "id": "d65814dd-d57f-4471-96b7-28003f792629", "remote_group_id": null, "remote_ip_prefix": null, "security_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "tenant_id": "0b18aae5ad924a01a594bd5148fc95df", "port_range_min": null, "ethertype": "IPv6" }

      ,

      { "direction": "ingress", "protocol": null, "description": "", "port_range_max": null, "id": "eec6078c-e9a1-409c-84e7-fa6d675c4fa4", "remote_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "remote_ip_prefix": null, "security_group_id": "9d3c207a-3d2a-488d-9be1-cf6387bc59af", "tenant_id": "0b18aae5ad924a01a594bd5148fc95df", "port_range_min": null, "ethertype": "IPv4" }

      ],
      "name": "default"
      }

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            wojdec Wojciech Dec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: