Merge "inventory.py: all_get_neutron_data to handle 404"

This commit is contained in:
Zuul 2021-08-09 22:04:52 +00:00 committed by Gerrit Code Review
commit 054aa4ae3b
1 changed files with 1 additions and 0 deletions

View File

@ -529,6 +529,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.")