Merge "Improve logging to debug invalid "extra_specs" entries"
This commit is contained in:
commit
687ea8dd30
@ -51,6 +51,8 @@ class CapabilitiesFilter(filters.BaseHostFilter):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
return False
|
return False
|
||||||
if cap is None:
|
if cap is None:
|
||||||
|
LOG.debug("Host doesn't provide capability '%(cap)s' " %
|
||||||
|
{'cap': scope[index]})
|
||||||
return False
|
return False
|
||||||
if not extra_specs_ops.match(cap, req):
|
if not extra_specs_ops.match(cap, req):
|
||||||
LOG.debug("extra_spec requirement '%(req)s' "
|
LOG.debug("extra_spec requirement '%(req)s' "
|
||||||
|
Loading…
Reference in New Issue
Block a user