← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1403937] [NEW] Neutron can NOT handle the single bulk ports creation request which includes some ports with fixed IP and some without fixed IP

 

Public bug reported:

This was tested on both Icehouse and Juno:

When you send multi-ports creation request against neutron, and the
request includes ports with fixed ip and ports without fixed, neutron
could not handle it properly.

For example, if request body is:

{
    "ports": [
        {
            "name": "s_port_1",
            "admin_state_up": false,
            "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db",
			"fixed_ips": [
                {
                    "subnet_id": "d657942d-1f92-4067-bdb4-c8ea4a5ea86e",
                    "ip_address": "13.0.0.17"
                }
            ]
        },
		
        {
            "name": "s_port_2",
            "admin_state_up": false,
            "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db"
        },
		
		{
            "name": "s_port_3",
            "admin_state_up": false,
            "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db",
			"fixed_ips": [
                {
                    "subnet_id": "d657942d-1f92-4067-bdb4-c8ea4a5ea86e",
                    "ip_address": "13.0.0.18"
                }
            ]
        }
				
			
    ]
}

You got following error in response:
    {
       "NeutronError":
       {
           "message": "Unable to complete operation for network 3efe26de-741f-4d62-8fc0-0f8b1cce07db. The IP address 13.0.0.18 is in use.",
           "type": "IpAddressInUse",
           "detail": ""
       }
    }

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1403937

Title:
  Neutron can NOT handle the single bulk ports creation request which
  includes some ports with fixed IP and some without fixed IP

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  This was tested on both Icehouse and Juno:

  When you send multi-ports creation request against neutron, and the
  request includes ports with fixed ip and ports without fixed, neutron
  could not handle it properly.

  For example, if request body is:

  {
      "ports": [
          {
              "name": "s_port_1",
              "admin_state_up": false,
              "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db",
  			"fixed_ips": [
                  {
                      "subnet_id": "d657942d-1f92-4067-bdb4-c8ea4a5ea86e",
                      "ip_address": "13.0.0.17"
                  }
              ]
          },
  		
          {
              "name": "s_port_2",
              "admin_state_up": false,
              "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db"
          },
  		
  		{
              "name": "s_port_3",
              "admin_state_up": false,
              "network_id": "3efe26de-741f-4d62-8fc0-0f8b1cce07db",
  			"fixed_ips": [
                  {
                      "subnet_id": "d657942d-1f92-4067-bdb4-c8ea4a5ea86e",
                      "ip_address": "13.0.0.18"
                  }
              ]
          }
  				
  			
      ]
  }

  You got following error in response:
      {
         "NeutronError":
         {
             "message": "Unable to complete operation for network 3efe26de-741f-4d62-8fc0-0f8b1cce07db. The IP address 13.0.0.18 is in use.",
             "type": "IpAddressInUse",
             "detail": ""
         }
      }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1403937/+subscriptions


Follow ups

References