Remove retry from tier1 creation

The NSX issue has been fixed

Change-Id: Ib91b9060e34ff560aee17669ae09ffe3d2b52b81
This commit is contained in:
Adit Sarfaty 2019-01-21 09:43:50 +02:00
parent 0437b31974
commit 04ede2a3e0

View File

@ -708,14 +708,7 @@ class NsxPolicyTier1Api(NsxPolicyResourceBase):
route_advertisement=route_advertisement,
tenant=tenant)
# Note(asarfaty): Although this is a patch request, it sometimes fail
# with StaleRevision on communication maps conflicts
@utils.retry_upon_exception(
exceptions.StaleRevision,
max_attempts=self.policy_api.client.max_attempts)
def _create():
self._create_or_store(tier1_def)
_create()
return tier1_id
def delete(self, tier1_id, tenant=constants.POLICY_INFRA_TENANT):