← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532033] [NEW] test_create_floatingip_with_specified_ip_address is racey

 

Public bug reported:

test_create_floatingip_with_specified_ip_address gets an unused IP
address and then tries to use it for an operation. The issue is that it
gets it from an external network that other tests may be allocating
ports from. So it can grab an IP and then another test can allocate a
port that gets that IP before it tries it floating IP creation. In this
case the floating IP creation will fail:

Details: {u'message': u'Unable to complete operation for network
477f7fb6-aea4-470c-82ca-c05936264e2e. The IP address 172.24.5.8 is in
use.', u'detail': u'', u'type': u'IpAddressInUse'}

** Affects: neutron
     Importance: High
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
   Importance: Undecided => High

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  test_create_floatingip_with_specified_ip_address is racey

Status in neutron:
  New

Bug description:
  test_create_floatingip_with_specified_ip_address gets an unused IP
  address and then tries to use it for an operation. The issue is that
  it gets it from an external network that other tests may be allocating
  ports from. So it can grab an IP and then another test can allocate a
  port that gets that IP before it tries it floating IP creation. In
  this case the floating IP creation will fail:

  Details: {u'message': u'Unable to complete operation for network
  477f7fb6-aea4-470c-82ca-c05936264e2e. The IP address 172.24.5.8 is in
  use.', u'detail': u'', u'type': u'IpAddressInUse'}

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


Follow ups