Skip to content

Commit 97a566a

Browse files
committed
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
1 parent 1f6c351 commit 97a566a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nova/compute/claims.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def _claim_test(self, compute_node, limits=None):
112112
self._test_pci()]
113113
reasons = [r for r in reasons if r is not None]
114114
if len(reasons) > 0:
115+
LOG.info('Failed to claim: %s', '; '.join(reasons),
116+
instance=self.instance)
115117
raise exception.ComputeResourcesUnavailable(reason=
116118
"; ".join(reasons))
117119

0 commit comments

Comments
 (0)