Skip to content

Commit 0babb95

Browse files
committed
host.import_vm: report when VM not found in cache
1 parent 9d4c415 commit 0babb95

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
@@ -219,6 +219,7 @@ def import_vm(self, uri, sr_uuid=None, use_cache=False):
219219
if not vm.vdi_uuids() or vm.get_sr().uuid == sr_uuid:
220220
logging.info(f"Reusing cached VM {vm.uuid} for {uri}")
221221
return vm
222+
logging.info("Not found vm in cache with key %r", cache_key)
222223

223224
params = {}
224225
msg = "Import VM %s" % uri

0 commit comments

Comments
 (0)