Skip to content

Commit f8da253

Browse files
committed
Remove redundant logs on VM creation
Since f9b5365 the VM ctor takes care of reporting this info.
1 parent cf4acb3 commit f8da253

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/host.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ def import_vm(self, uri, sr_uuid=None, use_cache=False):
227227
params['sr-uuid'] = sr_uuid
228228
logging.info(msg)
229229
vm_uuid = self.xe('vm-import', params)
230-
logging.info("VM UUID: %s" % vm_uuid)
231230
vm_name = prefix_object_name(self.xe('vm-param-get', {'uuid': vm_uuid, 'param-name': 'name-label'}))
232231
vm = VM(vm_uuid, self)
233232
vm.param_set('name-label', vm_name)

lib/vm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,6 @@ def clone(self):
481481
name = self.name() + '_clone_for_tests'
482482
logging.info("Clone VM")
483483
uuid = self.host.xe('vm-clone', {'uuid': self.uuid, 'new-name-label': name})
484-
logging.info("New VM: %s (%s)" % (uuid, name))
485484
return VM(uuid, self.host)
486485

487486
def install_uefi_certs(self, auths):

0 commit comments

Comments
 (0)