Merge "Use INFO for logging no allocation candidates"

This commit is contained in:
Zuul 2018-09-30 20:50:02 +00:00 committed by Gerrit Code Review
commit 1792e2f5e9
1 changed files with 4 additions and 4 deletions

View File

@ -147,10 +147,10 @@ class SchedulerManager(manager.Manager):
(alloc_reqs, provider_summaries,
allocation_request_version) = res
if not alloc_reqs:
LOG.debug("Got no allocation candidates from the Placement "
"API. This could be due to insufficient resources "
"or a temporary occurrence as compute nodes start "
"up.")
LOG.info("Got no allocation candidates from the Placement "
"API. This could be due to insufficient resources "
"or a temporary occurrence as compute nodes start "
"up.")
raise exception.NoValidHost(reason="")
else:
# Build a dict of lists of allocation requests, keyed by