Merge "inventory.py: all_get_neutron_data to handle 404" into stable/wallaby

This commit is contained in:
Zuul 2021-10-12 01:13:12 +00:00 committed by Gerrit Code Review
commit e5a1ab1760
1 changed files with 1 additions and 0 deletions

View File

@ -520,6 +520,7 @@ class TripleoInventory(object):
"generation.")
return None
except (openstack.connection.exceptions.EndpointNotFound,
openstack.exceptions.ResourceNotFound,
keystoneauth1.exceptions.catalog.EndpointNotFound):
LOG.warning("Neutron service not installed. Disabling use of "
"neutron as a source for inventory generation.")