downgrade 'No network configured!' to debug log level
Based on the details in bug 1191044, a user can cause the warning 'No network configured!' if they boot an instance in a tenant that has no neutron networks set up. Tempest doesn't create a network for every test that creates a nova instance. The lack of a network is not a sign of something wrong with nova so a warning log is too much. Move to debug instead. This should help reduce the amount of warnings that occur on every tempest run. Also drop the exclamation mark. Change-Id: I6bc4e46aa5a72645c72f7232627c7aa9efd2591d Related-Bug: #1191044
This commit is contained in:
parent
284858140b
commit
4c49db4c9c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue