Merge "downgrade 'No network configured!' to debug log level"

This commit is contained in:
Jenkins
2014-12-12 02:33:38 +00:00
committed by Gerrit Code Review

View File

@@ -298,7 +298,7 @@ class API(base_api.NetworkAPI):
nets = self._get_available_networks(context, instance.project_id,
net_ids, neutron=neutron)
if not nets:
LOG.warning(_LW("No network configured!"), instance=instance)
LOG.debug("No network configured", instance=instance)
return network_model.NetworkInfo([])
# if this function is directly called without a requested_network param