Add logs when cannot fit numa
When 'host_topology' can not be satified with 'requested_topology', nova-compute returns the msg to nova-conductor but there is no logs in nova-compute.log. So this patch adds some info log. Closes-Bug: #1934412 Change-Id: Iff44abf002aac548340ffab0a6f85bc4906738a3
This commit is contained in:
@@ -112,6 +112,8 @@ class Claim(NopClaim):
|
||||
self._test_pci()]
|
||||
reasons = [r for r in reasons if r is not None]
|
||||
if len(reasons) > 0:
|
||||
LOG.info('Failed to claim: %s', '; '.join(reasons),
|
||||
instance=self.instance)
|
||||
raise exception.ComputeResourcesUnavailable(reason=
|
||||
"; ".join(reasons))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user