Merge "Fixing retry condition"
diff --git a/_modules/neutronv2/common.py b/_modules/neutronv2/common.py
index 6f3f56c..699c6d9 100644
--- a/_modules/neutronv2/common.py
+++ b/_modules/neutronv2/common.py
@@ -92,7 +92,7 @@
url, connect_retries=connect_retries,
**request_kwargs)
except Exception as e:
- if hasattr(e, 'http_status') and (e.http_status >= 500
+ if not hasattr(e, 'http_status') or (e.http_status >= 500
or e.http_status == 0):
msg = ("Got retriable exception when contacting "
"Neutron API. Sleeping for %ss. Attepmpts "