Merge "Only log during pop retry phase"
This commit is contained in:
commit
1981f71190
|
@ -34,8 +34,6 @@ class RetryFilter(filters.BaseHostFilter):
|
|||
"""Skip nodes that have already been attempted."""
|
||||
retry = spec_obj.retry
|
||||
if not retry:
|
||||
# Re-scheduling is disabled
|
||||
LOG.debug("Re-scheduling is disabled")
|
||||
return True
|
||||
|
||||
# TODO(sbauza): Once the HostState is actually a ComputeNode, we could
|
||||
|
|
|
@ -518,6 +518,7 @@ def populate_retry(filter_properties, instance_uuid):
|
|||
if (max_attempts == 1 or len(force_hosts) == 1
|
||||
or len(force_nodes) == 1):
|
||||
# re-scheduling is disabled.
|
||||
LOG.debug('Re-scheduling is disabled.')
|
||||
return
|
||||
|
||||
# retry is enabled, update attempt count:
|
||||
|
|
Loading…
Reference in New Issue