Skip to content

Commit dffcdac

Browse files
committed
host.import_vm: report when VM not found in cache
1 parent 8801b08 commit dffcdac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/host.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def import_vm(self, uri, sr_uuid=None, use_cache=False):
215215
if not vm.vdi_uuids() or vm.get_sr().uuid == sr_uuid:
216216
logging.info(f"Reusing cached VM {vm.uuid} for {uri}")
217217
return vm
218+
logging.info("Not found vm in cache with key %r", cache_key)
218219

219220
params = {}
220221
msg = "Import VM %s" % uri

0 commit comments

Comments
 (0)