Do not fail when subnet is reserved
The reservation of subnets happening in cls method when two tests
run concurrently races may happen. Do not fail when subnet is reserverd
if we wanted to reserve it as it is okay and what we wanted.
Related-Prod: PRODX-36778
Change-Id: I0f35f0783430565f1886b710e33f991559fc7761
diff --git a/neutron_tempest_plugin/api/base.py b/neutron_tempest_plugin/api/base.py
index 028e6b8..09e105d 100644
--- a/neutron_tempest_plugin/api/base.py
+++ b/neutron_tempest_plugin/api/base.py
@@ -507,7 +507,7 @@
"""
if not cls.try_reserve_subnet_cidr(addr, **ipnetwork_kwargs):
- raise ValueError('Subnet CIDR already reserved: {0!r}'.format(
+ LOG.info('Subnet CIDR already reserved: {0!r}'.format(
addr))
@classmethod