9390dde943

The get_unused_ip function returns an address that isn't in use on the network at the time it's called. However, by the time the caller uses it, it may have been allocated to another concurrent test if the network is shared or external. The test_create_floatingip_with_specified_ip_address test creates a floating IP with an unused IP on the external network, which has lots of activity on it from other tests so it would occasionally have its address taken by another test. This patch just catches the in use error and tries again with a new IP. Change-Id: I5a2f78a6da1e400dea07949f35964abb767edbb2 Closes-Bug: #1532033
Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!
External Resources:
The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. Code is available on git.openstack.org at <http://git.openstack.org/cgit/openstack/neutron>.
The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:
- Neutron Administrator Guide
- Networking Guide
- Neutron API Reference:
-
http://docs.openstack.org/api/openstack-network/2.0/content/
- Current Neutron developer documentation is available at:
For help on usage and hacking of Neutron, please send mail to <mailto:openstack-dev@lists.openstack.org>.
For information on how to contribute to Neutron, please see the contents of the CONTRIBUTING.rst file.
Description
Languages
Python
99.7%
Shell
0.3%